diff options
author | Laurent Pinchart | 2018-03-06 22:37:25 +0100 |
---|---|---|
committer | Tomi Valkeinen | 2018-09-03 15:13:28 +0200 |
commit | 00b30e794ffc3bd8f4c6dc357fe7e881ae6e5373 (patch) | |
tree | 8c87b3ae781cfaac16701fed52f8e7113e50fc35 /drivers/gpu/drm/omapdrm/omap_crtc.h | |
parent | drm/omap: dss: Merge two disconnection helpers (diff) | |
download | kernel-qcow2-linux-00b30e794ffc3bd8f4c6dc357fe7e881ae6e5373.tar.gz kernel-qcow2-linux-00b30e794ffc3bd8f4c6dc357fe7e881ae6e5373.tar.xz kernel-qcow2-linux-00b30e794ffc3bd8f4c6dc357fe7e881ae6e5373.zip |
drm/omap: Pass pipe pointer to omap_crtc_init()
Replace the dss display device pointer by a pipe pointer that will allow
the omap_crtc_init() function to access both the display and the DSS
output. As a result we can remove the omapdss_device_get_dispc_channel()
function that is now unneeded.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.h')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.h b/drivers/gpu/drm/omapdrm/omap_crtc.h index 1c6530703855..d9de437ba9dd 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.h +++ b/drivers/gpu/drm/omapdrm/omap_crtc.h @@ -27,6 +27,7 @@ enum omap_channel; struct drm_crtc; struct drm_device; struct drm_plane; +struct omap_drm_pipeline; struct omap_dss_device; struct videomode; @@ -35,7 +36,8 @@ enum omap_channel omap_crtc_channel(struct drm_crtc *crtc); void omap_crtc_pre_init(struct omap_drm_private *priv); void omap_crtc_pre_uninit(struct omap_drm_private *priv); struct drm_crtc *omap_crtc_init(struct drm_device *dev, - struct drm_plane *plane, struct omap_dss_device *dssdev); + struct omap_drm_pipeline *pipe, + struct drm_plane *plane); int omap_crtc_wait_pending(struct drm_crtc *crtc); void omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus); void omap_crtc_vblank_irq(struct drm_crtc *crtc); |