On Wed, May 1, 2013 at 6:37 AM, Stephen Rothwell <sfr at canb.auug.org.au> wrote: > Hi all, > > Today's linux-next merge of the drm-intel tree got a conflict in > drivers/gpu/drm/i915/i915_reg.h between commit a65851af5938 ("drm/i915: > Make data/link N value power of two") from the drm tree and commit > 72419203cab9 ("drm/i915: hw state readout support for fdi m/n") from the > drm-intel tree. > > I fixed it up (see below) and can carry the fix as necessary (no action > is required). Looks good, thanks. -Daniel > > -- > Cheers, > Stephen Rothwell sfr at canb.auug.org.au > > diff --cc drivers/gpu/drm/i915/i915_reg.h > index 83f9c26,b5d87bd..0000000 > --- a/drivers/gpu/drm/i915/i915_reg.h > +++ b/drivers/gpu/drm/i915/i915_reg.h > @@@ -2652,11 -2774,11 +2774,12 @@@ > #define _PIPEB_GMCH_DATA_M 0x71050 > > /* Transfer unit size for display port - 1, default is 0x3f (for TU size 64) */ > -#define PIPE_GMCH_DATA_M_TU_SIZE_MASK (0x3f << 25) > -#define PIPE_GMCH_DATA_M_TU_SIZE_SHIFT 25 > +#define TU_SIZE(x) (((x)-1) << 25) /* default size 64 */ > +#define TU_SIZE_MASK (0x3f << 25) > + #define TU_SIZE_SHIFT 25 > > -#define PIPE_GMCH_DATA_M_MASK (0xffffff) > +#define DATA_LINK_M_N_MASK (0xffffff) > +#define DATA_LINK_N_MAX (0x800000) > > #define _PIPEA_GMCH_DATA_N 0x70054 > #define _PIPEB_GMCH_DATA_N 0x71054 -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch