]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf1fce863c632c73a22a7b718609ebebf2b9d84a9
tree7cc50fad982ec6c91d13bb4c30f002528237a166
parent05d2bd631438403709c5c07b28460d287d964177
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