artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b9d4c
)
drm/display/dp_mst: Fix down/up message handling after sink disconnect
author
jsg
<jsg@openbsd.org>
Mon, 27 Mar 2023 07:32:07 +0000
(07:32 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 27 Mar 2023 07:32:07 +0000
(07:32 +0000)
From Imre Deak
b30fcedeba643ca16eaa6212c1245598b7cd830d
in linux-6.1.y/6.1.18
1d082618bbf3b6755b8cc68c0a8122af2842d593
in mainline linux
sys/dev/pci/drm/display/drm_dp_mst_topology.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/display/drm_dp_mst_topology.c
b/sys/dev/pci/drm/display/drm_dp_mst_topology.c
index
3d4c084
..
9f5ce28
100644
(file)
--- a/
sys/dev/pci/drm/display/drm_dp_mst_topology.c
+++ b/
sys/dev/pci/drm/display/drm_dp_mst_topology.c
@@
-3654,6
+3654,9
@@
int drm_dp_mst_topology_mgr_set_mst(struct drm_dp_mst_topology_mgr *mgr, bool ms
drm_dp_dpcd_writeb(mgr->aux, DP_MSTM_CTRL, 0);
ret = 0;
mgr->payload_id_table_cleared = false;
+
+ memset(&mgr->down_rep_recv, 0, sizeof(mgr->down_rep_recv));
+ memset(&mgr->up_req_recv, 0, sizeof(mgr->up_req_recv));
}
out_unlock: