[Intel-gfx] [PATCH v2 5/8] drm/i915/tc: Skip ref held check for TC legacy aux power wells
Imre Deak
imre.deak at intel.com
Tue Apr 7 15:42:49 UTC 2020
On Mon, Apr 06, 2020 at 06:11:54PM -0700, José Roberto de Souza wrote:
> 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.
>
> Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
Reviewed-by: Imre Deak <imre.deak at intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_display_power.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c
> index 1336247743c4..0383801a9acc 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));
> }
>
> --
> 2.26.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
More information about the Intel-gfx
mailing list