Hi, On Thu, 2010-11-25 at 17:58 +0530, ext Archit Taneja wrote: > 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@xxxxxx> > --- > drivers/video/omap2/dss/dispc.c | 53 +++----------------------------- > drivers/video/omap2/dss/dss_features.c | 7 ++++ > drivers/video/omap2/dss/dss_features.h | 2 + > 3 files changed, 14 insertions(+), 48 deletions(-) Looks good to me, thanks! Tomi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html