]> git.baikalelectronics.ru Git - kernel.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)
commit54635cf66f250ef1a247ba6cc0185b1a31509c8f
tree097555b4a1e4bc13520d86ad8678f6c524d218a6
parent5e931c87f13fef0193f2dc90d37b55a17bc55d19
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