Skip to contentSkip to conversation

New: RS780: No picture over HDMI

Bug 28774 [email protected] 1 participant 14 messages Jun 27, 2010 – Jul 4, 2010

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 28774] RS780: No picture over HDMI

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #1 from Rafał Miłecki <[email protected]> 2010-06-27 00:18:30 PDT --- Created an attachment (id=36529)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36529)
[KMS] Xorg.0.log

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #2 from Rafał Miłecki <[email protected]> 2010-06-27 00:19:02 PDT --- Created an attachment (id=36530)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36530)
[KMS] dmesg

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #3 from Rafał Miłecki <[email protected]> 2010-06-27 00:19:31 PDT --- Created an attachment (id=36531)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36531)
[KMS] regs dump

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #4 from Rafał Miłecki <[email protected]> 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

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #5 from Rafał Miłecki <[email protected]> 2010-06-27 00:21:11 PDT --- Created an attachment (id=36533)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36533)
[UMS r] regs dump

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #6 from Rafał Miłecki <[email protected]> 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.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #7 from Rafał Miłecki <[email protected]> 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!

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #8 from Rafał Miłecki <[email protected]> 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!

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #9 from Rafał Miłecki <[email protected]> 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?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #10 from Rafał Miłecki <[email protected]> 2010-06-27 04:59:14 PDT --- Created an attachment (id=36544)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36544)
Differences in registers dumps

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #11 from Alex Deucher <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

--- Comment #12 from Alex Deucher <[email protected]> 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?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 28774] RS780: No picture over HDMI

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28774

Rafał Miłecki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #13 from Rafał Miłecki <[email protected]> 2010-07-04 06:16:53 PDT --- (In reply to comment #12)

Quoted 1 line

Created an attachment (id=36615)

View: https://bugs.freedesktop.org/attachment.cgi?id=36615
Review: https://bugs.freedesktop.org/review?bug=28774&attachment=36615

Quoted 3 lines

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!

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel