Bug 60687
Summary: | Using radeon.audio=1 blocks hdmi display output on Radeon 5760 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Gabor Hasenfrasz (hasenfrasz.gabor) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | alexdeucher, krah.tm, zajec5 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.10, 3.11-rc3 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg log for drm and radeon lines
output of xrandr verbose avivotool regs hdmi output on kernel 3.9 avivotool regs hdmi output on kernel 3.10 |
Created attachment 107089 [details]
output of xrandr verbose
Can you bisect? (In reply to Alex Deucher from comment #2) > Can you bisect? Yes, I'm doing it. 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. (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 (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. Created attachment 107104 [details]
avivotool regs hdmi output on kernel 3.9
This is with radeon.audio=1 kernel parameter with kernel 3.9.9
Created attachment 107105 [details]
avivotool regs hdmi output on kernel 3.10
This is with radeon.audio=1 kernel parameter with kernel 3.10.3
@Gabor: can you boot 3.10.3 and call: avivotool regset 0x12c44 0x00000033 (Please make it *after* connecting HDMI display, after it breaks) @Rafał: It's working. After switching to mirroring, or to HDMI only, and entering this command, the display starts working with sound. 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 @Rafał: I've tested the patch and solves the problem in my case. Thank you! *** Bug 60709 has been marked as a duplicate of this bug. *** Fix is in Linus's tree: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d43a93c8d9bc4e0dc0293b6458c077c3c797594f Resolved, code fix? @Rafał: I've changed it to resolved, code fix. Sorry. |
Created attachment 107088 [details] 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.