diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2020-04-14 12:49:53 -0700 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2020-04-17 15:01:34 -0700 |
commit | 7ce40a671538c225ea8eb170830cad90b16ec211 (patch) | |
tree | 8ec7653255b52b112f99646660d8da81557cff58 /drivers/gpu/drm/i915/display/intel_display_power.c | |
parent | feb7e0ef5ff820ee7242bb46cfe3d0dd3e234c38 (diff) | |
download | linux-7ce40a671538c225ea8eb170830cad90b16ec211.tar.bz2 |
drm/i915/tc: Skip ref held check for TC legacy aux power wells
As part of ICL TC cold exit sequences we need to request aux power
well before lock the access to TC ports, so skiping the
intel_tc_port_ref_held() check for TC legacy ports.
Reviewed-by: Imre Deak <imre.deak@intel.com>
Tested-by: You-Sheng Yang <vicamo.yang@canonical.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200414194956.164323-5-jose.souza@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display_power.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_display_power.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c index c4043d665645..3a4a378792f2 100644 --- a/drivers/gpu/drm/i915/display/intel_display_power.c +++ b/drivers/gpu/drm/i915/display/intel_display_power.c @@ -560,6 +560,9 @@ static void icl_tc_port_assert_ref_held(struct drm_i915_private *dev_priv, if (drm_WARN_ON(&dev_priv->drm, !dig_port)) return; + if (INTEL_GEN(dev_priv) == 11 && dig_port->tc_legacy_port) + return; + drm_WARN_ON(&dev_priv->drm, !intel_tc_port_ref_held(dig_port)); } |