]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/sdvo: Restore guess of the DDC bus in absence of VBIOS
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Aug 2010 14:26:41 +0000 (15:26 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Sep 2010 10:14:16 +0000 (11:14 +0100)
commitfd050276a90fe8e151d4139ee3775fd8b1098737
treec2e416c77a18a84f5aa6159ecd1fa13185ea196c
parent0e4a1e9ff0e73066cc046afce5bd96c6fcd08b8a
drm/i915/sdvo: Restore guess of the DDC bus in absence of VBIOS

If the VBIOS tells us the mapping of the SDVO device onto the DDC bus,
use it. However, if there is no VBIOS available that mapping is
uninitialised and we should fallback to our earlier guess.

Fix regression introduced in 6b61882f (which in turn is a fix for the
regression caused by the introduction of this guess, 31440fc).

References:

  Bug 29499 - [945GM] Screen disconnected because of missing VBIOS
  https://bugs.freedesktop.org/show_bug.cgi?id=29499

  Bug 15109 - i945GM fails to detect EDID on DVI port
  https://bugzilla.kernel.org/show_bug.cgi?id=15109

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reported-and-tested-by: Paul Neumann <paul104x@yahoo.de>
Cc: Adam Jackson <ajax@redhat.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: stable@kernel.org
drivers/gpu/drm/i915/intel_sdvo.c