drm/omap: use u32 instead of enum omap_color_mode

In this step we drop 'enum omap_color_mode', and use u32 instead.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Tomi Valkeinen
2017-05-04 11:19:12 +03:00
parent 18c0d6217a
commit 9c39d17e06
6 changed files with 35 additions and 35 deletions

View File

@@ -282,7 +282,7 @@ struct omap_overlay_info {
u16 screen_width;
u16 width;
u16 height;
enum omap_color_mode color_mode;
u32 color_mode;
u8 rotation;
enum omap_dss_rotation_type rotation_type;
bool mirror;
@@ -330,7 +330,7 @@ struct omap_dss_writeback_info {
u16 buf_width;
u16 width;
u16 height;
enum omap_color_mode color_mode;
u32 color_mode;
u8 rotation;
enum omap_dss_rotation_type rotation_type;
bool mirror;
@@ -734,7 +734,7 @@ struct dispc_ops {
const struct videomode *vm, bool mem_to_mem,
enum omap_channel channel);
const enum omap_color_mode *(*ovl_get_color_modes)(enum omap_plane_id plane);
const u32 *(*ovl_get_color_modes)(enum omap_plane_id plane);
};
void dispc_set_ops(const struct dispc_ops *o);