[Intel-gfx] [PATCH 2/2] i915: Read the right SDVO register when detcting HDMI.
krh at bitplanet.net
krh at bitplanet.net
Fri Mar 13 19:09:37 CET 2009
From: Kristian Høgsberg <krh at redhat.com>
Signed-off-by: Kristian Høgsberg <krh at redhat.com>
---
drivers/gpu/drm/i915/intel_display.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index a283427..d390b8a 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1480,7 +1480,7 @@ static void intel_setup_outputs(struct drm_device *dev)
if (!found && SUPPORTS_INTEGRATED_HDMI(dev))
intel_hdmi_init(dev, SDVOB);
}
- if (!IS_G4X(dev) || (I915_READ(SDVOB) & SDVO_DETECTED)) {
+ if (!IS_G4X(dev) || (I915_READ(SDVOC) & SDVO_DETECTED)) {
found = intel_sdvo_init(dev, SDVOC);
if (!found && SUPPORTS_INTEGRATED_HDMI(dev))
intel_hdmi_init(dev, SDVOC);
--
1.6.2
More information about the Intel-gfx
mailing list