File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ static int guc_ct_control_toggle(struct xe_guc_ct *ct, bool enable)
384
384
return ret > 0 ? - EPROTO : ret ;
385
385
}
386
386
387
- static void xe_guc_ct_set_state (struct xe_guc_ct * ct ,
387
+ static void guc_ct_change_state (struct xe_guc_ct * ct ,
388
388
enum xe_guc_ct_state state )
389
389
{
390
390
mutex_lock (& ct -> lock ); /* Serialise dequeue_one_g2h() */
@@ -469,7 +469,7 @@ int xe_guc_ct_enable(struct xe_guc_ct *ct)
469
469
if (err )
470
470
goto err_out ;
471
471
472
- xe_guc_ct_set_state (ct , XE_GUC_CT_STATE_ENABLED );
472
+ guc_ct_change_state (ct , XE_GUC_CT_STATE_ENABLED );
473
473
474
474
smp_mb ();
475
475
wake_up_all (& ct -> wq );
@@ -514,7 +514,7 @@ static void stop_g2h_handler(struct xe_guc_ct *ct)
514
514
*/
515
515
void xe_guc_ct_disable (struct xe_guc_ct * ct )
516
516
{
517
- xe_guc_ct_set_state (ct , XE_GUC_CT_STATE_DISABLED );
517
+ guc_ct_change_state (ct , XE_GUC_CT_STATE_DISABLED );
518
518
ct_exit_safe_mode (ct );
519
519
stop_g2h_handler (ct );
520
520
}
@@ -530,7 +530,7 @@ void xe_guc_ct_stop(struct xe_guc_ct *ct)
530
530
if (!xe_guc_ct_initialized (ct ))
531
531
return ;
532
532
533
- xe_guc_ct_set_state (ct , XE_GUC_CT_STATE_STOPPED );
533
+ guc_ct_change_state (ct , XE_GUC_CT_STATE_STOPPED );
534
534
stop_g2h_handler (ct );
535
535
}
536
536
You can’t perform that action at this time.
0 commit comments