artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbba227
)
drm/amd/display: Fix for the no Audio bug with Tiled Displays
author
jsg
<jsg@openbsd.org>
Sun, 19 Dec 2021 01:30:41 +0000
(
01:30
+0000)
committer
jsg
<jsg@openbsd.org>
Sun, 19 Dec 2021 01:30:41 +0000
(
01:30
+0000)
From Mustapha Ghaddar
dd3cea3425226565c959a1a6b1a1cce2e3394713
in linux 5.10.y/5.10.87
5ceaebcda9061c04f439c93961f0819878365c0f
in mainline linux
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
patch
|
blob
|
history
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
1b6aedc
..
182da37
100644
(file)
--- 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;
}