drm/i915: Renaming DP training vswing pre emph defines
authorSonika Jindal <sonika.jindal@intel.com>
Fri, 8 Aug 2014 10:53:41 +0000 (16:23 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:05:43 +0000 (11:05 +0200)
commitbd60018af33b36650a9d9b6e2b63dbc9a58e2163
tree5c0f7beb33fde9920c75837192e7ee04b688fb4e
parenteeb82a5cdb9ab8c5690186b60b2a2bc551fbdf5c
drm/i915: Renaming DP training vswing pre emph defines

Rename the defines to have levels instead of values for vswing and
pre-emph levels as the values may differ in other scenarios like low vswing of
eDP1.4 where the values are different.

Done using following cocci patch for each define:
@@
@@

 # define DP_TRAIN_VOLTAGE_SWING_400     (0 << 0)
+ # define DP_TRAIN_VOLTAGE_SWING_LEVEL_0     (0 << 0)

...

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/intel_bios.c
drivers/gpu/drm/i915/intel_dp.c