ports/88623: Apple Cinema Display - Xorg - ATI causes
unrecoverable sleep mode
Dejan Lesjak
dejan.lesjak at ijs.si
Mon Nov 7 17:00:34 PST 2005
The following reply was made to PR ports/88623; it has been noted by GNATS.
From: Dejan Lesjak <dejan.lesjak at ijs.si>
To: bug-followup at freebsd.org,
john at boardom.ca
Cc:
Subject: Re: ports/88623: Apple Cinema Display - Xorg - ATI causes unrecoverable sleep mode
Date: Tue, 8 Nov 2005 01:51:12 +0100
--Boundary-00=_Ba/bDYJzOuxfmZw
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
The following patch for x11-servers/xorg-server port should do then. Can you
please confirm that?
--Boundary-00=_Ba/bDYJzOuxfmZw
Content-Type: text/plain;
charset="us-ascii";
name="xorg-server-applecinema.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="xorg-server-applecinema.patch"
Index: files/patch-radeon_driver.c
===================================================================
RCS file: /usr/local/repos/freebsd/ports/x11-servers/xorg-server/files/patch-radeon_driver.c,v
retrieving revision 1.3
diff -u -r1.3 patch-radeon_driver.c
--- files/patch-radeon_driver.c 22 Jun 2005 23:12:58 -0000 1.3
+++ files/patch-radeon_driver.c 8 Nov 2005 00:19:18 -0000
@@ -1,6 +1,16 @@
---- programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig Thu Feb 17 13:15:22 2005
-+++ programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c Thu Feb 17 13:21:09 2005
-@@ -2501,6 +2501,7 @@
+--- programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig Tue Nov 8 01:15:59 2005
++++ programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c Tue Nov 8 01:15:37 2005
+@@ -938,6 +938,9 @@ static RADEONMonitorType RADEONDisplayDD
+ MonType = MT_NONE;
+ }
+
++ OUTREG(info->DDCReg, INREG(info->DDCReg) &
++ ~(RADEON_GPIO_EN_0 | RADEON_GPIO_EN_1));
++
+ if (*MonInfo) {
+ if ((*MonInfo)->rawData[0x14] & 0x80) {
+ /* Note some laptops have a DVI output that uses internal TMDS,
+@@ -2284,6 +2287,7 @@ static Bool RADEONPreInitConfig(ScrnInfo
case PCI_CHIP_RV370_5464:
info->IsMobility = TRUE;
case PCI_CHIP_RV370_5B60:
@@ -8,7 +18,7 @@
case PCI_CHIP_RV370_5B64:
case PCI_CHIP_RV370_5B65:
info->ChipFamily = CHIP_FAMILY_RV380;
-@@ -7159,7 +7159,6 @@
+@@ -7159,7 +7163,6 @@ void RADEONAdjustFrame(int scrnIndex, in
RADEONDoAdjustFrame(pScrn, x, y, FALSE);
}
--Boundary-00=_Ba/bDYJzOuxfmZw--
More information about the freebsd-x11
mailing list