drm/i915: add gen-specific runtime suspend/resume functions
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 7 Mar 2014 23:12:33 +0000 (20:12 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 21:31:28 +0000 (23:31 +0200)
commit97bea20794f600ae9248bef296e3b62d12087a1e
tree9de3270f683c67dee2bece24e7e054b2d6a09a97
parent730488b2eddded4497f63f70867b1256cd9e117c
drm/i915: add gen-specific runtime suspend/resume functions

We're adding runtime suspend support to more platforms, so organize
the code in a way that all a new platform needs to do is to add its
own gen-specific functions. Also rename the i915_ functions to intel_
to make it clear that it's the top level one, not something that just
runs on i915 platforms.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@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