]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tilcdc: Take crtc modeset lock while updating the crtc clock rate
authorJyri Sarha <jsarha@ti.com>
Mon, 5 Sep 2016 17:39:32 +0000 (20:39 +0300)
committerJyri Sarha <jsarha@ti.com>
Wed, 7 Sep 2016 12:54:40 +0000 (15:54 +0300)
commitbf2fa58ecb6805d0ca36598031b3a6c737721190
tree7783e40634979d49117e430435a089c0c00019b1
parenteb90eca51cfecabaf95e08bbf6be4f203f0325e8
drm/tilcdc: Take crtc modeset lock while updating the crtc clock rate

Take crtc modeset lock while updating the crtc clock rate. To avoid a
race in tilcdc_crtc_update_clk(), we do not want crtc mode to change
while we update crtc clock.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_drv.c