artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d5fbe7
)
drm/amd/display: Add signal type check when verify stream backends same
author
jsg
<jsg@openbsd.org>
Thu, 14 Apr 2022 08:32:15 +0000
(08:32 +0000)
committer
jsg
<jsg@openbsd.org>
Thu, 14 Apr 2022 08:32:15 +0000
(08:32 +0000)
From Dale Zhao
c4b64a80554e57a68b594f2920988f4bc39768d9
in linux 5.15.y/5.15.34
047db281c026de5971cedb5bb486aa29bd16a39d
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
f6907c0
..
df49952
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
@@
-1599,6
+1599,9
@@
static bool are_stream_backends_same(
if (is_timing_changed(stream_a, stream_b))
return false;
+ if (stream_a->signal != stream_b->signal)
+ return false;
+
if (stream_a->dpms_off != stream_b->dpms_off)
return false;