Skip to content

Commit f2ac640

Browse files
aalteresrodrigovivi
authored andcommitted
drm/i915: Fix TLB-Invalidation seqno store
When getting the next gt's seqno to be stored into an objects mm.tlb[gt_id] array, fix the retrieval code to get it from the correct gt instead of the same one. Fixes: d6c531a ("drm/i915: Invalidate the TLBs on each GT") Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230814182449.1060747-1-alan.previn.teres.alexis@intel.com (cherry picked from commit 90b8ad1) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
1 parent cacaeb2 commit f2ac640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/i915_vma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ void vma_invalidate_tlb(struct i915_address_space *vm, u32 *tlb)
13561356
*/
13571357
for_each_gt(gt, vm->i915, id)
13581358
WRITE_ONCE(tlb[id],
1359-
intel_gt_next_invalidate_tlb_full(vm->gt));
1359+
intel_gt_next_invalidate_tlb_full(gt));
13601360
}
13611361

13621362
static void __vma_put_pages(struct i915_vma *vma, unsigned int count)

0 commit comments

Comments
 (0)