]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: change supported_modes to an array
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 May 2017 07:27:53 +0000 (10:27 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 07:57:23 +0000 (10:57 +0300)
commit980bcfc148f1ba3cfee495d01071218d8db626e3
tree4570f702f9937ad113d06d3e8684e78c2e3c3018
parentf69f8c9ca279d8e869291db825c3c77559454ff7
drm/omap: change supported_modes to an array

enum omap_color_mode is a bitmask, so at the moment we present the
supported color modes as mask. To be able to move to fourccs, we need to
use an array to present the supported color modes.

As a first step towards fourccs, this patch changes the code to use an
array to store the enums.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/dispc.c
drivers/gpu/drm/omapdrm/dss/dss_features.c
drivers/gpu/drm/omapdrm/dss/dss_features.h
drivers/gpu/drm/omapdrm/dss/omapdss.h
drivers/gpu/drm/omapdrm/omap_drv.h
drivers/gpu/drm/omapdrm/omap_fb.c