diff options
author | Jyri Sarha <jsarha@ti.com> | 2016-10-25 12:27:31 +0300 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2016-11-29 21:03:20 +0200 |
commit | 2d53a18098e5a03a30b1b1419ab4103357b69f0d (patch) | |
tree | 0f06ec73b1cdb5bf4f2e6bcde30fd59d0b1c403f /drivers/gpu/drm/tilcdc/tilcdc_drv.c | |
parent | 9e79e062dc9b3aed541d6e47ac178aff815ab0e8 (diff) | |
download | lwn-2d53a18098e5a03a30b1b1419ab4103357b69f0d.tar.gz lwn-2d53a18098e5a03a30b1b1419ab4103357b69f0d.zip |
drm/tilcdc: Fix race from forced shutdown of crtc in unload
Fix race from forced shutdown of crtc in unload by adding internal
locking and a boolean telling if device is going to be shutdown.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_drv.c')
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index 48757f1a1a59..3d2cea090d6f 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c @@ -197,7 +197,7 @@ static void tilcdc_fini(struct drm_device *dev) struct tilcdc_drm_private *priv = dev->dev_private; if (priv->crtc) - tilcdc_crtc_off(priv->crtc); + tilcdc_crtc_shutdown(priv->crtc); if (priv->is_registered) drm_dev_unregister(dev); |