On Wed, Oct 31, 2018 at 04:58:27PM +0000, Srivatsa, Anusha wrote: > >>> > /* ICL PHY DFLEX registers */ > >>> > -#define PORT_TX_DFLEXDPMLE1 _MMIO(0x1638C0) > >>> > +#define PORT_TX_DFLEXDPMLE1 _MMIO(FIA1_BASE + > >PORT_TX_DFLEXDPMLE1_OFFSET) > > > >IMO either: > > > >#define _PORT_TX_DFLEXDPMLE1 0x008C0 > >#define PORT_TX_DFLEXDPMLE1 _MMIO(FIA1_BASE + > >_PORT_TX_DFLEXDPMLE1) > > > >or just: > > > >#define PORT_TX_DFLEXDPMLE1 _MMIO(FIA1_BASE + 0x008C0) > > Makes sense. I ll make this change... I think the second option makes more sense. The additional underscored name doesn't improve readability. Lucas De Marchi _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx