From: jsg Date: Sun, 19 Dec 2021 01:30:41 +0000 (+0000) Subject: drm/amd/display: Fix for the no Audio bug with Tiled Displays X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=06c5638d238ad8d917d1d2c5a845837c50acd91e;p=openbsd drm/amd/display: Fix for the no Audio bug with Tiled Displays From Mustapha Ghaddar dd3cea3425226565c959a1a6b1a1cce2e3394713 in linux 5.10.y/5.10.87 5ceaebcda9061c04f439c93961f0819878365c0f in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/dc/core/dc_resource.c b/sys/dev/pci/drm/amd/display/dc/core/dc_resource.c index 1b6aedc98ee..182da37b1ca 100644 --- a/sys/dev/pci/drm/amd/display/dc/core/dc_resource.c +++ b/sys/dev/pci/drm/amd/display/dc/core/dc_resource.c @@ -1698,6 +1698,10 @@ bool dc_is_stream_unchanged( if (old_stream->ignore_msa_timing_param != stream->ignore_msa_timing_param) return false; + // Only Have Audio left to check whether it is same or not. This is a corner case for Tiled sinks + if (old_stream->audio_info.mode_count != stream->audio_info.mode_count) + return false; + return true; }