]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/guc_submit: Introduce pause/unpause() helpers for PF
authorRaag Jadav <raag.jadav@intel.com>
Thu, 30 Oct 2025 12:23:55 +0000 (17:53 +0530)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Thu, 27 Nov 2025 17:05:20 +0000 (09:05 -0800)
commit726ceb5716da7657a65e01270c494ecd4cb0b242
tree37b18f8409cc6ca0b6292d1ec13d822ec7bafdae
parent99234edab8e1fd3fd2309193a3b3169970a7e770
drm/xe/guc_submit: Introduce pause/unpause() helpers for PF

Introduce pause/unpause() helpers which stop/start further runs of
submission tasks on given GuC and can be called from PF context. This
is in preparation of usecases where we simply need to stop/start the
scheduler without losing GuC state and don't require dealing with VF
migration.

v7: Reword commit message (Matthew Brost)

Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patch.msgid.link/20251030122357.128825-3-raag.jadav@intel.com
drivers/gpu/drm/xe/xe_guc_submit.c
drivers/gpu/drm/xe/xe_guc_submit.h