[Intel-gfx] [PATCH 11/37] drm/i915: add definition of DDI buffer translations regs
Daniel Vetter
daniel at ffwll.ch
Tue Mar 27 15:37:59 CEST 2012
On Wed, Mar 21, 2012 at 10:09:46PM -0300, Eugeni Dodonov wrote:
> Those registers are used to train DDI buffer translations for each link
> type.
>
> Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
some quick private discussion releaved that the A-E in these defines are
also per-port. So I think we also need to rebase these on top of a port
enum with a DDI_BUF_TRANS(port) macros instead.
-Daniel
> ---
> 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 b732aa1..0af47b4 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -3940,4 +3940,11 @@
> #define DDI_PORT_WIDTH_X4 (3<<1)
> #define DDI_INIT_DISPLAY_DETECTED (1<<0)
>
> +/* DDI Buffer Translations */
> +#define DDI_BUF_TRANS_A 0x64E00
> +#define DDI_BUF_TRANS_B 0x64E60
> +#define DDI_BUF_TRANS_C 0x64EC0
> +#define DDI_BUF_TRANS_D 0x64F20
> +#define DDI_BUF_TRANS_E 0x64F80
> +
> #endif /* _I915_REG_H_ */
> --
> 1.7.9.2
>
> _______________________________________________
> 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
More information about the Intel-gfx
mailing list