]> git.karo-electronics.de Git - linux-beck.git/commit
drm/tilcdc: WARN if CRTC is touched without CRTC lock
authorJyri Sarha <jsarha@ti.com>
Tue, 6 Sep 2016 14:25:08 +0000 (17:25 +0300)
committerJyri Sarha <jsarha@ti.com>
Wed, 7 Sep 2016 12:54:43 +0000 (15:54 +0300)
commit2e0965b06d90b9dba76198d026c4c2ee04443aca
treeccef377ba06e82d714cbc0add7933fb0caadb561
parent6c94c71400fbb630549611e17b430458c1c00cf8
drm/tilcdc: WARN if CRTC is touched without CRTC lock

WARN if CRTC is touched without CRTC lock. The crtc functions should
not be called simultaneously from multiple threads. Having the DRM
CRTC lock should take care of that.

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