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.
Created attachment 36529 [details]
Created attachment 36530 [details]
Created attachment 36531 [details]
[KMS] regs dump
Created attachment 36532 [details]
[UMS r] Xorg.0.log
Created attachment 36533 [details]
[UMS r] regs dump
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.
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!
Created attachment 36536 [details]
[BOOT + UMS r] regs dump
Regs with X started using radeon UMS. TV in 720p, still working!
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?
Created attachment 36544 [details]
Differences in registers dumps
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.
Created attachment 36615 [details] [review]
nb_misc pcie regs are only accessible via io ports
Does the attached patch help?
(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!