Skip to contentSkip to conversation

New: HDMI Audio with r600 KMS doesn't survive suspend to ram

Bug 26214 [email protected] 1 participant 4 messages Jan 25, 2010 – Feb 18, 2010

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=26214

Summary: HDMI Audio with r600 KMS doesn't survive suspend to ram
Product: DRI
Version: DRI CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

With 2.6.33rc4, 2.6.33rc5 and drm-radeon-testing as of 24-jan-2010, HDMI audio does no longer work when the machine has resumed after suspend-to-ram.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#1 lore raw

[Bug 26214] HDMI Audio with r600 KMS doesn't survive suspend to ram

http://bugs.freedesktop.org/show_bug.cgi?id=26214

--- Comment #1 from Rafał Miłecki <[email protected]> 2010-01-28 09:03:40 PST --- To solve this problem it would be enough to just re-enable audio engine after resume (as GPU state is reseted).

However this way we keep r600_audio_update_hdmi timer looping all the time, even before we manage to re-enable audio engine. This leads to following situation:

[  173.838067] [drm:r600_audio_bits_per_sample] *ERROR* Unknown bits per sample
0xf using 16 instead.
[  173.938064] [drm:r600_audio_bits_per_sample] *ERROR* Unknown bits per sample
0xf using 16 instead.
[  174.038012] [drm:r600_audio_bits_per_sample] *ERROR* Unknown bits per sample
0xf using 16 instead.
[  174.138013] [drm:r600_audio_bits_per_sample] *ERROR* Unknown bits per sample
0xf using 16 instead.
[  174.238011] [drm:r600_audio_bits_per_sample] *ERROR* Unknown bits per sample
0xf using 16 instead.
[  174.338024] [drm:r600_audio_bits_per_sample] *ERROR* Unknown bits per sample
0xf using 16 instead.
[  174.438024] [drm:r600_audio_bits_per_sample] *ERROR* Unknown bits per sample
0xf using 16 instead.
[  174.533109] [drm] Clocks initialized !
[  174.570184] [drm] ring test succeeded in 1 usecs
[  174.570199] [drm] ib test succeeded in 0 usecs
[  174.570202] [drm] Enabling audio support

So I believe we should completely stop our audio stuff for suspend and restart it on resume.

Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#2 lore raw

[Bug 26214] HDMI Audio with r600 KMS doesn't survive suspend to ram

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26214

--- Comment #2 from Marius Groeger <[email protected]> 2010-01-28 12:16:56 PST --- The fix posted here seems to fix the issue:

http://www.mail-archive.com/[email protected]/msg46762.html

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#3 lore raw

[Bug 26214] HDMI Audio with r600 KMS doesn't survive suspend to ram

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26214

Fabio Pedretti <[email protected]> changed:

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

                 CC|                            |[email protected]
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Fabio Pedretti <[email protected]> 2010-02-18 00:53:46 PST --- Patch applied in 2.6.33-rc8.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--