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)
committerAndi Shyti <andi.shyti@linux.intel.com>
Tue, 3 Oct 2023 16:54:20 +0000 (18:54 +0200)
commit6b8ace7a14e7926b7b914ccd96a8ac657c0d518c
tree605ef83c5f4609ca28e84f795f1562f00215a18a
parent9c303439c4e9a56b96b655f3cc921a01268f7945
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
drivers/gpu/drm/i915/gem/i915_gem_pages.c