]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: fix calculation of eDP signal levels on Sandybridge
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Thu, 6 Jan 2011 10:26:08 +0000 (18:26 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 22:47:30 +0000 (14:47 -0800)
commit332db0727426a93e401c49fb04426d04c494c102
treef63f7dd9bfe647ba9edadc918fdbea4d498d4d8d
parent22747485265db8f9e104d2c21e5b98dd16d21993
drm/i915: fix calculation of eDP signal levels on Sandybridge

commit 3c5a62b5226ca5db993660281e9c2a7275d9fb02 upstream.

Some voltage swing/pre-emphasis level use the same value on eDP
Sandybridge, like 400mv_0db and 600mv_0db are with the same value
of (0x0 << 22). So, fix them, and point out the value if it isn't
a supported voltage swing/pre-emphasis level.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c