summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-08-02 18:59:56 +0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2021-08-05 12:08:15 +0200
commitd19c81378829e5d774c951219c5a973965b9202c (patch)
treeb4288cd2d82416fb1dc82e55e1f138d2d5e275bb /include/drm
parent5a04227326b04c15b015181772f5c853172fdb68 (diff)
locking/lockdep: Provide lockdep_assert{,_once}() helpers
Extract lockdep_assert{,_once}() helpers to more easily write composite assertions like, for example: lockdep_assert(lockdep_is_held(&drm_device.master_mutex) || lockdep_is_held(&drm_file.master_lookup_lock)); Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com> Acked-by: Boqun Feng <boqun.feng@gmail.com> Acked-by: Waiman Long <longman@redhat.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210802105957.77692-2-desmondcheongzx@gmail.com
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions