From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Imre Deak <imre.deak@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915/mtl: Add TC port lockdep assert to AUX power well enabling
Date: Wed, 30 Aug 2023 17:31:00 -0400 [thread overview]
Message-ID: <ZO+1FL9UDbSbPuRz@intel.com> (raw)
In-Reply-To: <20230830140421.2031111-2-imre.deak@intel.com>
On Wed, Aug 30, 2023 at 05:04:21PM +0300, Imre Deak wrote:
> Similarly to earlier platforms, assert in the MTL AUX power well
> enabling handler for TC AUX CH power wells that the TC port using the
> AUX CH is locked.
>
> Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_display_power_well.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display_power_well.c b/drivers/gpu/drm/i915/display/intel_display_power_well.c
> index 916009894d89c..820b7d41a0a8f 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_power_well.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_power_well.c
> @@ -1794,6 +1794,11 @@ static void xelpdp_aux_power_well_enable(struct drm_i915_private *dev_priv,
> struct i915_power_well *power_well)
> {
> enum aux_ch aux_ch = i915_power_well_instance(power_well)->xelpdp.aux_ch;
> + enum phy phy = icl_aux_pw_to_phy(dev_priv, power_well);
> +
> + if (intel_phy_is_tc(dev_priv, phy))
> + icl_tc_port_assert_ref_held(dev_priv, power_well,
> + aux_ch_to_digital_port(dev_priv, aux_ch));
>
> intel_de_rmw(dev_priv, XELPDP_DP_AUX_CH_CTL(aux_ch),
> XELPDP_DP_AUX_CH_CTL_POWER_REQUEST,
> --
> 2.37.2
>
next prev parent reply other threads:[~2023-08-30 21:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-30 14:04 [Intel-gfx] [PATCH 1/2] drm/i915/dp: Drop redundant AUX power get/put in intel_dp_force() Imre Deak
2023-08-30 14:04 ` [Intel-gfx] [PATCH 2/2] drm/i915/mtl: Add TC port lockdep assert to AUX power well enabling Imre Deak
2023-08-30 21:31 ` Rodrigo Vivi [this message]
2023-08-30 17:46 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/i915/dp: Drop redundant AUX power get/put in intel_dp_force() Patchwork
2023-08-30 18:02 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-08-30 21:29 ` [Intel-gfx] [PATCH 1/2] " Rodrigo Vivi
2023-08-31 10:19 ` Imre Deak
2023-08-31 2:00 ` [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZO+1FL9UDbSbPuRz@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=imre.deak@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.