drm/i915: Created common handler for platform specific suspend/resume
authorSagar Kamble <sagar.a.kamble@intel.com>
Wed, 13 Aug 2014 17:37:05 +0000 (23:07 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Aug 2014 14:12:42 +0000 (16:12 +0200)
commitebc3282409ae4d1e90c2f9608665cc4d8fbf7e73
treeffbb260fdf99186c8bd9ee3efe5e6df53cdf0389
parent82e3b8c130f046b7dd1e7898c10e40edb52fee6d
drm/i915: Created common handler for platform specific suspend/resume

With this change, intel_runtime_suspend and intel_runtime_resume functions
become completely platform agnostic. Platform specific suspend/resume
changes are moved to intel_suspend_complete and intel_resume_prepare.

Cc: Imre Deak <imre.deak@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Goel, Akash <akash.goel@intel.com>
Signed-off-by: Sagar Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c