drm/i915/guc: Calling guc_disable_communication in all suspend paths
authorSujaritha Sundaresan <sujaritha.sundaresan@intel.com>
Wed, 20 Feb 2019 01:39:27 +0000 (17:39 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Feb 2019 23:53:21 +0000 (23:53 +0000)
commit1813ae17fdf03c69313a9742b9be41dd7aa6ebb3
tree72050e68ab72da70d5534eebe5a27791ea666182
parente0ad3c64fa1fbbddb2eab9ee0de3e057b7da942b
drm/i915/guc: Calling guc_disable_communication in all suspend paths

This aim of this patch is to call guc_disable_communication in all
suspend paths. The reason to introduce this is to resolve a bug that
occurred due to suspend late not being called in the hibernate devices
path.

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Sujaritha Sundaresan <sujaritha.sundaresan@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190220013927.9488-3-sujaritha.sundaresan@intel.com
drivers/gpu/drm/i915/i915_reset.c
drivers/gpu/drm/i915/intel_uc.c
drivers/gpu/drm/i915/intel_uc.h