]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DISPC: zorder support for DSS overlays
authorArchit Taneja <archit@ti.com>
Thu, 8 Sep 2011 05:59:17 +0000 (11:29 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Oct 2011 13:51:55 +0000 (16:51 +0300)
commitba9c5603a64a8d2a981e160653f5b89754cbccbf
treed0c7e5fee25d9458f105acc20b5f4accc2d82bcd
parentdfa3ffe380d7d62e3ac9f733bd76763b6a394399
OMAPDSS: DISPC: zorder support for DSS overlays

Add zorder support on OMAP4, this feature allows deciding the visibility order
of the overlays based on the zorder value provided as an overlay info parameter
or a sysfs attribute of the overlay object.

Use the overlay cap OMAP_DSS_OVL_CAP_ZORDER to determine whether zorder is
supported for the overlay or not. Use dss feature FEAT_ALPHA_FREE_ZORDER
if the caps are not available.

Ensure that all overlays that are enabled and connected to the same manager
have different zorders. Swapping zorders of 2 enabled overlays currently
requires disabling one of the overlays.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/overlay.c
include/video/omapdss.h