]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/i915_reg.h
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)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 20:26:54 +0000 (20:26 +0000)
commit3c5a62b5226ca5db993660281e9c2a7275d9fb02
tree639ea9917704df4f580926abcfefd5f5fe466025
parentf5afcd3dd0dca7fe869311c51da54d5a889191ba
drm/i915: fix calculation of eDP signal levels on Sandybridge

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>
Cc: stable@kernel.org
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c