aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_crtc.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-11-05 10:02:43 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-03 17:38:24 +0200
commit751d2e18b0859ec3edc1c61bfcc09affdbd9b323 (patch)
treec8fd4e6d1c89fff7b5c1817d1171abd5a86565e6 /drivers/gpu/drm/omapdrm/omap_crtc.c
parentdrm/omap: DSI: remove uses of omap_overlay_manager (diff)
downloadlinux-dev-751d2e18b0859ec3edc1c61bfcc09affdbd9b323.tar.xz
linux-dev-751d2e18b0859ec3edc1c61bfcc09affdbd9b323.zip
drm/omap: remove last uses of omap_overlay_manager
We have now removed all uses of 'struct omap_overlay_manager', so we can now remove the last places where it is set. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_crtc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c
index 3667ff1d8474..263f4b7a5789 100644
--- a/drivers/gpu/drm/omapdrm/omap_crtc.c
+++ b/drivers/gpu/drm/omapdrm/omap_crtc.c
@@ -102,8 +102,6 @@ static struct omap_dss_device *omap_crtc_output[8];
static int omap_crtc_dss_connect(enum omap_channel channel,
struct omap_dss_device *dst)
{
- struct omap_overlay_manager *mgr = omap_dss_get_overlay_manager(channel);
-
if (omap_crtc_output[channel])
return -EINVAL;
@@ -113,22 +111,14 @@ static int omap_crtc_dss_connect(enum omap_channel channel,
omap_crtc_output[channel] = dst;
dst->dispc_channel_connected = true;
- dst->manager = mgr;
- mgr->output = dst;
-
return 0;
}
static void omap_crtc_dss_disconnect(enum omap_channel channel,
struct omap_dss_device *dst)
{
- struct omap_overlay_manager *mgr = omap_dss_get_overlay_manager(channel);
-
omap_crtc_output[channel] = NULL;
dst->dispc_channel_connected = false;
-
- mgr->output->manager = NULL;
- mgr->output = NULL;
}
static void omap_crtc_dss_start_update(enum omap_channel channel)