xf86-video-intel: Branch 'modesetting' - src/i830_sdvo.c

Eric Anholt anholt at kemper.freedesktop.org
Wed Dec 13 08:43:14 EET 2006


 src/i830_sdvo.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 63bf48481d4e5e285fdfe7037ea4150283163a54 (from 41444183b59ed84c09749ca89afbef036d42ec5f)
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Dec 12 22:42:41 2006 -0800

    Correct typo in mac mini hack, and return modes when the hack is unnecessary.

diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index 895639e..68ee941 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -1003,7 +1003,7 @@ i830_sdvo_get_modes(xf86OutputPtr output
 
     modes = i830_ddc_get_modes(output);
     if (modes != NULL)
-	return NULL;
+	return modes;
 
     /* Mac mini hack.  On this device, I get DDC through the analog, which
      * load-detects as disconnected.  I fail to DDC through the SDVO DDC,



More information about the xorg-commit mailing list