drm/i915/dp: program VSwing and Preemphasis control settings on VLV v2
authorPallavi G <pallavi.g@intel.com>
Thu, 18 Apr 2013 21:44:28 +0000 (14:44 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Apr 2013 21:52:48 +0000 (23:52 +0200)
commite2fa6fba3d2fa03a5efdedf0b6f045fcc3428a80
treeeb20d61b4d00928647f1e399117ae8116b92dc01
parent598fac6bf8299ed7ae1852426660be3c265047a4
drm/i915/dp: program VSwing and Preemphasis control settings on VLV v2

Program few Tx buffer Swing control settings through DPIO.

v2: fix up codingstyle (Daniel)
    call from set_signal_levels (Ville, Daniel)
    use proper port numbers (Jesse)

Signed-off-by: Pallavi G <pallavi.g@intel.com>
Signed-off-by: Yogesh M <yogesh.mohan.marimuthu@intel.com>
Signed-off-by: Gajanan Bhat <gajanan.bhat@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> (v2 changes)
[danvet: Reorder if-ladder to avoid two IS_VLV checks.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h