File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
drivers/gpu/drm/i915/gt/uc Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ static int __uc_init_hw(struct intel_uc *uc)
504
504
505
505
ret = intel_guc_sample_forcewake (guc );
506
506
if (ret )
507
- goto err_communication ;
507
+ goto err_log_capture ;
508
508
509
509
if (intel_uc_uses_guc_submission (uc ))
510
510
intel_guc_submission_enable (guc );
@@ -529,8 +529,6 @@ static int __uc_init_hw(struct intel_uc *uc)
529
529
/*
530
530
* We've failed to load the firmware :(
531
531
*/
532
- err_communication :
533
- guc_disable_communication (guc );
534
532
err_log_capture :
535
533
__uc_capture_load_err_log (uc );
536
534
err_out :
@@ -558,9 +556,6 @@ static void __uc_fini_hw(struct intel_uc *uc)
558
556
if (intel_uc_uses_guc_submission (uc ))
559
557
intel_guc_submission_disable (guc );
560
558
561
- if (guc_communication_enabled (guc ))
562
- guc_disable_communication (guc );
563
-
564
559
__uc_sanitize (uc );
565
560
}
566
561
@@ -577,7 +572,6 @@ void intel_uc_reset_prepare(struct intel_uc *uc)
577
572
if (!intel_guc_is_ready (guc ))
578
573
return ;
579
574
580
- guc_disable_communication (guc );
581
575
__uc_sanitize (uc );
582
576
}
583
577
You can’t perform that action at this time.
0 commit comments