drm/i915: Invalidate the TLBs on each GT
authorChris Wilson <chris.p.wilson@linux.intel.com>
Tue, 1 Aug 2023 14:19:54 +0000 (16:19 +0200)
committerAndi Shyti <andi.shyti@linux.intel.com>
Wed, 2 Aug 2023 13:56:44 +0000 (15:56 +0200)
commitd6c531ab482031a66a3544423330d30894dba2df
tree9ed63299acbec323387d8e07924f12c0b0b4703c
parenta79d48846b069ed5b0013ef9a3bfee119a5f01e3
drm/i915: Invalidate the TLBs on each GT

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

Signed-off-by: Chris Wilson <chris.p.wilson@linux.intel.com>
Cc: Fei Yang <fei.yang@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230801141955.383305-4-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_object_types.h
drivers/gpu/drm/i915/gem/i915_gem_pages.c
drivers/gpu/drm/i915/gt/intel_ppgtt.c
drivers/gpu/drm/i915/i915_vma.c