artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bda01b
)
drm/amd/display: Fix set scaling doesn's work
author
jsg
<jsg@openbsd.org>
Wed, 25 Jan 2023 01:58:44 +0000
(
01:58
+0000)
committer
jsg
<jsg@openbsd.org>
Wed, 25 Jan 2023 01:58:44 +0000
(
01:58
+0000)
From hongao
032cebdff71e92d6aa6fd2a8550eb7c9898553e0
in linux-6.1.y/6.1.8
040625ab82ce6dca7772cb3867fe5c9eb279a344
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
708775a
..
5f565df
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
@@
-9437,8
+9437,8
@@
static int amdgpu_dm_atomic_check(struct drm_device *dev,
goto fail;
}
- if (dm_old_con_state->abm_level !=
- dm_
new_con_state->abm_level
)
+ if (dm_old_con_state->abm_level !=
dm_new_con_state->abm_level ||
+ dm_
old_con_state->scaling != dm_new_con_state->scaling
)
new_crtc_state->connectors_changed = true;
}