summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c229724)
raw | patch | inline | side by side (parent: c229724)
author | Gustavo Diaz Prado <a0273371@ti.com> | |
Sun, 8 Apr 2012 23:00:57 +0000 (18:00 -0500) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Fri, 12 Jul 2013 22:45:14 +0000 (17:45 -0500) |
When HWC generates blits a DSS pipe is configured and assigned
for the blit framebuffer, this patch adds a flag to give a
hint to omaplfb to use such pipe when it is present.
This helps in situations where there are not blits but blit
buffers to synchronize with and a blit buffer must be used.
In such case the rgz_items and num_ovls from dsscomp where not
enough data to recognize this scenario.
Change-Id: I2bcb13e6341189528f4ffd73c03badd431afbf15
Signed-off-by: Gustavo Diaz Prado <a0273371@ti.com>
Signed-off-by: Sundar Raman <sunds@ti.com>
for the blit framebuffer, this patch adds a flag to give a
hint to omaplfb to use such pipe when it is present.
This helps in situations where there are not blits but blit
buffers to synchronize with and a blit buffer must be used.
In such case the rgz_items and num_ovls from dsscomp where not
enough data to recognize this scenario.
Change-Id: I2bcb13e6341189528f4ffd73c03badd431afbf15
Signed-off-by: Gustavo Diaz Prado <a0273371@ti.com>
Signed-off-by: Sundar Raman <sunds@ti.com>
include/video/omap_hwc.h | patch | blob | history |
index cea2d73b8847432dd9bf04c0aa83d9209c8f1c65..8c932ce3c70d33a00876df8522628424f03cf692 100644 (file)
--- a/include/video/omap_hwc.h
+++ b/include/video/omap_hwc.h
#define HWC_BLT_DESC_FB_FN(ovlno) \
(HWC_BLT_DESC_FLAG | HWC_BLT_DESC_FB | (ovlno))
+/*
+ * This flag hints OMAPLFB the HWC has configured a DSS pipe for a blit FB
+ */
+#define HWC_BLT_FLAG_USE_FB (1 << 0)
/*****************************************************************************/
/* WARNING - These structs must keep in sync with user space code */
};
struct omap_hwc_blit_data {
+ __u16 rgz_flags;
/* if rgz_items is 0 there is nothing to blit */
__u16 rgz_items;
struct rgz_blt_entry rgz_blts[0];