drm/i915: Invalidate the TLBs on each GT
authorChris Wilson <chris.p.wilson@intel.com>
Mon, 2 Oct 2023 14:07:42 +0000 (07:07 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 4 Oct 2023 13:00:37 +0000 (09:00 -0400)
commit1fbb6c1d88c421bf9e7fc456aeabc5dc026062e0
tree001e0e8ec69c2320fb6317ebe31e53019f749563
parent6007265ad70a87aa9b4eea79b5e5828da452cfd8
drm/i915: Invalidate the TLBs on each GT

With multi-GT devices, the object may have been bound on each GT and so
we need to invalidate the TLBs across all GT before releasing the pages
back to the system.

Fixes: d6c531ab4820 ("drm/i915: Invalidate the TLBs on each GT")
Signed-off-by: Chris Wilson <chris.p.wilson@intel.com>
Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
CC: Matt Roper <matthew.d.roper@intel.com>
CC: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.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/20231002140742.933530-1-jonathan.cavitt@intel.com
(cherry picked from commit 6b8ace7a14e7926b7b914ccd96a8ac657c0d518c)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/gem/i915_gem_pages.c