drm/i915: Fix TLB-Invalidation seqno store
authorAlan Previn <alan.previn.teres.alexis@intel.com>
Mon, 14 Aug 2023 18:24:49 +0000 (11:24 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 15 Aug 2023 19:28:36 +0000 (12:28 -0700)
commit90b8ad13536e80b1b4d9ed1c9d527e64ee757c26
tree463c5885cfefab92a8fffb4468bb956db2ce4205
parent788568fad4015406fa84fc86cefbef7c470c7c1f
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: d6c531ab4820 ("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
drivers/gpu/drm/i915/i915_vma.c