]> git.karo-electronics.de Git - mv-sheeva.git/commit
OMAP: DSS2: Clean up DISPC color mode validation checks
authorArchit Taneja <archit@ti.com>
Thu, 25 Nov 2010 12:28:10 +0000 (17:58 +0530)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Mon, 10 Jan 2011 09:09:54 +0000 (11:09 +0200)
commit8dad2ab6727f4dd9fdef06b890d736d7c6d1a725
tree59ddbe8f875cc91824447b36afade883fe9516a3
parentac1427e13b114f0c394fbc9bb7616f47d03bdba2
OMAP: DSS2: Clean up DISPC color mode validation checks

The supported set of color modes varies for different DISPC pipelines(plane)
and omap version. This makes the checks for validation of a color mode more
complicated as new omap versions are added.

A dss_feature function is created which tells if a color_mode is supported
for a plane on the current omap revision.

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