artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4a9443
)
drm/amd/display: Fix allocate_mst_payload assert on resume
author
jsg
<jsg@openbsd.org>
Thu, 21 Apr 2022 09:53:32 +0000
(09:53 +0000)
committer
jsg
<jsg@openbsd.org>
Thu, 21 Apr 2022 09:53:32 +0000
(09:53 +0000)
From Roman Li
6a03581ccffa571bfa1a9f3a097e1a4d7164fd2d
in linux 5.15.y/5.15.35
f4346fb3edf7720db3f7f5e1cab1f667cd024280
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
6d36599
..
01b189e
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
@@
-2298,7
+2298,8
@@
static int dm_resume(void *handle)
* this is the case when traversing through already created
* MST connectors, should be skipped
*/
- if (aconnector->mst_port)
+ if (aconnector->dc_link &&
+ aconnector->dc_link->type == dc_connection_mst_branch)
continue;
mutex_lock(&aconnector->hpd_lock);