]> bbs.cooldavid.org Git - net-next-2.6.git/commit
i915: fix ironlake edp panel setup (v4)
authorDave Airlie <airlied@redhat.com>
Wed, 30 Jun 2010 01:46:17 +0000 (11:46 +1000)
committerEric Anholt <eric@anholt.net>
Thu, 1 Jul 2010 22:33:19 +0000 (15:33 -0700)
commitfe27d53e5c597ee5ba5d72a29d517091f244e974
tree4c29d58dc8fa06ffbf12c35ea570328ffa4736d0
parentadcdbc6651a7086b99827cf50623a02d941261f1
i915: fix ironlake edp panel setup (v4)

The eDP spec claims a 20% overhead for the 8:10 encoding scheme used
on the wire. Take this into account when picking the lane/clock speed
for the panel.

v3: some panels are out of spec, try our best to deal with them, don't
refuse modes on eDP panels, and try the largest allowed settings if
all else fails on eDP.
v4: fix stupid typo, forgot to git add before amending.

Fixes several reports in bugzilla:

      https://bugs.freedesktop.org/show_bug.cgi?id=28070

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_dp.c