]> git.karo-electronics.de Git - linux-beck.git/commit
drm/radeon: Renaming DP training vswing pre emph defines
authorSonika Jindal <sonika.jindal@intel.com>
Fri, 8 Aug 2014 10:53:44 +0000 (16:23 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:05:39 +0000 (11:05 +0200)
commit9cecb371cf7365dfaf40cf83e8068f012f27f86b
treecdd48f0cc7ae23da2a8327406a85f9f95ccb0e86
parent31160006f8b5aabc3701b22feccbc9a4ae9c59b1
drm/radeon: 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_1200     (3 << 0)
+ # define DP_TRAIN_VOLTAGE_SWING_LEVEL_3     (0 << 0)

...

Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Acked-by: Alex Deucher <alexdeucher@gmail.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/radeon/atombios_dp.c