OSDN Git Service

drm/amd/display: Fix for the no Audio bug with Tiled Displays
authorMustapha Ghaddar <mghaddar@amd.com>
Mon, 15 Nov 2021 22:56:42 +0000 (17:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Dec 2021 22:06:06 +0000 (17:06 -0500)
commit5ceaebcda9061c04f439c93961f0819878365c0f
tree768dc9e34939ef4d1e0ba96deabfafda2119765b
parentef548afe05f8d8c5af0fc44b035d5283156f8b03
drm/amd/display: Fix for the no Audio bug with Tiled Displays

[WHY]
It seems like after a series of plug/unplugs we end up in a situation
where tiled display doesnt support Audio.

[HOW]
The issue seems to be related to when we check streams changed after an
HPD, we should be checking the audio_struct as well to see if any of its
values changed.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Mustapha Ghaddar <mustapha.ghaddar@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c