aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorShuah Khan <[email protected]>2021-02-27 00:06:59 +0000
committerIngo Molnar <[email protected]>2021-03-06 11:51:10 +0000
commitf8cfa46608f8aa5ca5421ce281ab314129c15411 (patch)
tree703f0fc736b829b122a3cf548169bfee1963bdaa /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentlockdep: Add lockdep_assert_not_held() (diff)
downloadkernel-f8cfa46608f8aa5ca5421ce281ab314129c15411.tar.gz
kernel-f8cfa46608f8aa5ca5421ce281ab314129c15411.zip
lockdep: Add lockdep lock state defines
Adds defines for lock state returns from lock_is_held_type() based on Johannes Berg's suggestions as it make it easier to read and maintain the lock states. These are defines and a enum to avoid changes to lock_is_held_type() and lockdep_is_held() return types. Updates to lock_is_held_type() and __lock_is_held() to use the new defines. Signed-off-by: Shuah Khan <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/linux-wireless/[email protected]/
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions