diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2022-04-29 15:07:57 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2022-05-03 15:45:33 +0100 |
commit | 0de2cc0e2b5faff50d36552ba174d525ca1e8fb3 (patch) | |
tree | ed749d66539fae06f9d555bcb6c82fd4ad2f5430 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | |
parent | 10dcf783f7e986a36ec2d6d07d79360ddd4a2e4f (diff) |
drm/i915: Fix assert in i915_ggtt_pin
Use lockdep_assert_not_held to simplify and correct the code. Otherwise
false positive are hit if lock state is uknown like after a previous
taint.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220429140757.651406-1-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions