mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
drm/i915/mtl: Add TC port lockdep assert to AUX power well enabling
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> Link: https://patchwork.freedesktop.org/patch/msgid/20230830140421.2031111-2-imre.deak@intel.com
This commit is contained in:
parent
74c699e419
commit
7ce8ac49e4
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user