From owner-freebsd-x11@FreeBSD.ORG Tue Nov 8 01:00:34 2005 Return-Path: X-Original-To: x11@hub.freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A16416A41F for ; Tue, 8 Nov 2005 01:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B1AC43D46 for ; Tue, 8 Nov 2005 01:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA810XcT074043 for ; Tue, 8 Nov 2005 01:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA810XSN074042; Tue, 8 Nov 2005 01:00:33 GMT (envelope-from gnats) Date: Tue, 8 Nov 2005 01:00:33 GMT Message-Id: <200511080100.jA810XSN074042@freefall.freebsd.org> To: x11@FreeBSD.org From: Dejan Lesjak Cc: Subject: Re: ports/88623: Apple Cinema Display - Xorg - ATI causes unrecoverable sleep mode X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dejan Lesjak List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 01:00:34 -0000 The following reply was made to PR ports/88623; it has been noted by GNATS. From: Dejan Lesjak To: bug-followup@freebsd.org, john@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--