drm/atomic: Make sure lock is held in trylock contexts.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 27 Aug 2015 11:58:09 +0000 (13:58 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Sep 2015 11:45:53 +0000 (13:45 +0200)
commit825926d8e0bfa6f933706236603bb74a8cea002c
treed885c31029ec745b61f791aa0ef48ed6e84c9b49
parent53edb2c62e1a884f53a74899cc7e9558fd89051a
drm/atomic: Make sure lock is held in trylock contexts.

This will make sure we get a lockdep spat in all cases
even if the context is a complete garbage pointer.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_modeset_lock.c