Commit 4d07f6c4 authored by Michel Thierry's avatar Michel Thierry Committed by Chris Wilson

drm/i915/guc: enable guc interrupts unconditionally in uc_resume

Probably lost while rebasing commit eacd8391 ("drm/i915/guc: Keep GuC
interrupts enabled when using GuC").

Not really needed since i915_gem_init_hw is called before uc_resume, but
it brings symmetry to uc_suspend.
Signed-off-by: default avatarMichel Thierry <michel.thierry@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: default avatarMichał Winiarski <michal.winiarski@intel.com>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180328205851.16188-1-michel.thierry@intel.com
parent 0a015ff9
...@@ -480,7 +480,6 @@ int intel_uc_resume(struct drm_i915_private *i915) ...@@ -480,7 +480,6 @@ int intel_uc_resume(struct drm_i915_private *i915)
if (guc->fw.load_status != INTEL_UC_FIRMWARE_SUCCESS) if (guc->fw.load_status != INTEL_UC_FIRMWARE_SUCCESS)
return 0; return 0;
if (i915_modparams.guc_log_level)
gen9_enable_guc_interrupts(i915); gen9_enable_guc_interrupts(i915);
err = intel_guc_resume(guc); err = intel_guc_resume(guc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment