diff options
author | Chris Wilson <[email protected]> | 2020-01-30 14:39:31 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2020-01-30 20:27:41 +0000 |
commit | 280d14a69da2e71f43408537c008f2775d5e5360 (patch) | |
tree | c3ad42db34534c1dec5cef4365a915204266fe07 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | |
parent | 37b7617262bd012359a33deb887947ad7cc989f9 (diff) |
drm/i915/gem: Tighten checks and acquiring the mmap object
Make sure we hold the rcu lock as we acquire the rcu protected reference
of the object when looking it up from the associated mmap vma.
Closes: https://gitlab.freedesktop.org/drm/intel/issues/1083
Fixes: cc662126b413 ("drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Abdiel Janulgue <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c')
0 files changed, 0 insertions, 0 deletions