]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/guc: Exclude indirect ring state page from ADS engine state size
authorSatyanarayana K V P <satyanarayana.k.v.p@intel.com>
Mon, 4 May 2026 09:49:26 +0000 (09:49 +0000)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 5 May 2026 23:15:04 +0000 (16:15 -0700)
commitb29987dfd943e655df6e3b641ecffad5cc1509c2
tree7ace67bf797c98150e19489159ec06e8d1e6e20e
parentb87951a0ae9f95ca6590bf0939edced7d36929dd
drm/xe/guc: Exclude indirect ring state page from ADS engine state size

The engine state size reported to GuC via ADS should only include the
engine state portion and should not include the indirect ring state page
that comes after it in the context image. The GuC uses this size to
overwrite the engine state in the LRC on watchdog resets and we don't
want it to overwrite the indirect ring state as well.

Fixes: d6219e1cd5e3 ("drm/xe: Add Indirect Ring State support")
Suggested-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patch.msgid.link/20260504094924.3760713-4-satyanarayana.k.v.p@intel.com
(cherry picked from commit 3ec5f003f6c377beda8bd5438941f5a7795e1848)
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
drivers/gpu/drm/xe/xe_guc_ads.c
drivers/gpu/drm/xe/xe_lrc.c
drivers/gpu/drm/xe/xe_lrc.h