diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-11-04 20:36:26 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-03-03 18:38:22 +0300 |
commit | e5cbb6e8eaa6d4ae8b4acafd59e2e058105c8177 (patch) | |
tree | 36eca96f95a4f511effcc2e24500ed800b932333 /drivers/gpu/drm/omapdrm/dss/omapdss.h | |
parent | 179df15fc54118fc5c949138eeccc24c54f758a1 (diff) | |
download | linux-e5cbb6e8eaa6d4ae8b4acafd59e2e058105c8177.tar.xz |
drm/omap: convert dss_mgr_ops to use omap_channel
We are removing the use of 'struct omap_overlay_manager' from omapdrm.
This patch changes the function pointers in 'dss_mgr_ops' to get 'enum
omap_channel' parameter instead of 'struct omap_overlay_manager'.
The change is very straightforward, as we still use 'struct
omap_overlay_manager' inside the function implementations where needed.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/omapdss.h')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/omapdss.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h index 0a213489f133..640ba08735c5 100644 --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h @@ -61,21 +61,21 @@ int dispc_ovl_setup(enum omap_plane plane, const struct omap_overlay_info *oi, enum omap_dss_output_id dispc_mgr_get_supported_outputs(enum omap_channel channel); struct dss_mgr_ops { - int (*connect)(struct omap_overlay_manager *mgr, + int (*connect)(enum omap_channel channel, struct omap_dss_device *dst); - void (*disconnect)(struct omap_overlay_manager *mgr, + void (*disconnect)(enum omap_channel channel, struct omap_dss_device *dst); - void (*start_update)(struct omap_overlay_manager *mgr); - int (*enable)(struct omap_overlay_manager *mgr); - void (*disable)(struct omap_overlay_manager *mgr); - void (*set_timings)(struct omap_overlay_manager *mgr, + void (*start_update)(enum omap_channel channel); + int (*enable)(enum omap_channel channel); + void (*disable)(enum omap_channel channel); + void (*set_timings)(enum omap_channel channel, const struct omap_video_timings *timings); - void (*set_lcd_config)(struct omap_overlay_manager *mgr, + void (*set_lcd_config)(enum omap_channel channel, const struct dss_lcd_mgr_config *config); - int (*register_framedone_handler)(struct omap_overlay_manager *mgr, + int (*register_framedone_handler)(enum omap_channel channel, void (*handler)(void *), void *data); - void (*unregister_framedone_handler)(struct omap_overlay_manager *mgr, + void (*unregister_framedone_handler)(enum omap_channel channel, void (*handler)(void *), void *data); }; |