On Thu, Mar 29, 2012 at 12:32:38PM -0300, Eugeni Dodonov wrote: > DDIA is detected via the DDI_BUF_CTL registers bit 0, but for DDIB, DDIC > and DDID we need to consult SFUSE_STRAP values. > > Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com> > --- > drivers/gpu/drm/i915/i915_reg.h | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h > index d9df228..f300f5f 100644 > --- a/drivers/gpu/drm/i915/i915_reg.h > +++ b/drivers/gpu/drm/i915/i915_reg.h > @@ -4037,4 +4037,11 @@ > #define PIPE_WM_LINETIME_TIME(x) ((x)) > #define PIPE_WM_LINETIME_IPS_LINETIME_MASK (0x1ff<<16) > #define PIPE_WM_LINETIME_IPS_LINETIME(x) ((x)<<16) > + > +/* SFUSE_STRAP */ > +#define SFUSE_STRAP 0xc2014 > +#define SFUSE_STRAP_DDIB_DETECTED (1<<2) > +#define SFUSE_STRAP_DDIC_DETECTED (1<<1) > +#define SFUSE_STRAP_DDID_DETECTED (1<<0) I've noticed that we have another sfuse here indicating whether the vga port is present. Do we not need this? -Daniel > + > #endif /* _I915_REG_H_ */ > -- > 1.7.9.5 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Mail: daniel at ffwll.ch Mobile: +41 (0)79 365 57 48