]> git.karo-electronics.de Git - linux-beck.git/commit
drm/gma500: Renaming DP training vswing pre emph defines
authorSonika Jindal <sonika.jindal@intel.com>
Fri, 8 Aug 2014 10:53:43 +0000 (16:23 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:05:38 +0000 (11:05 +0200)
commit31160006f8b5aabc3701b22feccbc9a4ae9c59b1
treea8f332e6661882a3de54f4d56e90430b162afeba
parent0ded925435ba40e1328565d3de869b3635207ef2
drm/gma500: 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>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/gma500/cdv_intel_dp.c
drivers/gpu/drm/gma500/intel_bios.c