drm/i915: wrap up gt powersave enabling functions
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 24 Jun 2012 14:42:32 +0000 (16:42 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 25 Jun 2012 19:07:03 +0000 (21:07 +0200)
commit8090c6b9daa04dda649ac0a2209601042abfb0a4
tree7cc50fad982ec6c91d13bb4c30f002528237a166
parent7b0cfee1a24efdfe0235bac62e53f686fe8a8e24
drm/i915: wrap up gt powersave enabling functions

... instead of calling each one for each generation indiviudally.

Notice that we've already managed to be inconsistent, the resume path
is missing an IS_VLV check. As a nice benefit we can mark all the
platform specific enable/disable functions as static and hide them in
intel_pm.c

Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c