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: drivers_video-dri@kernel-bugs.osdl.org Reporter: hasenfrasz.gabor@gmail.com 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.
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #1 from Gabor Hasenfrasz hasenfrasz.gabor@gmail.com --- Created attachment 107089 --> https://bugzilla.kernel.org/attachment.cgi?id=107089&action=edit output of xrandr verbose
https://bugzilla.kernel.org/show_bug.cgi?id=60687
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #2 from Alex Deucher alexdeucher@gmail.com --- Can you bisect?
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #3 from Gabor Hasenfrasz hasenfrasz.gabor@gmail.com --- (In reply to Alex Deucher from comment #2)
Can you bisect?
Yes, I'm doing it.
https://bugzilla.kernel.org/show_bug.cgi?id=60687
Rafał Miłecki zajec5@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zajec5@gmail.com
--- Comment #4 from Rafał Miłecki zajec5@gmail.com --- 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.
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #5 from Gabor Hasenfrasz hasenfrasz.gabor@gmail.com --- (In reply to Alex Deucher from comment #2)
Can you bisect?
Bisect finished:
d3418eacad403033e95e49dc14afa37c2112c134 is the first bad commit commit d3418eacad403033e95e49dc14afa37c2112c134 Author: Rafał Miłecki zajec5@gmail.com 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.
Signed-off-by: Rafał Miłecki zajec5@gmail.com Signed-off-by: Alex Deucher alexander.deucher@amd.com
:040000 040000 67e10b90afeefe688d0c291e603c80dd7a9e810a 1105ef4336989eee87c971b035fedcc092c42417 M drivers
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #6 from Gabor Hasenfrasz hasenfrasz.gabor@gmail.com --- (In reply to Rafał Miłecki from comment #4)
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.
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #7 from Gabor Hasenfrasz hasenfrasz.gabor@gmail.com --- 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
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #8 from Gabor Hasenfrasz hasenfrasz.gabor@gmail.com --- 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
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #9 from Rafał Miłecki zajec5@gmail.com --- @Gabor: can you boot 3.10.3 and call: avivotool regset 0x12c44 0x00000033
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #10 from Rafał Miłecki zajec5@gmail.com --- (Please make it *after* connecting HDMI display, after it breaks)
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #11 from Gabor Hasenfrasz hasenfrasz.gabor@gmail.com --- @Rafał: It's working. After switching to mirroring, or to HDMI only, and entering this command, the display starts working with sound.
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #12 from Rafał Miłecki zajec5@gmail.com --- 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
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #13 from Gabor Hasenfrasz hasenfrasz.gabor@gmail.com --- @Rafał: I've tested the patch and solves the problem in my case. Thank you!
https://bugzilla.kernel.org/show_bug.cgi?id=60687
Torsten Krah krah.tm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |krah.tm@gmail.com
--- Comment #14 from Torsten Krah krah.tm@gmail.com --- *** Bug 60709 has been marked as a duplicate of this bug. ***
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #15 from Rafał Miłecki zajec5@gmail.com --- Fix is in Linus's tree: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d4...
Resolved, code fix?
https://bugzilla.kernel.org/show_bug.cgi?id=60687
Gabor Hasenfrasz hasenfrasz.gabor@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |CODE_FIX
https://bugzilla.kernel.org/show_bug.cgi?id=60687
--- Comment #16 from Gabor Hasenfrasz hasenfrasz.gabor@gmail.com --- @Rafał: I've changed it to resolved, code fix. Sorry.
dri-devel@lists.freedesktop.org