drm/i915: Remove dead DKL_TX_LOADGEN_SHARING_PMD_DISABLE stuff
DKL_TX_LOADGEN_SHARING_PMD_DISABLE doesn't even seem to exist, also the spec says to skip all loadgen stuff. The code was dead anyway since it wasn't actually writing the value anywhere. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211006204937.30774-6-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
a1f01768f6
commit
f0298326d6
|
@ -1309,14 +1309,6 @@ static void tgl_dkl_phy_set_signal_levels(struct intel_encoder *encoder,
|
|||
val = intel_de_read(dev_priv, DKL_TX_DPCNTL2(tc_port));
|
||||
val &= ~DKL_TX_DP20BITMODE;
|
||||
intel_de_write(dev_priv, DKL_TX_DPCNTL2(tc_port), val);
|
||||
|
||||
if ((intel_crtc_has_dp_encoder(crtc_state) &&
|
||||
crtc_state->port_clock == 162000) ||
|
||||
(intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI) &&
|
||||
crtc_state->port_clock == 594000))
|
||||
val |= DKL_TX_LOADGEN_SHARING_PMD_DISABLE;
|
||||
else
|
||||
val &= ~DKL_TX_LOADGEN_SHARING_PMD_DISABLE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11024,7 +11024,6 @@ enum skl_power_gate {
|
|||
_DKL_TX_DPCNTL1)
|
||||
|
||||
#define _DKL_TX_DPCNTL2 0x2C8
|
||||
#define DKL_TX_LOADGEN_SHARING_PMD_DISABLE REG_BIT(12)
|
||||
#define DKL_TX_DP20BITMODE (1 << 2)
|
||||
#define DKL_TX_DPCNTL2(tc_port) _MMIO(_PORT(tc_port, \
|
||||
_DKL_PHY1_BASE, \
|
||||
|
|
Loading…
Reference in New Issue