diff options
| author | Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com> | 2026-08-27 13:50:11 +0530 |
|---|---|---|
| committer | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-08-28 13:41:47 -0700 |
| commit | d3f1b058a77d1754d469ea4eaf43e754d43cdc4c (patch) | |
| tree | 47e29dccb50433bcb044f177a16d02952cac6cfd /scripts/Makefile.thinlto | |
| parent | 0f0a5aba875992c4d0aaf8c6178550557fa38ce2 (diff) | |
| download | linux-next-d3f1b058a77d1754d469ea4eaf43e754d43cdc4c.tar.gz linux-next-d3f1b058a77d1754d469ea4eaf43e754d43cdc4c.zip | |
drm/xe/ggtt: invalidate engine GGTT TLBs for multi-queue GTs
Engines cache GGTT translations in their own TLBs, which the
xe_tlb_inval_ggtt() does not touch.
After a GGTT unmap the engines can still hit the stale translation and
read the old page.
Issue an INVAL_FULL (intra vf) invalidation on GGTT unmap, gated on the
GT having any multi-queue engine class.
v2:
- Use xe_gt_has_multi_queue() helper and address nits (Niranjana)
v3:
- Invalidate both the primary and media GTs, similar to
xe_ggtt_invalidate() (Matt Brost)
v5:
- Guard NULL gt and explain the multi-queue-only engine flush
(Niranjana)
Assisted-by: Claude:claude-opus-4-8
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Signed-off-by: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
Link: https://patch.msgid.link/20260827082011.3370672-4-tilak.tirumalesh.tangudu@intel.com
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
