drm/msm/gem: Add msm_gem_assert_locked()
authorRob Clark <robdclark@chromium.org>
Tue, 2 Aug 2022 15:51:47 +0000 (08:51 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 27 Aug 2022 16:32:45 +0000 (09:32 -0700)
commitd4d7d3630d703ff19923b82534bc18e345477c6f
tree985e2af44849f838ba2e8cc36428f387100ff741
parent025d27239a2f93b3eb415d4893266195a67d3fe5
drm/msm/gem: Add msm_gem_assert_locked()

All use of msm_gem_is_locked() is just for WARN_ON()s, so extract out
into an msm_gem_assert_locked() patch.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/496136/
Link: https://lore.kernel.org/r/20220802155152.1727594-15-robdclark@gmail.com
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_gem.h