artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fa342e
)
drm/amd/display: Keep PHY active for dp config
author
jsg
<jsg@openbsd.org>
Fri, 4 Aug 2023 08:13:07 +0000
(08:13 +0000)
committer
jsg
<jsg@openbsd.org>
Fri, 4 Aug 2023 08:13:07 +0000
(08:13 +0000)
From Agustin Gutierrez
a9174f0d7addf4c1c9eddef87d4433b7706e77b7
in linux-6.1.y/6.1.43
2b02d746c1818baf741f4eeeff9b97ab4b81e1cf
in mainline linux
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c
b/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c
index
20a06c0
..
e43b4d7
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c
+++ b/
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c
@@
-108,6
+108,11
@@
static int dcn314_get_active_display_cnt_wa(
stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK ||
stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK)
tmds_present = true;
+
+ /* Checking stream / link detection ensuring that PHY is active*/
+ if (dc_is_dp_signal(stream->signal) && !stream->dpms_off)
+ display_count++;
+
}
for (i = 0; i < dc->link_count; i++) {