aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorAlvin Lee <[email protected]>2019-07-04 15:17:42 -0400
committerAlex Deucher <[email protected]>2019-07-18 14:17:20 -0500
commit6ac25e6d5b2fbf251e9fa2f4131d42c815b43867 (patch)
tree62a06b161b11f670959b7ce522cabb06f800cdfc /lib/mpi/mpi-internal.h
parent0905f32977268149f06e3ce6ea4bd6d374dd891f (diff)
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 <[email protected]> Reviewed-by: Jun Lei <[email protected]> Acked-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions