Bug 28774 - RS780: No picture over HDMI
Summary: RS780: No picture over HDMI
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-27 00:15 UTC by Rafał Miłecki
Modified: 2010-07-04 06:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
[KMS] Xorg.0.log (36.95 KB, text/plain)
2010-06-27 00:18 UTC, Rafał Miłecki
no flags Details
[KMS] dmesg (56.32 KB, text/plain)
2010-06-27 00:19 UTC, Rafał Miłecki
no flags Details
[KMS] regs dump (152.05 KB, text/plain)
2010-06-27 00:19 UTC, Rafał Miłecki
no flags Details
[UMS r] Xorg.0.log (167.28 KB, text/plain)
2010-06-27 00:20 UTC, Rafał Miłecki
no flags Details
[UMS r] regs dump (152.05 KB, text/plain)
2010-06-27 00:21 UTC, Rafał Miłecki
no flags Details
[BOOT] regs dump (152.05 KB, text/plain)
2010-06-27 00:23 UTC, Rafał Miłecki
no flags Details
[BOOT + UMS r] Xorg.0.log (107.92 KB, text/plain)
2010-06-27 00:24 UTC, Rafał Miłecki
no flags Details
[BOOT + UMS r] regs dump (152.05 KB, text/plain)
2010-06-27 00:25 UTC, Rafał Miłecki
no flags Details
diff -u dump.kms.log dump.boot.log (23.55 KB, text/plain)
2010-06-27 00:33 UTC, Rafał Miłecki
no flags Details
Differences in registers dumps (34.13 KB, application/xhtml+xml)
2010-06-27 04:59 UTC, Rafał Miłecki
no flags Details
nb_misc pcie regs are only accessible via io ports (6.17 KB, patch)
2010-06-29 15:36 UTC, Alex Deucher
no flags Details | Splinter Review

Description Rafał Miłecki 2010-06-27 00:15:59 UTC
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.
Comment 1 Rafał Miłecki 2010-06-27 00:18:30 UTC
Created attachment 36529 [details]
[KMS] Xorg.0.log
Comment 2 Rafał Miłecki 2010-06-27 00:19:02 UTC
Created attachment 36530 [details]
[KMS] dmesg
Comment 3 Rafał Miłecki 2010-06-27 00:19:31 UTC
Created attachment 36531 [details]
[KMS] regs dump
Comment 4 Rafał Miłecki 2010-06-27 00:20:40 UTC
Created attachment 36532 [details]
[UMS r] Xorg.0.log
Comment 5 Rafał Miłecki 2010-06-27 00:21:11 UTC
Created attachment 36533 [details]
[UMS r] regs dump
Comment 6 Rafał Miłecki 2010-06-27 00:23:13 UTC
Created attachment 36534 [details]
[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.
Comment 7 Rafał Miłecki 2010-06-27 00:24:27 UTC
Created attachment 36535 [details]
[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!
Comment 8 Rafał Miłecki 2010-06-27 00:25:46 UTC
Created attachment 36536 [details]
[BOOT + UMS r] regs dump

Regs with X started using radeon UMS. TV in 720p, still working!
Comment 9 Rafał Miłecki 2010-06-27 00:33:30 UTC
Created attachment 36537 [details]
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?
Comment 10 Rafał Miłecki 2010-06-27 04:59:14 UTC
Created attachment 36544 [details]
Differences in registers dumps
Comment 11 Alex Deucher 2010-06-28 22:38:29 UTC
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.
Comment 12 Alex Deucher 2010-06-29 15:36:33 UTC
Created attachment 36615 [details] [review]
nb_misc pcie regs are only accessible via io ports

Does the attached patch help?
Comment 13 Rafał Miłecki 2010-07-04 06:16:53 UTC
(In reply to comment #12)
> Created an attachment (id=36615) [details]
> 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!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.