]> www.infradead.org Git - users/hch/configfs.git/commit
drm/xe/vf: Don't use register based TLB invalidation if VF
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 19 Jun 2024 21:45:55 +0000 (23:45 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 20 Jun 2024 17:49:41 +0000 (19:49 +0200)
commitef3fcfe0639824bc908c7bd18125a97f5f83357c
tree1c93f049128f52cbfaa665baa879a7ae69a7f429
parentecab82af27873336e2a1655dd09e2a3fc41d1c10
drm/xe/vf: Don't use register based TLB invalidation if VF

VF drivers can only use GuC-based TLB invalidation, as they don't
have access to the related registers. However, VFs shouldn't need
any explicit TLB invalidation before enabling CTB communication,
as there will be an implicit GGTT TLB invalidation issued by the
GuC itself as part of MMIO-based action handling.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240619214557.905-8-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c