Commit dace8cb0 authored by Zhanjun Dong's avatar Zhanjun Dong Committed by Matthew Brost
Browse files

drm/xe/guc: Ensure CT state transitions via STOP before DISABLED



The GuC CT state transition requires moving to the STOP state before
entering the DISABLED state. Update the driver teardown sequence to make
the proper state machine transitions.

Fixes: ee4b3222 ("drm/xe/guc: Add devm release action to safely tear down CT")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarZhanjun Dong <zhanjun.dong@intel.com>
Reviewed-by: default avatarMatthew Brost <matthew.brost@intel.com>
Signed-off-by: default avatarMatthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260310225039.1320161-6-zhanjun.dong@intel.com
parent a7f60761
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -352,6 +352,7 @@ static void guc_action_disable_ct(void *arg)
{
	struct xe_guc_ct *ct = arg;

	xe_guc_ct_stop(ct);
	guc_ct_change_state(ct, XE_GUC_CT_STATE_DISABLED);
}