]> Gentwo Git Trees - linux/.git/commit
drm/xe/guc: Always add CT disable action during second init step
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 8 Sep 2025 10:20:51 +0000 (12:20 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 9 Sep 2025 18:38:25 +0000 (20:38 +0200)
commit955f3bc4af440bb950c7a1567197aaf6aa2213ae
tree0e0ba6fe8b5f236f619a3e03df4453cb15fc23e5
parent30071d58dfcef5da327e2f3b6ce848251814b266
drm/xe/guc: Always add CT disable action during second init step

On DGFX, during init_post_hwconfig() step, we are reinitializing
CTB BO in VRAM and we have to replace cleanup action to disable CT
communication prior to release of underlying BO.

But that introduces some discrepancy between DGFX and iGFX, as for
iGFX we keep previously added disable CT action that would be called
during unwind much later.

To keep the same flow on both types of platforms, always replace old
cleanup action and register new one.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Link: https://lore.kernel.org/r/20250908102053.539-2-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_guc_ct.c