artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
814474b
)
drm/amd/display: Set plane update flags for all planes in reset
author
jsg
<jsg@openbsd.org>
Wed, 1 Dec 2021 10:47:39 +0000
(10:47 +0000)
committer
jsg
<jsg@openbsd.org>
Wed, 1 Dec 2021 10:47:39 +0000
(10:47 +0000)
From Nicholas Kazlauskas
3187623096091d8c60231de5ca0e020bfa5e6ee9
in linux 5.10.y/5.10.83
21431f70f6014f81b0d118ff4fcee12b00b9dd70
in mainline linux
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index
5dff589
..
c3ae118
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@
-1965,8
+1965,8
@@
static int dm_resume(void *handle)
for (i = 0; i < dc_state->stream_count; i++) {
dc_state->streams[i]->mode_changed = true;
- for (j = 0; j < dc_state->stream_status
->
plane_count; j++) {
- dc_state->stream_status
->
plane_states[j]->update_flags.raw
+ for (j = 0; j < dc_state->stream_status
[i].
plane_count; j++) {
+ dc_state->stream_status
[i].
plane_states[j]->update_flags.raw
= 0xffffffff;
}
}