linux/drivers/gpu/drm/amd
Alvin Lee ce08aad389 drm/amd/display: Only enable audio if speaker allocation exists
[Why]

In dm_helpers_parse_edid_caps, there is a corner case where no speakers
can be allocated even though the audio mode count is greater than 0.
Enabling audio when no speaker allocations exists can cause issues in
the video stream.

[How]

Add a check to not enable audio unless one or more speaker allocations
exist (since doing this can cause issues in the video stream).

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-07-18 14:27:26 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: use VCN firmware offset for cache window 2019-07-18 14:18:07 -05:00
amdkfd drm/amdkfd: Increase vcrat size for GPU 2019-07-18 14:18:07 -05:00
display drm/amd/display: Only enable audio if speaker allocation exists 2019-07-18 14:27:26 -05:00
include drm/amdgpu: exposing fica registers to df offsets 2019-07-18 14:18:07 -05:00
powerplay drm/amd/powerplay: change sysfs pp_dpm_xxx format for navi10 2019-07-18 14:18:07 -05:00