diff --git drivers/gpu/drm/i915/intel_uc.c drivers/gpu/drm/i915/intel_uc.c index ae45651ac73c..de565b1ff50b 100644 --- drivers/gpu/drm/i915/intel_uc.c +++ drivers/gpu/drm/i915/intel_uc.c @@ -551,10 +551,12 @@ int intel_uc_resume(struct drm_i915_private *i915) guc_enable_communication(guc); - err = intel_guc_resume(guc); - if (err) { - DRM_DEBUG_DRIVER("Failed to resume GuC, err=%d", err); - return err; + if (USES_GUC_SUBMISSION(i915)) { + err = intel_guc_resume(guc); + if (err) { + DRM_DEBUG_DRIVER("Failed to resume GuC, err=%d", err); + return err; + } } return 0;