]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Move LRC_ENGINE_ID_PPHWSP_OFFSET outside of parallel offset
authorMatthew Brost <matthew.brost@intel.com>
Thu, 12 Jun 2025 17:28:50 +0000 (10:28 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 17 Jun 2025 15:25:58 +0000 (08:25 -0700)
commit2e273e4f8555615df70d9a9652a0fd39e7187b69
tree127e91d1ee3428b35d78691ed4c5083b6ab89da8
parentbadf45650bbd14e17ae3d8088a6be672c96a7665
drm/xe: Move LRC_ENGINE_ID_PPHWSP_OFFSET outside of parallel offset

The parallel scratch layout spans 2k and LRC_ENGINE_ID_PPHWSP_OFFSET
lands within than space. This happens to be ok as the offset lands in
reserved part of guc_sched_wq_desc, but for future safety move
LRC_ENGINE_ID_PPHWSP_OFFSET to the unused offset of 1024 below parallel
scratch layout.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://lore.kernel.org/r/20250612172850.4170428-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_lrc.c