Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-10
-10
drivers/gpu/drm/omapdrm/omap_crtc.c
··· 102 102 static int omap_crtc_dss_connect(enum omap_channel channel, 103 103 struct omap_dss_device *dst) 104 104 { 105 - struct omap_overlay_manager *mgr = omap_dss_get_overlay_manager(channel); 106 - 107 105 if (omap_crtc_output[channel]) 108 106 return -EINVAL; 109 107 ··· 111 113 omap_crtc_output[channel] = dst; 112 114 dst->dispc_channel_connected = true; 113 115 114 - dst->manager = mgr; 115 - mgr->output = dst; 116 - 117 116 return 0; 118 117 } 119 118 120 119 static void omap_crtc_dss_disconnect(enum omap_channel channel, 121 120 struct omap_dss_device *dst) 122 121 { 123 - struct omap_overlay_manager *mgr = omap_dss_get_overlay_manager(channel); 124 - 125 122 omap_crtc_output[channel] = NULL; 126 123 dst->dispc_channel_connected = false; 127 - 128 - mgr->output->manager = NULL; 129 - mgr->output = NULL; 130 124 } 131 125 132 126 static void omap_crtc_dss_start_update(enum omap_channel channel)