https://bugzilla.kernel.org/show_bug.cgi?id=34822
Summary: Blank display on Toshiba laptop C670D-10C using AMD E-240 Palm chip Product: Drivers Version: 2.5 Kernel Version: 2.6.39-rc7 Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) AssignedTo: drivers_video-dri@kernel-bugs.osdl.org ReportedBy: anisse@astier.eu Regression: No
Created an attachment (id=57132) --> (https://bugzilla.kernel.org/attachment.cgi?id=57132) dmesg using Linus' HEAD of May 10th 2011
On a Toshiba laptop using an AMD Fusion GPU (SoC: E-240), I am unable to have screen turn on with KMS. It stays blank, even when starting the X server.
I tried with 2.6.38.5, Today's Linus tree, Yesterday's drm-2.6/drm-next, all to the same result.
Here is the lspci:
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1510] 00:01.0 VGA compatible controller [0300]: ATI Technologies Inc Device [1002:9803] 00:11.0 SATA controller [0106]: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] [1002:4391] (rev 40) 00:12.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397] 00:12.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396] 00:13.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397] 00:13.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396] 00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 42) 00:14.1 IDE interface [0101]: ATI Technologies Inc SB700/SB800 IDE Controller [1002:439c] (rev 40) 00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383] (rev 40) 00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host controller [1002:439d] (rev 40) 00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384] (rev 40) 00:15.0 PCI bridge [0604]: ATI Technologies Inc Device [1002:43a0] 00:15.1 PCI bridge [0604]: ATI Technologies Inc Device [1002:43a1] 00:15.2 PCI bridge [0604]: ATI Technologies Inc Device [1002:43a2] 00:16.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397] 00:16.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396] 00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1700] (rev 43) 00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1701] 00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1702] 00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1703] 00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1704] 00:18.5 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1718] 00:18.6 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1716] 00:18.7 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1719] 03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:8176] (rev 01) 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #1 from Anisse Astier anisse@astier.eu 2011-05-10 14:58:40 --- Created an attachment (id=57142) --> (https://bugzilla.kernel.org/attachment.cgi?id=57142) Xorg log starting the X server manually in verbose mode
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #2 from Anisse Astier anisse@astier.eu 2011-05-10 15:05:27 --- Created an attachment (id=57152) --> (https://bugzilla.kernel.org/attachment.cgi?id=57152) dmesg log with drm.debug=1 loglevel=9
https://bugzilla.kernel.org/show_bug.cgi?id=34822
Anisse Astier anisse@astier.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57152|0 |1 is obsolete| |
--- Comment #3 from Anisse Astier anisse@astier.eu 2011-05-10 15:21:33 --- Created an attachment (id=57162) --> (https://bugzilla.kernel.org/attachment.cgi?id=57162) dmesg log with drm.debug=4
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #4 from Anisse Astier anisse@astier.eu 2011-05-10 15:48:22 --- I tried booting with video=1600x900, 1440x900, 1280x800 and 1024x768 and none of them changed anything.
I didn't specify it, but screen is blank AND backlight is off.
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #5 from Anisse Astier anisse@astier.eu 2011-05-10 15:59:30 --- Created an attachment (id=57182) --> (https://bugzilla.kernel.org/attachment.cgi?id=57182) vbios rom in /sys/bus/pci/devices/0000:00:01.0
https://bugzilla.kernel.org/show_bug.cgi?id=34822
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #6 from Alex Deucher alexdeucher@gmail.com 2011-05-10 16:01:56 --- travis DP to LVDS bridges are not supported yet. I'll update this bug when I have patches ready.
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #7 from Alex Deucher alexdeucher@gmail.com 2011-05-26 15:45:37 --- There is initial support for DP bridges in drm-radeon-testing: http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=shortlog;h=r...
https://bugzilla.kernel.org/show_bug.cgi?id=34822
Anisse Astier anisse@astier.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57162|0 |1 is obsolete| |
--- Comment #8 from Anisse Astier anisse@astier.eu 2011-05-26 16:57:21 --- Created an attachment (id=59612) --> (https://bugzilla.kernel.org/attachment.cgi?id=59612) Dmesg with drm-radeon-testing as of 05/26
Just tested drm-radeon-testing, unfortunately, it seems like there is no change, screen is still blank, no backlight.
Would it be possible that the radeon_encoder->encoder_id information is wrong? And that there is no DP bridge ?
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #9 from Alex Deucher alexdeucher@gmail.com 2011-05-26 17:10:03 --- (In reply to comment #8)
Would it be possible that the radeon_encoder->encoder_id information is wrong? And that there is no DP bridge ?
No it's correct. You can see the DPCD for the bridge printed and the link seems to train ok.
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #10 from Alex Deucher alexdeucher@gmail.com 2011-05-26 21:52:25 --- Can you attach your xorg log and the output of xrandr --verbose from the new kernel?
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #11 from Alex Deucher alexdeucher@gmail.com 2011-05-26 22:19:20 --- Created an attachment (id=59622) --> (https://bugzilla.kernel.org/attachment.cgi?id=59622) fix handling of DP to LVDS bridges
This patch on top of drm-radeon-testing should get you up and running.
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #12 from Alex Deucher alexdeucher@gmail.com 2011-05-26 23:43:54 --- Created an attachment (id=59642) --> (https://bugzilla.kernel.org/attachment.cgi?id=59642) additional patch
If the patch in comment 11 doesn't work, you can try this one as well on top of the patch in comment 11.
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #13 from Anisse Astier anisse@astier.eu 2011-05-27 10:34:38 --- Created an attachment (id=59652) --> (https://bugzilla.kernel.org/attachment.cgi?id=59652) Xorg log with drm-radeon-testing as of 05/26 (no patch applied)
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #14 from Anisse Astier anisse@astier.eu 2011-05-27 10:45:53 --- Created an attachment (id=59662) --> (https://bugzilla.kernel.org/attachment.cgi?id=59662) Dmesg with 1st patch applied
As you asked, I tried with first patch, then second patch on top of it.
No change on display (still blank, no backlight) in any case.
But we can see here a difference in modesets shown kernel log, before and after first patch.
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #15 from Anisse Astier anisse@astier.eu 2011-05-27 10:48:09 --- Created an attachment (id=59672) --> (https://bugzilla.kernel.org/attachment.cgi?id=59672) xrandr output before and after first patch
Here you can see the output of xrandr before and after applying patch in comment 11 . Adding patch in comment 12 didn't change anything.
https://bugzilla.kernel.org/show_bug.cgi?id=34822
Florian Mickler florian@mickler.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |florian@mickler.org
--- Comment #16 from Florian Mickler florian@mickler.org 2011-06-21 11:57:00 --- A patch referencing this bug report has been merged in v3.0-rc4:
commit f89931f345f26c43b109191fbfcfa506781111c0 Author: Alex Deucher alexdeucher@gmail.com Date: Mon Jun 13 17:13:35 2011 -0400
drm/radeon/kms: fix handling of DP to LVDS bridges
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #17 from Anisse Astier anisse@astier.eu 2011-06-21 14:43:04 --- It's the same patch as in comment 11 which I reported tested and non-working in comment 14 . I just tested 3.0-rc4, screen is still blank and/or no backlight.
The only improvement (difference ?) seems to be in modelines detection.
--- Comment #18 from Alex Deucher alexdeucher@gmail.com 2011-06-21 18:47:40 --- There are a number of additional fixes in 3.0-rc4. Do any of them help?
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #19 from Anisse Astier anisse@astier.eu 2011-06-22 14:02:24 --- Created an attachment (id=63192) --> (https://bugzilla.kernel.org/attachment.cgi?id=63192) Dmesg with 3.0-rc4
Alas, no improvement. Just like I said in comment 14, native resolution(1600x900) is now detected and in the default modeline.
See this dmesg log with 3.0-rc4 for more information. Is there anything else I can provide/do ?
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #20 from Alex Deucher alexdeucher@gmail.com 2011-08-29 21:06:20 --- Does the patch from comment 12 help with a newer kernel (3.1)?
https://bugzilla.kernel.org/show_bug.cgi?id=34822
--- Comment #21 from Anisse Astier anisse@astier.eu 2011-08-30 10:12:34 --- I tried the patch from comment 12 on top of linus' tree (HEAD: 0f43dd546d991ca260d8a72d07f). I tried without the patch. Unfortunately, there was no change, and screen is still black.
https://bugzilla.kernel.org/show_bug.cgi?id=34822
Anisse Astier anisse@astier.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |CODE_FIX
--- Comment #22 from Anisse Astier anisse@astier.eu 2012-04-29 13:02:40 --- This should have been fixed by now.
Reference: https://bugs.freedesktop.org/show_bug.cgi?id=41569
dri-devel@lists.freedesktop.org