* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
@ 2015-05-29 22:09 bugzilla-daemon
2015-05-29 22:10 ` bugzilla-daemon
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-05-29 22:09 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1553 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
Bug ID: 90777
Summary: radeon/audio: Removed CRC control programing broke
HDMI audio in Linux 4.0
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel@lists.freedesktop.org
Reporter: chewi@gentoo.org
Created attachment 116160
--> https://bugs.freedesktop.org/attachment.cgi?id=116160&action=edit
Patch to revert commit against 4.1-rc5
After upgrading to Linux 4.0 or above (latest tried is 4.1-rc5), HDMI audio
stopped working from my Radeon HD 4670 to my Yamaha RX-V775 receiver on the
second output. Strangely, it continued to work to my Acer monitor on the
primary output.
I bisected this back to 8ffea8570d5a7e9dd3c10349ebc3bd79487ae30b, which is
amusingly titled "removed unnecessary CRC control". I guess it's not so
unnecessary, after all! This does not cleanly revert against 4.1-rc5 as the
surrounding code has been removed but simply adding these single lines back
where they were is enough to get it working again. Please see the attached
patch.
The change also affects Evergreen, which I cannot test but a Gentoo user
reported what appears to be the same issue on his Mobility Radeon HD 5430.
https://forums.gentoo.org/viewtopic-p-7755600.html
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3031 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
@ 2015-05-29 22:10 ` bugzilla-daemon
2015-05-29 22:26 ` bugzilla-daemon
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-05-29 22:10 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 363 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
James Le Cuirot <chewi@gentoo.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |bisected
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1080 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
2015-05-29 22:10 ` bugzilla-daemon
@ 2015-05-29 22:26 ` bugzilla-daemon
2015-06-01 22:13 ` bugzilla-daemon
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-05-29 22:26 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 336 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
--- Comment #1 from James Le Cuirot <chewi@gentoo.org> ---
I should add that using xrandr to try and force audio on that output doesn't
help. I normally use this to switch between my monitor and my receiver.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1151 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
2015-05-29 22:10 ` bugzilla-daemon
2015-05-29 22:26 ` bugzilla-daemon
@ 2015-06-01 22:13 ` bugzilla-daemon
2015-06-02 14:41 ` bugzilla-daemon
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-06-01 22:13 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 435 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
--- Comment #2 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 116221
--> https://bugs.freedesktop.org/attachment.cgi?id=116221&action=edit
proper fix
The CRC registers don't need to be programmed. The driver was just updating
the wrong register when setting up the ACR packet control.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1450 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
` (2 preceding siblings ...)
2015-06-01 22:13 ` bugzilla-daemon
@ 2015-06-02 14:41 ` bugzilla-daemon
2015-06-02 14:46 ` bugzilla-daemon
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-06-02 14:41 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 621 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
--- Comment #3 from Itzamna <xamaniqinqu@gmail.com> ---
(In reply to Alex Deucher from comment #2)
> Created attachment 116221 [details] [review]
> proper fix
>
> The CRC registers don't need to be programmed. The driver was just updating
> the wrong register when setting up the ACR packet control.
Hello Alex,
Sadly, your patch does not fix HDMI audio on my machine (kernel 4.0.4; Radeon
HD 7970). Reverting commit 8ffea8570d5a7e9dd3c10349ebc3bd79487ae30b does fix
the issue.
- Itzamna
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1775 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
` (3 preceding siblings ...)
2015-06-02 14:41 ` bugzilla-daemon
@ 2015-06-02 14:46 ` bugzilla-daemon
2015-06-02 14:48 ` bugzilla-daemon
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-06-02 14:46 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 472 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Itzamna from comment #3)
> Hello Alex,
>
> Sadly, your patch does not fix HDMI audio on my machine (kernel 4.0.4;
> Radeon HD 7970). Reverting commit 8ffea8570d5a7e9dd3c10349ebc3bd79487ae30b
> does fix the issue.
>
> - Itzamna
What hardware and kernel are you using?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1377 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
` (4 preceding siblings ...)
2015-06-02 14:46 ` bugzilla-daemon
@ 2015-06-02 14:48 ` bugzilla-daemon
2015-06-02 14:59 ` bugzilla-daemon
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-06-02 14:48 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 521 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Itzamna from comment #3)
> Hello Alex,
>
> Sadly, your patch does not fix HDMI audio on my machine (kernel 4.0.4;
> Radeon HD 7970). Reverting commit 8ffea8570d5a7e9dd3c10349ebc3bd79487ae30b
> does fix the issue.
Sorry, I missed the 7970 part. This patch is not relevant to your board. It
should fix James's issue.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1420 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
` (5 preceding siblings ...)
2015-06-02 14:48 ` bugzilla-daemon
@ 2015-06-02 14:59 ` bugzilla-daemon
2015-06-02 21:36 ` bugzilla-daemon
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-06-02 14:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 659 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
--- Comment #6 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Itzamna from comment #3)
> Hello Alex,
>
> Sadly, your patch does not fix HDMI audio on my machine (kernel 4.0.4;
> Radeon HD 7970). Reverting commit 8ffea8570d5a7e9dd3c10349ebc3bd79487ae30b
> does fix the issue.
Does audio work properly on your board with the latest 4.1 kernel from Linus'
tree? Specifically make sure it has this patch:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2d1c18bba15daf89d75ce475ecd2068f483aa12f
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1687 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
` (6 preceding siblings ...)
2015-06-02 14:59 ` bugzilla-daemon
@ 2015-06-02 21:36 ` bugzilla-daemon
2015-06-10 2:53 ` bugzilla-daemon
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-06-02 21:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 230 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
--- Comment #7 from James Le Cuirot <chewi@gentoo.org> ---
That does indeed fix it here, thanks Alex.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1045 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
` (7 preceding siblings ...)
2015-06-02 21:36 ` bugzilla-daemon
@ 2015-06-10 2:53 ` bugzilla-daemon
2015-07-25 12:53 ` bugzilla-daemon
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-06-10 2:53 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 519 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
James Le Cuirot <chewi@gentoo.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from James Le Cuirot <chewi@gentoo.org> ---
I see this went into 4.1-rc7 so closing.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2057 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
` (8 preceding siblings ...)
2015-06-10 2:53 ` bugzilla-daemon
@ 2015-07-25 12:53 ` bugzilla-daemon
2015-07-25 14:30 ` bugzilla-daemon
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-07-25 12:53 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 422 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
--- Comment #9 from Shimi Chen <shimi.chen@gmail.com> ---
My HDMI audio also does not work since 4.0.
I tried installing the mainline 4.2rc3 kernel and it is not fixed.
Reverting to 3.17.6 fixes the issue.
I'm using Arch Linux and a laptop with Radeon HD 4570.
Should I report a separate bug?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1288 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
` (9 preceding siblings ...)
2015-07-25 12:53 ` bugzilla-daemon
@ 2015-07-25 14:30 ` bugzilla-daemon
2015-11-05 0:18 ` bugzilla-daemon
2015-12-14 19:50 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-07-25 14:30 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 934 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
--- Comment #10 from James Le Cuirot <chewi@gentoo.org> ---
(In reply to Shimi Chen from comment #9)
> My HDMI audio also does not work since 4.0.
> I tried installing the mainline 4.2rc3 kernel and it is not fixed.
> Reverting to 3.17.6 fixes the issue.
> I'm using Arch Linux and a laptop with Radeon HD 4570.
>
> Should I report a separate bug?
I think you should. Sound was still working for me thanks to this fix as of
4.2rc1. It's worth noting that multichannel PCM only started working for me
around 3.18 so userspace may be seeing your card a little differently. My
system gets confused between the EDID sent by my AV unit vs the EDID sent by my
stereo monitor so I had to add this line to /etc/modprobe.d/alsa.conf to get
surround working reliably.
options snd-hda-codec-hdmi static_hdmi_pcm=1
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1887 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
` (10 preceding siblings ...)
2015-07-25 14:30 ` bugzilla-daemon
@ 2015-11-05 0:18 ` bugzilla-daemon
2015-12-14 19:50 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-11-05 0:18 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 566 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
Maximilian Böhm <winlux@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #11 from Maximilian Böhm <winlux@gmail.com> ---
Definitely still broken on Linux 4.2 and 4.3 RC7. Works here with 3.18.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2107 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
` (11 preceding siblings ...)
2015-11-05 0:18 ` bugzilla-daemon
@ 2015-12-14 19:50 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-12-14 19:50 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 720 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=90777
James Le Cuirot <chewi@gentoo.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #12 from James Le Cuirot <chewi@gentoo.org> ---
(In reply to Maximilian Böhm from comment #11)
> Definitely still broken on Linux 4.2 and 4.3 RC7. Works here with 3.18.
Please don't hijack this bug. I'm on 4.3.2 and it's working fine. You must have
a different issue.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2376 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2015-12-14 19:50 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-29 22:09 [Bug 90777] radeon/audio: Removed CRC control programing broke HDMI audio in Linux 4.0 bugzilla-daemon
2015-05-29 22:10 ` bugzilla-daemon
2015-05-29 22:26 ` bugzilla-daemon
2015-06-01 22:13 ` bugzilla-daemon
2015-06-02 14:41 ` bugzilla-daemon
2015-06-02 14:46 ` bugzilla-daemon
2015-06-02 14:48 ` bugzilla-daemon
2015-06-02 14:59 ` bugzilla-daemon
2015-06-02 21:36 ` bugzilla-daemon
2015-06-10 2:53 ` bugzilla-daemon
2015-07-25 12:53 ` bugzilla-daemon
2015-07-25 14:30 ` bugzilla-daemon
2015-11-05 0:18 ` bugzilla-daemon
2015-12-14 19:50 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox