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>
This commit is contained in:
@@ -734,7 +734,7 @@ struct dispc_ops {
|
||||
const struct videomode *vm, bool mem_to_mem,
|
||||
enum omap_channel channel);
|
||||
|
||||
enum omap_color_mode (*ovl_get_color_modes)(enum omap_plane_id plane);
|
||||
const enum omap_color_mode *(*ovl_get_color_modes)(enum omap_plane_id plane);
|
||||
};
|
||||
|
||||
void dispc_set_ops(const struct dispc_ops *o);
|
||||
|
Reference in New Issue
Block a user