From patchwork Sat May 21 12:21:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Henke X-Patchwork-Id: 805922 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4LGQGkZ012707 for ; Sat, 21 May 2011 16:26:37 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 883759EEA4 for ; Sat, 21 May 2011 09:26:16 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sat, 21 May 2011 16:26:37 +0000 (UTC) X-Greylist: delayed 362 seconds by postgrey-1.31 at gabe; Sat, 21 May 2011 05:27:32 PDT Received: from smtp01.worldserver.net (smtp01.worldserver.net [217.13.200.36]) by gabe.freedesktop.org (Postfix) with ESMTP id 186199E734 for ; Sat, 21 May 2011 05:27:32 -0700 (PDT) Received: from [172.22.2.53] (p579FB8CF.dip.t-dialin.net [87.159.184.207]) (Authenticated sender: postmaster@funk-hippies.org) by smtp01.worldserver.net (Postfix) with ESMTPSA id 3192020051; Sat, 21 May 2011 14:21:26 +0200 (CEST) Message-ID: <4DD7AE3F.80107@users.sourceforge.net> Date: Sat, 21 May 2011 14:21:19 +0200 From: Joachim Henke User-Agent: Mozilla/5.0 (X11; U; Linux ppc64; en-US; rv:1.9.2.17) Gecko/20110516 Icedove/3.1.10 MIME-Version: 1.0 To: David Airlie , Alex Deucher , Dave Airlie Subject: [regression] blank screen with radeondrmfb on iMac G5 (ALS) X-Mailman-Approved-At: Sat, 21 May 2011 09:24:14 -0700 Cc: dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Hello, I found a regression in Linux 2.6.37.2 - I know this report comes quite late, but I had no time to investigate until now. And I found that this still persists up to 2.6.39 :( When I upgraded from 2.6.37 to 2.6.37.3, after reboot my machine came up with a blank/black screen (backlight on). It's an iMac G5 (Ambient Light Sensor) with a Radeon 9600 (RV350). After Xorg had started, the screen remained blank. There were only a few Radeon specific changes between these two versions, so that I could quickly identify the cause. It's commit ce9eb2c297f918be46e36dd86b7e88cabdc3e22df (9fad321ac6bedd96f449754a1a25289ea1789a49 upstream). After reverting this with a simple patch, it works properly again: This is a diff from the dmesg [without my patch] -> [with my patch]: [drm] ring test succeeded in 0 usecs [drm] radeon: ib pool ready. [drm] ib test succeeded in 0 usecs -[drm] Connector Table: 12 (mac g5 9600) -[drm] No valid Ext TMDS info found in BIOS -[drm] No TV DAC info found in BIOS +[drm] Connector Table: 1 (generic) [drm] No TMDS info found in BIOS +[drm] No TV DAC info found in BIOS [drm] Radeon Display Connectors [drm] Connector 0: [drm] DVI-I [drm] HPD1 [drm] DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64 [drm] Encoders: -[drm] DFP2: INTERNAL_DVO1 +[drm] DFP1: INTERNAL_TMDS1 [drm] CRT2: INTERNAL_DAC2 [drm] Connector 1: -[drm] DVI-I -[drm] HPD2 +[drm] VGA [drm] DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 [drm] Encoders: -[drm] DFP1: INTERNAL_TMDS1 [drm] CRT1: INTERNAL_DAC1 [drm] Connector 2: [drm] S-video On which kind of machines was the original commit tested/supposed to work? Do you see a possibility to fix this in a proper way upstream? Thanks and regards, Joachim Henke --- linux-2.6.39/drivers/gpu/drm/radeon/radeon_combios.c.orig +++ linux-2.6.39/drivers/gpu/drm/radeon/radeon_combios.c @@ -1515,11 +1515,6 @@ (rdev->pdev->subsystem_device == 0x4a48)) { /* Mac X800 */ rdev->mode_info.connector_table = CT_MAC_X800; - } else if ((rdev->pdev->device == 0x4150) && - (rdev->pdev->subsystem_vendor == 0x1002) && - (rdev->pdev->subsystem_device == 0x4150)) { - /* Mac G5 9600 */ - rdev->mode_info.connector_table = CT_MAC_G5_9600; } else #endif /* CONFIG_PPC_PMAC */ #ifdef CONFIG_PPC64