]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/hsw, bdw: Split power well set to enable/disable helpers
authorImre Deak <imre.deak@intel.com>
Thu, 6 Jul 2017 14:40:33 +0000 (17:40 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:52 +0000 (09:38 +0200)
commitec46d48360432cbc9280e52692ec2f15bd85bdca
tree685c6150288fc5a31cc501d0f543a4072484a7c4
parent00742cabcc7a4f6bae03cef538c9bb020875115a
drm/i915/hsw, bdw: Split power well set to enable/disable helpers

We can reduce the code indentation by splitting the set helper to
separate enable/disable helpers. This also allows us to unify the
HSW/BDW and GEN9+ power well ops in follow-up patches, which introduces
some differences between the enable and disable helpers.

While at it also remove the redundant enable/disable debug messages,
the same info is printed already elsewhere.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1499352040-8819-12-git-send-email-imre.deak@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_runtime_pm.c