projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
125fcc1
)
drm/tilcdc: Use tilcdc_crtc_shutdown() in tilcdc_crtc_destroy()
author
Jyri Sarha
<jsarha@ti.com>
Mon, 29 May 2017 19:09:44 +0000
(22:09 +0300)
committer
Jyri Sarha
<jsarha@ti.com>
Thu, 5 Oct 2017 08:47:16 +0000
(11:47 +0300)
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>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
index 4bc5d848cdd18818210d5205aa4cbe868734f56c..704db2443b5eaf75e5e3bbb41f2d1418a3e49174 100644
(file)
--- 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);