]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/multi_queue: Refactor CGP_SYNC send path
authorNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Fri, 8 May 2026 19:44:29 +0000 (12:44 -0700)
committerNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Fri, 8 May 2026 19:54:14 +0000 (12:54 -0700)
commit5dd993ef9d5e70b05adac92b3fb2f079b0a3fe1a
treee6c411b19bc5065bf15a39474008bf44aaab480e
parent00cf90125ba6f914dd36bf36af82156519ac03a8
drm/xe/multi_queue: Refactor CGP_SYNC send path

Factor the repeated CGP_SYNC action build-and-send sequence into a new
helper guc_exec_queue_send_cgp_sync(). Drop the redundant guc parameter
from __register_exec_queue_group() since it can be derived via
exec_queue_to_guc(q). Remove xe_guc_exec_queue_group_add() which is now
identical to the helper and replace its call site directly.

No functional change.

Assisted-by: GitHub Copilot:claude-sonnet-4.6
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260508194428.61819-6-niranjana.vishwanathapura@intel.com
drivers/gpu/drm/xe/xe_guc_submit.c