]> asedeno.scripts.mit.edu Git - linux.git/commit
drm: Add drm_modeset_lock_assert_held()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 Jul 2019 12:53:07 +0000 (15:53 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Sep 2019 18:37:59 +0000 (21:37 +0300)
commit4fb419b216245297312aeafcadf8b4e852a6cfe4
tree3d5e0fde0c638fdc9e95372a9827cd223e882e96
parent0d352a3a8a1f26168d09f7073e61bb4b328e3bb9
drm: Add drm_modeset_lock_assert_held()

Add a small wrapper around lockdep_assert_held() to make
it a bit more conventinet to use with modeset locks.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190708125325.16576-2-ville.syrjala@linux.intel.com
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
include/drm/drm_modeset_lock.h