https://bugs.freedesktop.org/show_bug.cgi?id=28774
Summary: RS780: No picture over HDMI Product: DRI Version: XOrg CVS Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: zajec5@gmail.com
This is netbook MSI U230 with RS780 using drm-radeon-testing.
When I connect TV using HDMI I can see it's resolutions in xrandr and even enabling it seems to work fine (1920x1080 is selected, my desktop expands) but there is nothing displayed on TV.
I've tried KMS radeon, DDX radeon, DDX radeonhd. Same result for each.
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #1 from Rafał Miłecki zajec5@gmail.com 2010-06-27 00:18:30 PDT --- Created an attachment (id=36529) --> (https://bugs.freedesktop.org/attachment.cgi?id=36529) [KMS] Xorg.0.log
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #2 from Rafał Miłecki zajec5@gmail.com 2010-06-27 00:19:02 PDT --- Created an attachment (id=36530) --> (https://bugs.freedesktop.org/attachment.cgi?id=36530) [KMS] dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #3 from Rafał Miłecki zajec5@gmail.com 2010-06-27 00:19:31 PDT --- Created an attachment (id=36531) --> (https://bugs.freedesktop.org/attachment.cgi?id=36531) [KMS] regs dump
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #4 from Rafał Miłecki zajec5@gmail.com 2010-06-27 00:20:40 PDT --- Created an attachment (id=36532) --> (https://bugs.freedesktop.org/attachment.cgi?id=36532) [UMS r] Xorg.0.log
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #5 from Rafał Miłecki zajec5@gmail.com 2010-06-27 00:21:11 PDT --- Created an attachment (id=36533) --> (https://bugs.freedesktop.org/attachment.cgi?id=36533) [UMS r] regs dump
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #6 from Rafał Miłecki zajec5@gmail.com 2010-06-27 00:23:13 PDT --- Created an attachment (id=36534) --> (https://bugs.freedesktop.org/attachment.cgi?id=36534) [BOOT] regs dump
Regs dump after booting (no X, no fb driver, no KMS) with HDMI connected. Both: PANEL and TV (!) were displaying console with TV telling it's 1080p.
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #7 from Rafał Miłecki zajec5@gmail.com 2010-06-27 00:24:27 PDT --- Created an attachment (id=36535) --> (https://bugs.freedesktop.org/attachment.cgi?id=36535) [BOOT + UMS r] Xorg.0.log
After booting with HDMI attached (and seeing picture on it) I started X using radeon UMS. TV switched to 720p and was still working!
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #8 from Rafał Miłecki zajec5@gmail.com 2010-06-27 00:25:46 PDT --- Created an attachment (id=36536) --> (https://bugs.freedesktop.org/attachment.cgi?id=36536) [BOOT + UMS r] regs dump
Regs with X started using radeon UMS. TV in 720p, still working!
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #9 from Rafał Miłecki zajec5@gmail.com 2010-06-27 00:33:30 PDT --- Created an attachment (id=36537) --> (https://bugs.freedesktop.org/attachment.cgi?id=36537) diff -u dump.kms.log dump.boot.log
I expected same displays layout with 3 dumps: dump.kms.log ─ [KMS] regs dump dump.radeon.log ─ [UMS r] regs dump dump.boot.log ─ [BOOT] regs dump
Last one (dump.boot.log) is the only working so we may want to compare for example dump.kms.log with dump.boot.log.
Unfortunately there are many registers that differ. Any hint which group should I try?
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #10 from Rafał Miłecki zajec5@gmail.com 2010-06-27 04:59:14 PDT --- Created an attachment (id=36544) --> (https://bugs.freedesktop.org/attachment.cgi?id=36544) Differences in registers dumps
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #11 from Alex Deucher agd5f@yahoo.com 2010-06-28 22:38:29 PDT --- On avivo chips, the display regs start at 0x6000 (crtcs/grph/cur/etc.) and the output regs start at 0x7000 (dacs/dig/etc.). They only relevant register in your dump that's different is 0x75a0 (DIG_CNTL) and the only difference is that dig mode (DVI vs HDMI) either of which should work fine. I think the problem lies in the north bridge pcie config regs as the HDMI port uses the PCIEPHY transmitter which shares lanes with the northbrigde. I'm trying to get some better info on how it's supposed to work to help debug it.
https://bugs.freedesktop.org/show_bug.cgi?id=28774
--- Comment #12 from Alex Deucher agd5f@yahoo.com 2010-06-29 15:36:33 PDT --- Created an attachment (id=36615) View: https://bugs.freedesktop.org/attachment.cgi?id=36615 Review: https://bugs.freedesktop.org/review?bug=28774&attachment=36615
nb_misc pcie regs are only accessible via io ports
Does the attached patch help?
https://bugs.freedesktop.org/show_bug.cgi?id=28774
Rafał Miłecki zajec5@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #13 from Rafał Miłecki zajec5@gmail.com 2010-07-04 06:16:53 PDT --- (In reply to comment #12)
Created an attachment (id=36615)
View: https://bugs.freedesktop.org/attachment.cgi?id=36615 Review: https://bugs.freedesktop.org/review?bug=28774&attachment=36615
nb_misc pcie regs are only accessible via io ports
Does the attached patch help?
As I told you on IRC, my access to this netbook is limited. I didn't manage to test your patch until yesterday. However after yesterday's testing I can say, it works great! Thanks!
dri-devel@lists.freedesktop.org