drm/i915: handle bogus VBT panel timing
commit37df96736bfe6f5fd9a141d62946e1083d73e712
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 23 Feb 2009 23:36:42 +0000 (23 15:36 -0800)
committerDave Airlie <airlied@linux.ie>
Wed, 25 Feb 2009 04:10:42 +0000 (25 14:10 +1000)
tree6ea4a8d65929f0ca71379e556a2703577f435a8d
parent7c04d1d97a8d918b7ae2ef478229862b71a65f06
drm/i915: handle bogus VBT panel timing

We've seen cases in the wild where the VBT sync data is wrong, so add
some code to fix it up in that case, taking care to make sure that the
total is greater than the sync end.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/i915/intel_bios.c