Module Name:    xsrc
Committed By:   macallan
Date:           Wed Jul 13 22:43:04 UTC 2011

Modified Files:
        xsrc/external/mit/xf86-video-r128/dist/src: r128_driver.c

Log Message:
Rage 128 M3 can have DFP output


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
    xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c
diff -u xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c:1.6 xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c:1.7
--- xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c:1.6	Wed Jun 29 04:11:31 2011
+++ xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c	Wed Jul 13 22:43:04 2011
@@ -1059,7 +1059,8 @@
 	case PCI_CHIP_RAGE128LF:
 	case PCI_CHIP_RAGE128MF:
 	case PCI_CHIP_RAGE128ML: 
-			info->HasPanelRegs = TRUE;  
+			info->HasPanelRegs = TRUE; 
+			info->isDFP = TRUE; 
 			/* which chips support dualhead? */
 			info->HasCRTC2 = TRUE;  
 			break;
@@ -1421,7 +1422,7 @@
 
     MonInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, info->pI2CBus);
 #ifdef __NetBSD__
-    {
+    if (MonInfo == NULL) {
     	struct wsdisplayio_edid_info ei;
     	char buffer[1024];
     	int i, j;

Reply via email to