Bug 108261 - [regression] [bisected] radeon HDMI audio broken for HD 5450 (cedar)
Summary: [regression] [bisected] radeon HDMI audio broken for HD 5450 (cedar)
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-21 18:33 UTC by Cesko Voeten
Modified: 2016-01-11 20:27 UTC (History)
0 users

See Also:
Kernel Version: 4.0 and later
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Cesko Voeten 2015-11-21 18:33:01 UTC
summary: HDMI audio on radeon HD5450 not working since kernel 4.0; bisected to b20932dd62f77a96124ec8f0c7ad0908b5584526; fails to revert under 4.3 so couldn't test further.


On two machines, my HD 5450 will not play HDMI audio any more since kernel 4.0, even though the same set-up works with kernel 3.18.24. Instead of working audio, I get 9 repetitions of the below message in my syslog:

sound hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD

Bisecting reveals:

b20932dd62f77a96124ec8f0c7ad0908b5584526 is the first bad commit
commit b20932dd62f77a96124ec8f0c7ad0908b5584526
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Fri Feb 27 10:51:40 2015 -0500

    drm/radeon/audio: update EDID derived fields in modeset
    
    We don't necessarily have an EDID at this point when
    audio detect gets called.  Ideally we'd update these
    fields in detect, but that requires a larger rework
    of the display detect code.
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

:040000 040000 062dd016364d978dc778f63fd4593b8dfd05e90e 85a53112b2d7d747481f6dbb60b1a5e25de8f0b5 M	drivers

which looks very much like it could indeed be the culprit. Unfortunately, I cannot revert this patch on the latest kernel (4.3), so I cannot test whether this is indeed the definitive problem.

Thank you for your time. Please let me know if there is anything I can report or test for you.

$ zgrep -i radeon /proc/config.gz
CONFIG_EXTRA_FIRMWARE="rtl_nic/rtl8168e-2.fw radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin radeon/CYPRESS_uvd.bin radeon/CEDAR_smc.bin"
CONFIG_DRM_RADEON=y
# CONFIG_DRM_RADEON_UMS is not set
# CONFIG_FB_RADEON is not set
Comment 1 Cesko Voeten 2016-01-11 20:27:47 UTC
Appears fixed in 4.4 - a couple of warning messages about the ELD information are still raised when the driver initializes, but they do not repeat after the boot has completed, and HDMI sound works now.

Note You need to log in before you can comment on or make changes to this bug.