summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza2018-09-18 22:47:10 +0200
committerRodrigo Vivi2018-09-27 02:06:09 +0200
commit6edafc4eb3e4ae26b1b5dbc0cabfc82d96d6b9bb (patch)
tree4841906900c7ce3945472880e2c95237fa4abd9b /drivers/gpu/drm/i915/intel_pm.c
parentdrm/i915/runtime_pm: Share code to enable/disable PCH reset handshake (diff)
downloadkernel-qcow2-linux-6edafc4eb3e4ae26b1b5dbc0cabfc82d96d6b9bb.tar.gz
kernel-qcow2-linux-6edafc4eb3e4ae26b1b5dbc0cabfc82d96d6b9bb.tar.xz
kernel-qcow2-linux-6edafc4eb3e4ae26b1b5dbc0cabfc82d96d6b9bb.zip
drm/i915: Unset reset pch handshake when PCH is not present in one place
Right now RESET_PCH_HANDSHAKE_ENABLE is enabled all the times inside of intel_power_domains_init_hw() and if PCH is NOP it is unsed in i915_gem_init_hw(). So making skl_pch_reset_handshake() handle both cases and calling it for the missing gens in intel_power_domains_init_hw(). Ivybridge have a different register and bits but with the same objective so moving it too. v2(Rodrigo): - handling IVYBRIDGE case inside intel_pch_reset_handshake() v4(Rodrigo and Ville): - moving the enable/disable decision to callers Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180918204714.27306-2-jose.souza@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions