mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
Revert "drm/i915: Wait for active retire before i915_active_fini()"
This reverts commit 7a2280e8dc, obsoleted
by "drm/i915/vma: Fix UAF on destroy against retire race".
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240305143747.335367-8-janusz.krzysztofik@linux.intel.com
This commit is contained in:
parent
1f33dc0c11
commit
d666a4944e
|
|
@ -1776,8 +1776,6 @@ static void release_references(struct i915_vma *vma, struct intel_gt *gt,
|
|||
if (vm_ddestroy)
|
||||
i915_vm_resv_put(vma->vm);
|
||||
|
||||
/* Wait for async active retire */
|
||||
i915_active_wait(&vma->active);
|
||||
i915_active_fini(&vma->active);
|
||||
GEM_WARN_ON(vma->resource);
|
||||
i915_vma_free(vma);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user