drm/i915/guc: Add host2guc notification for suspend and resume
authorAlex Dai <yu.dai@intel.com>
Wed, 30 Sep 2015 16:46:37 +0000 (09:46 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 6 Oct 2015 08:32:22 +0000 (10:32 +0200)
commita1c4199414539d7eea34e416fb64fb5178221381
treebda17a9e08c2b5d686e1c1cc51f164132b83220b
parent3be60de9e9dc92c852c196cf4b62e287fa53963c
drm/i915/guc: Add host2guc notification for suspend and resume

Add host2guc interface to notify GuC power state changes when
enter or resume from power saving state.

v3: Move intel_guc_suspend to i915_drm_suspend for consistency.

v2: Add GuC suspend/resume to runtime suspend/resume too

v1: Change to a more flexible way when fill host to GuC scratch
data in order to remove hard coding.

Signed-off-by: Alex Dai <yu.dai@intel.com>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_guc_submission.c
drivers/gpu/drm/i915/intel_guc.h
drivers/gpu/drm/i915/intel_guc_fwif.h
drivers/gpu/drm/i915/intel_guc_loader.c