]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit18c0d6217a4898b9cae1b999e0dd37f8239ba0ae
tree4570f702f9937ad113d06d3e8684e78c2e3c3018
parent22245f531a769164402f4e63f1f1e18de981aff3
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