File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
drivers/gpu/drm/i915/gt/uc Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2046,6 +2046,8 @@ void intel_guc_submission_cancel_requests(struct intel_guc *guc)
2046
2046
2047
2047
void intel_guc_submission_reset_finish (struct intel_guc * guc )
2048
2048
{
2049
+ int outstanding ;
2050
+
2049
2051
/* Reset called during driver load or during wedge? */
2050
2052
if (unlikely (!guc_submission_initialized (guc ) ||
2051
2053
!intel_guc_is_fw_running (guc ) ||
@@ -2059,8 +2061,10 @@ void intel_guc_submission_reset_finish(struct intel_guc *guc)
2059
2061
* see in CI if this happens frequently / a precursor to taking down the
2060
2062
* machine.
2061
2063
*/
2062
- if (atomic_read (& guc -> outstanding_submission_g2h ))
2063
- guc_err (guc , "Unexpected outstanding GuC to Host in reset finish\n" );
2064
+ outstanding = atomic_read (& guc -> outstanding_submission_g2h );
2065
+ if (outstanding )
2066
+ guc_err (guc , "Unexpected outstanding GuC to Host response(s) in reset finish: %d\n" ,
2067
+ outstanding );
2064
2068
atomic_set (& guc -> outstanding_submission_g2h , 0 );
2065
2069
2066
2070
intel_guc_global_policies_update (guc );
You can’t perform that action at this time.
0 commit comments