summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2017-05-29 22:09:44 +0300
committerJyri Sarha <jsarha@ti.com>2017-10-05 11:47:16 +0300
commitba3fd954f0b4c2df1e0d7e243cb6735c6f4c5bdc (patch)
treeb8a9027a691058e6fc30f5454c923862dfeb278a /drivers/gpu/drm/tilcdc
parent125fcc19dad5a0ac9d3f2e4ceb7827951d31ccc7 (diff)
downloadop-kernel-dev-ba3fd954f0b4c2df1e0d7e243cb6735c6f4c5bdc.zip
op-kernel-dev-ba3fd954f0b4c2df1e0d7e243cb6735c6f4c5bdc.tar.gz
drm/tilcdc: Use tilcdc_crtc_shutdown() in tilcdc_crtc_destroy()
Use tilcdc_crtc_shutdown() instead of tilcdc_crtc_disable() in tilcdc_crtc_destroy() and remove the modeset locking. Signed-off-by: Jyri Sarha <jsarha@ti.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_crtc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
index 4bc5d84..704db24 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
@@ -606,9 +606,7 @@ static void tilcdc_crtc_destroy(struct drm_crtc *crtc)
struct tilcdc_crtc *tilcdc_crtc = to_tilcdc_crtc(crtc);
struct tilcdc_drm_private *priv = crtc->dev->dev_private;
- drm_modeset_lock(&crtc->mutex, NULL);
- tilcdc_crtc_disable(crtc);
- drm_modeset_unlock(&crtc->mutex);
+ tilcdc_crtc_shutdown(crtc);
flush_workqueue(priv->wq);
OpenPOWER on IntegriCloud