]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/hw_engine_group: Add stats for mode switching
authorFrancois Dugast <francois.dugast@intel.com>
Wed, 10 Dec 2025 16:50:00 +0000 (17:50 +0100)
committerFrancois Dugast <francois.dugast@intel.com>
Thu, 11 Dec 2025 09:54:17 +0000 (10:54 +0100)
commit8e011f6d08abcd740a9c5157b2f79512a579bced
tree094d5dd04315f5c58f1f353c52483bdc374e4260
parent3efadf028783a49ab2941294187c8b6dd86bf7da
drm/xe/hw_engine_group: Add stats for mode switching

The GT stats interface is extended to include counters of how many
queues are either interrupted or waited on in the hardware engine
groups. This can help application debugging.

v2: Rename to queue as those operations are queue-based (Matthew Brost)

Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20251210165000.60789-1-francois.dugast@intel.com
Signed-off-by: Francois Dugast <francois.dugast@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