]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gen9+: Unify the HSW/BDW and GEN9+ power well helpers
authorImre Deak <imre.deak@intel.com>
Tue, 11 Jul 2017 20:42:36 +0000 (23:42 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:54 +0000 (09:38 +0200)
commit17c9cbbb7f214e5dfc6f2e1bf05b0f638d678082
tree096992fe88a7ffa600db859126034c501aabee31
parent41f8a9752c2108a746db46d15e6ae2522fb837ff
drm/i915/gen9+: Unify the HSW/BDW and GEN9+ power well helpers

After the previous refactorings the HSW/BDW and GEN9+ power well helpers
are practically identical, so use the HSW power well helpers for GEN9+
too. This means using the HSW power well ops instead of the SKL one and
setting the irq_pipe_mask, has_vga and has_fuses attributes as needed.

v2:
- Rebased on v2 of patch 15.

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