|
@@ -230,7 +230,9 @@ static void tilcdc_crtc_destroy(struct drm_crtc *crtc)
|
|
struct tilcdc_crtc *tilcdc_crtc = to_tilcdc_crtc(crtc);
|
|
struct tilcdc_crtc *tilcdc_crtc = to_tilcdc_crtc(crtc);
|
|
struct tilcdc_drm_private *priv = crtc->dev->dev_private;
|
|
struct tilcdc_drm_private *priv = crtc->dev->dev_private;
|
|
|
|
|
|
|
|
+ drm_modeset_lock_crtc(crtc, NULL);
|
|
tilcdc_crtc_disable(crtc);
|
|
tilcdc_crtc_disable(crtc);
|
|
|
|
+ drm_modeset_unlock_crtc(crtc);
|
|
|
|
|
|
flush_workqueue(priv->wq);
|
|
flush_workqueue(priv->wq);
|
|
|
|
|