summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/intel_ggtt.c
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@linux.intel.com>2021-06-01 09:46:40 +0200
committerMatthew Auld <matthew.auld@intel.com>2021-06-01 09:31:55 +0100
commit0f4308d524e2e7ba8670249424bbcb3a4ff185f0 (patch)
tree7adb14f581821261118c7b6b2884830f31c709a5 /drivers/gpu/drm/i915/gt/intel_ggtt.c
parent5b26d57fdb499c2363f3d895ef008e73ec02eb9b (diff)
drm/i915: Untangle the vma pages_mutex
Any sleeping dma_resv lock taken while the vma pages_mutex is held will cause a lockdep splat. Move the i915_gem_object_pin_pages() call out of the pages_mutex critical section. Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210601074654.3103-2-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_ggtt.c')
0 files changed, 0 insertions, 0 deletions