drm: Renaming DP training vswing pre emph defines
authorSonika Jindal <sonika.jindal@intel.com>
Fri, 8 Aug 2014 10:53:40 +0000 (16:23 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:05:34 +0000 (11:05 +0200)
commit0504cd170c86f0617f27a31f1ba2328caa976707
treeb342164fbe68dde135e25ec5e78f41bde10fd705
parentf9cac7218a6e18f5f95917c9e3331ee7f063c439
drm: Renaming DP training vswing pre emph defines

Adding new defines, older one will be removed in the last patch in the series.
This is to 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)

...
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drm_dp_helper.h