]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/pf: Add TLB invalidation support for MERT
authorLukasz Laguna <lukasz.laguna@intel.com>
Mon, 24 Nov 2025 19:02:36 +0000 (20:02 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 25 Nov 2025 16:45:25 +0000 (17:45 +0100)
commit1fc30960150672b4c8f842ea00c75be766759bd8
tree99d64214436ccbd879bc11078cbaac3b18484df3
parent0e72241a53e9188e88bb7b258266bccd615a4d60
drm/xe/pf: Add TLB invalidation support for MERT

Add support for triggering and handling MERT TLB invalidation. After
LMTT updates, the MERT TLB invalidation is initiated to ensure memory
translations remain coherent.

Completion of the invalidation is signaled via MERT interrupt (bit 13 in
the GFX master interrupt register). Detect and handle this interrupt to
properly synchronize the invalidation flow.

Signed-off-by: Lukasz Laguna <lukasz.laguna@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patch.msgid.link/20251124190237.20503-4-lukasz.laguna@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/regs/xe_irq_regs.h
drivers/gpu/drm/xe/regs/xe_mert_regs.h
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_irq.c
drivers/gpu/drm/xe/xe_lmtt.c
drivers/gpu/drm/xe/xe_mert.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_mert.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_sriov_pf.c