https://bugs.freedesktop.org/show_bug.cgi?id=69671
Priority: medium Bug ID: 69671 Assignee: dri-devel@lists.freedesktop.org Summary: rv790 hdmi sound regression since fix audio dto calculation on DCE3+ (v3) Severity: normal Classification: Unclassified OS: Linux (All) Reporter: adf.lists@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: XOrg CVS Component: DRM/Radeon Product: DRI
My rv790 has lost sound over hdmi since -
1518dd8efd47918bb269f1470030592875953f6c is the first bad commit commit 1518dd8efd47918bb269f1470030592875953f6c Author: Alex Deucher alexander.deucher@amd.com Date: Tue Jul 30 17:31:07 2013 -0400
drm/radeon: fix audio dto calculation on DCE3+ (v3)
Need to set the wallclock ratio and adjust the phase and module registers appropriately. May fix problems with audio timing at certain display timings.
v2: properly handle clocks below 24mhz v3: rebase r600 changes
Tested with 44,1k and 48k source, screen 50Hz.
https://bugs.freedesktop.org/show_bug.cgi?id=69671
--- Comment #1 from Andy Furniss adf.lists@gmail.com --- More testing shows that low Hz modes do still work - in all cases the /1.001 modes behave the same as the exacts.
50p and 60p = fail = no sound and mplayer behaves as is does if the device isn't there = playing too fast.
24p, 25i and 30i are working OK.
https://bugs.freedesktop.org/show_bug.cgi?id=69671
--- Comment #2 from Alex Deucher agd5f@yahoo.com --- Possibly related to bug 69675? Does reverting e6e792092e816bea0797995c886fb057c91d4546 also fix the issue?
https://bugs.freedesktop.org/show_bug.cgi?id=69671
--- Comment #3 from Andy Furniss adf.lists@gmail.com --- (In reply to comment #2)
Possibly related to bug 69675? Does reverting e6e792092e816bea0797995c886fb057c91d4546 also fix the issue?
I may try later but TBH I can't see why it would, the new modes seem to be just extras that don't alter the original modes or even add one in the 50Hz case and they all work for me before 1518dd8efd47918bb269f1470030592875953f6c anyway.
https://bugs.freedesktop.org/show_bug.cgi?id=69671
--- Comment #4 from Alex Deucher agd5f@yahoo.com --- Created attachment 86569 --> https://bugs.freedesktop.org/attachment.cgi?id=86569&action=edit possible fix
Does this patch fix the isssue?
https://bugs.freedesktop.org/show_bug.cgi?id=69671
--- Comment #5 from Andy Furniss adf.lists@gmail.com --- (In reply to comment #4)
Created attachment 86569 [details] [review] possible fix
Does this patch fix the isssue?
Yes, all modes are working with that, thanks.
https://bugs.freedesktop.org/show_bug.cgi?id=69671
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Alex Deucher agd5f@yahoo.com --- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=58...
dri-devel@lists.freedesktop.org