]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add more GT stats around pagefault mode switch flows
authorMatthew Brost <matthew.brost@intel.com>
Fri, 12 Dec 2025 18:28:47 +0000 (10:28 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 15 Dec 2025 22:02:56 +0000 (14:02 -0800)
commit2b277b506138f501693f6278e675da259299e8aa
treec69090495beb1495e6a228c300a583f4cf7566b5
parentce3d65549c7a4ea4497546f49d18128281258ec5
drm/xe: Add more GT stats around pagefault mode switch flows

Add GT stats to measure the time spent switching between pagefault mode
and dma-fence mode. Also add a GT stat to indicate when pagefault
suspend is skipped because the system is idle. These metrics will help
profile pagefault workloads while 3D and display are enabled.

v2:
 - Use GT stats helper functions (Francois)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20251212182847.1683222-8-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_gt_stats.c
drivers/gpu/drm/xe/xe_gt_stats_types.h
drivers/gpu/drm/xe/xe_hw_engine_group.c