artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfb9a99
)
drm/atomic: Check new_crtc_state->active to determine if CRTC needs disable in self...
author
jsg
<jsg@openbsd.org>
Thu, 7 Apr 2022 06:49:11 +0000
(06:49 +0000)
committer
jsg
<jsg@openbsd.org>
Thu, 7 Apr 2022 06:49:11 +0000
(06:49 +0000)
From Liu Ying
cd07b19fbf37b96a9885fd6e8545c355dba59ac3
in linux 5.15.y/5.15.27
69e630016ef4e4a1745310c446f204dc6243e907
in mainline linux
sys/dev/pci/drm/drm_atomic_helper.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/drm_atomic_helper.c
b/sys/dev/pci/drm/drm_atomic_helper.c
index
2c0c6ec
..
ff2bc9a
100644
(file)
--- a/
sys/dev/pci/drm/drm_atomic_helper.c
+++ b/
sys/dev/pci/drm/drm_atomic_helper.c
@@
-1001,7
+1001,7
@@
crtc_needs_disable(struct drm_crtc_state *old_state,
* it's in self refresh mode and needs to be fully disabled.
*/
return old_state->active ||
- (old_state->self_refresh_active && !new_state->
enabl
e) ||
+ (old_state->self_refresh_active && !new_state->
activ
e) ||
new_state->self_refresh_active;
}