artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54608e9
)
drm/amd/display: Have Payload Properly Created After Resume
author
jsg
<jsg@openbsd.org>
Mon, 19 Jun 2023 00:50:42 +0000
(
00:50
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 19 Jun 2023 00:50:42 +0000
(
00:50
+0000)
From Fangzhi Zuo
4042d7ad40f1c3182225461c62926f217a3d0ede
in linux-6.1.y/6.1.33
482e6ad9adde69d9da08864b4ccf4dfd53edb2f0
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
0aca5c3
..
b3d59c1
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
@@
-2765,7
+2765,7
@@
static int dm_resume(void *handle)
* this is the case when traversing through already created
* MST connectors, should be skipped
*/
- if (aconnector
->dc_link->type == dc_connection_mst_branch
)
+ if (aconnector
&& aconnector->mst_port
)
continue;
mutex_lock(&aconnector->hpd_lock);
@@
-6494,7
+6494,7
@@
static int dm_encoder_helper_atomic_check(struct drm_encoder *encoder,
int clock, bpp = 0;
bool is_y420 = false;
- if (!aconnector->port
|| !aconnector->dc_sink
)
+ if (!aconnector->port)
return 0;
mst_port = aconnector->port;