artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b5205d
)
drm/amd/display: Check if link state is valid
author
jsg
<jsg@openbsd.org>
Fri, 4 Aug 2023 08:24:05 +0000
(08:24 +0000)
committer
jsg
<jsg@openbsd.org>
Fri, 4 Aug 2023 08:24:05 +0000
(08:24 +0000)
From Rodrigo Siqueira
810329d3d41890e49d75cde006bf3ddf1ccebb9a
in linux-6.1.y/6.1.43
03ce7b387e8b0f4a1dc97a878545bdf7c7f23251
in mainline linux
sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c
b/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c
index
cca0143
..
beb2d7f
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c
+++ b/
sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c
@@
-1517,6
+1517,8
@@
static bool context_changed(
for (i = 0; i < dc->current_state->stream_count; i++) {
if (dc->current_state->streams[i] != context->streams[i])
return true;
+ if (!context->streams[i]->link->link_state_valid)
+ return true;
}
return false;