On 9/26/2017 7:22 PM, Chris Wilson wrote:
Quoting Sagar Arun Kamble (2017-09-26 14:24:44)
diff --git a/drivers/gpu/drm/i915/intel_uc.c b/drivers/gpu/drm/i915/intel_uc.c
index d710f0d..aec3f6b 100644
--- a/drivers/gpu/drm/i915/intel_uc.c
+++ b/drivers/gpu/drm/i915/intel_uc.c
@@ -562,6 +562,14 @@ int intel_uc_resume(struct drm_i915_private *dev_priv)
return 0;
}
+int intel_uc_reset_prepare(struct drm_i915_private *dev_priv)
+{
+ if (i915_modparams.enable_guc_submission)
+ i915_guc_submission_disable(dev_priv);
General rule of thumb is that in disable we want to check some dependent
state setup by enable, not a user parameter.
-Chris
Ok. then will update the disable path to check if execbuf_client is
setup and call it without checking for modparam.
Thanks.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx