drm/i915: Rename defines for selection of ddi buffer translation slot
authorSonika Jindal <sonika.jindal@intel.com>
Mon, 11 Aug 2014 03:27:36 +0000 (08:57 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:04:37 +0000 (11:04 +0200)
commitc5fe6a0637e8a9f407a87b78be6955067f01a4cd
tree4cf951f3a00cdc9b94ba3caa4a9bea28f443386d
parent23ba9373ef0dc535b013a872fa565b326b93612d
drm/i915: Rename defines for selection of ddi buffer translation slot

Renaming the HSW-specific macros for ddi buffer translation slot to denote the
slot and not the vswing/pre-emph values as they are platform-dependent.

This patch is based on top of the patch series for renaming the DP training
vswing/pre-emph defines:
http://lists.freedesktop.org/archives/intel-gfx/2014-August/050407.html

v2: Creating single macro with argument for slot number (Damien)
v3: Adding macro for num of translation entries (Damien)

Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dp.c