Skip to contentSkip to conversation

New: Using radeon.audio=1 blocks hdmi display output on Radeon 5760

Bug 60687 [email protected] 1 participant 18 messages Aug 4, 2013 – Aug 19, 2013

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=60687

            Bug ID: 60687
           Summary: Using radeon.audio=1 blocks hdmi display output on
                    Radeon 5760
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.10, 3.11-rc3
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 107088
--> https://bugzilla.kernel.org/attachment.cgi?id=107088&action=edit
dmesg log for drm and radeon lines

On kernel 3.9 using radeon.audio=1 can produce display and audio on HDMI output. Using 3.10 and 3.11-rc3 with this parameter breaks HDMI output (no screen). Without this parameter HDMI display works fine, but no audio.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Alex Deucher <[email protected]> --- Can you bisect?

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

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

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Rafał Miłecki <[email protected]> ---
Do you have some second monitor or other machine to ssh the first one?

I'd like to see output of command
avivotool regs hdmi
when using 3.9 with audio=1 and then using 3.10/3.11 with audio=1.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #5 from Gabor Hasenfrasz <[email protected]> --- (In reply to Alex Deucher from comment #2)

Quoted 1 line

Can you bisect?

Bisect finished:

d3418eacad403033e95e49dc14afa37c2112c134 is the first bad commit commit d3418eacad403033e95e49dc14afa37c2112c134

Author: Rafał Miłecki <[email protected]>
Date:   Thu Apr 18 09:23:12 2013 -0400

drm/radeon/evergreen: setup HDMI before enabling it

Closed source driver fglrx seems to enable infoframes and audio packets at the end, which makes sense, do the same.

:040000 040000 67e10b90afeefe688d0c291e603c80dd7a9e810a
1105ef4336989eee87c971b035fedcc092c42417 M drivers

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #6 from Gabor Hasenfrasz <[email protected]> --- (In reply to Rafał Miłecki from comment #4)

Quoted 5 lines

Do you have some second monitor or other machine to ssh the first one?

I'd like to see output of command
avivotool regs hdmi
when using 3.9 with audio=1 and then using 3.10/3.11 with audio=1.

Yes I do. I will run it now.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #7 from Gabor Hasenfrasz <[email protected]> --- Created attachment 107104
--> https://bugzilla.kernel.org/attachment.cgi?id=107104&action=edit
avivotool regs hdmi output on kernel 3.9

This is with radeon.audio=1 kernel parameter with kernel 3.9.9

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#8 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #8 from Gabor Hasenfrasz <[email protected]> --- Created attachment 107105
--> https://bugzilla.kernel.org/attachment.cgi?id=107105&action=edit
avivotool regs hdmi output on kernel 3.10

This is with radeon.audio=1 kernel parameter with kernel 3.10.3

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#9 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #9 from Rafał Miłecki <[email protected]> --- @Gabor: can you boot 3.10.3 and call:
avivotool regset 0x12c44 0x00000033

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #10 from Rafał Miłecki <[email protected]> --- (Please make it *after* connecting HDMI display, after it breaks)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #11 from Gabor Hasenfrasz <[email protected]> --- @Rafał: It's working. After switching to mirroring, or to HDMI only, and entering this command, the display starts working with sound.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #12 from Rafał Miłecki <[email protected]> --- Fix posted:
[FIX][PATCH] drm/radeon: fix WREG32_OR macro setting bits in a register
http://lists.freedesktop.org/archives/dri-devel/2013-August/043835.html

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #13 from Gabor Hasenfrasz <[email protected]> --- @Rafał: I've tested the patch and solves the problem in my case. Thank you!

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

Torsten Krah <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #14 from Torsten Krah <[email protected]> --- *** Bug 60709 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#15 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #15 from Rafał Miłecki <[email protected]> --- Fix is in Linus's tree:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d43a93c8d9bc4e0dc0293b6458c077c3c797594f

Resolved, code fix?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#16 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

Gabor Hasenfrasz <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX
Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#17 lore raw

[Bug 60687] Using radeon.audio=1 blocks hdmi display output on Radeon 5760

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=60687

--- Comment #16 from Gabor Hasenfrasz <[email protected]> --- @Rafał: I've changed it to resolved, code fix. Sorry.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel