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)
commit4196b9185d3911724388bb3a597ff8c690012c9c
tree096992fe88a7ffa600db859126034c501aabee31
parentb2891eb2531e5e0d251febd0a395d758111790d4
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