]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add exec queue active vfunc
authorMatthew Brost <matthew.brost@intel.com>
Fri, 16 Jan 2026 22:17:30 +0000 (14:17 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Sat, 17 Jan 2026 02:24:56 +0000 (18:24 -0800)
commit628d59392cc571930f52e121892c7a72f7c1d65b
treed82ad5fcf4f21d32d891a8a50c765aa26cc6c09d
parent6b42b635d6a20fd418ecc7c4c3ad52ef99fe7227
drm/xe: Add exec queue active vfunc

If an exec queue is inactive (e.g., not registered or scheduling is
disabled), TLB invalidations are not issued for that queue. Add a
virtual function to determine the active state, which TLB invalidation
logic can hook into.

v5:
 - Operate on primary in active function

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Tested-by: Stuart Summers <stuart.summers@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patch.msgid.link/20260116221731.868657-11-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_exec_queue_types.h
drivers/gpu/drm/xe/xe_execlist.c
drivers/gpu/drm/xe/xe_guc_submit.c