]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Honour LVDS sync polarity from EDID
authorBryan Freed <bfreed@google.com>
Wed, 12 Jan 2011 21:43:19 +0000 (13:43 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Jan 2011 13:12:16 +0000 (13:12 +0000)
commitaa9b500ddf1a6318e7cf8b1754696edddae86db9
tree097555b4a1e4bc13520d86ad8678f6c524d218a6
parentccab5c82759e2ace74b2e84f82d1e0eedd932571
drm/i915: Honour LVDS sync polarity from EDID

The i915 driver normally assumes the video bios has configured several
of the LVDS panel registers, and it just inherits the values. If the
vbios has not run, several of these will need to be setup. So we need to
check that the LVDS sync polarity is correctly configured per any
available modelines (e.g. EDID) and adjust if not, issuing a warning as
we do.

Signed-off-by: Mark Hayter <mdhayter@chromium.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c