[Intel-gfx] [PATCH 06/24] drm/i915/ICL: Add register definition for DFLEXDPMLE
Lucas De Marchi
lucas.de.marchi at gmail.com
Fri May 25 16:14:57 UTC 2018
On Thu, May 24, 2018 at 05:26:38PM -0700, Paulo Zanoni wrote:
> Em Seg, 2018-05-21 às 17:25 -0700, Paulo Zanoni escreveu:
> > From: Manasi Navare <manasi.d.navare at intel.com>
> >
> > DFLEXDPMLE register is required to tell the FIA hardware which
> > main links of DP are enabled on TCC Connectors. FIA uses this
> > information to program PHY to Controller signal mapping.
> > This register is applicable in both TC connector's Alternate mode
> > as well as DP connector mode.
> >
> > Cc: Jani Nikula <jani.nikula at linux.intel.com>
> > Cc: Animesh Manna <animesh.manna at intel.com>
> > Cc: Madhav Chauhan <madhav.chauhan at intel.com>
> > Cc: Anusha Srivatsa <anusha.srivatsa at intel.com>
> > Cc: Paulo Zanoni <paulo.r.zanoni at intel.com>
> > Signed-off-by: Manasi Navare <manasi.d.navare at intel.com>
> > ---
> > drivers/gpu/drm/i915/i915_reg.h | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/i915_reg.h
> > b/drivers/gpu/drm/i915/i915_reg.h
> > index 28ce96ce0484..7f27fe2e38c7 100644
> > --- a/drivers/gpu/drm/i915/i915_reg.h
> > +++ b/drivers/gpu/drm/i915/i915_reg.h
> > @@ -1990,6 +1990,11 @@ enum i915_power_well_id {
> > _ICL_PORT_COMP_DW
> > 10_A, \
> > _ICL_PORT_COMP_DW
> > 10_B)
> >
> > +/* ICL PHY DFLEX registers */
> > +#define ICL_PORT_TX_DFLEXDPMLE1 _MMIO(0x1638C0)
>
> We can probably remove the ICL_ prefix since the register did not exist
> before.
And while at it s/ICL/icl/ in the commit message?
Lucas De Marchi
>
> With or without that:
> Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
>
> Note: the patch that uses the register was removed from the series due
> to some problems identified. Will be upstreamed as soon as it's fixed.
>
> > +#define DFLEXDPMLE1_DPMLETC_MASK(n) (0xf << (4 * (n)))
> > +#define DFLEXDPMLE1_DPMLETC(n, x) ((x) << (4 * (n)))
> > +
> > /* BXT PHY Ref registers */
> > #define _PORT_REF_DW3_A 0x16218C
> > #define _PORT_REF_DW3_BC 0x6C18C
> _______________________________________________
> 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