Skip to content

Commit 7838dd8

Browse files
zhanjunThomas Hellström
authored andcommitted
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: ee4b322 ("drm/xe/guc: Add devm release action to safely tear down CT") Cc: stable@vger.kernel.org Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Link: https://patch.msgid.link/20260310225039.1320161-6-zhanjun.dong@intel.com (cherry picked from commit dace8cb) Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
1 parent e0f8265 commit 7838dd8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/xe/xe_guc_ct.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ static void guc_action_disable_ct(void *arg)
345345
{
346346
struct xe_guc_ct *ct = arg;
347347

348+
xe_guc_ct_stop(ct);
348349
guc_ct_change_state(ct, XE_GUC_CT_STATE_DISABLED);
349350
}
350351

0 commit comments

Comments
 (0)