artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f9c10d
)
drm/amd/display: Keep PHY active for DP displays on DCN31
author
jsg
<jsg@openbsd.org>
Fri, 28 Jul 2023 06:45:27 +0000
(06:45 +0000)
committer
jsg
<jsg@openbsd.org>
Fri, 28 Jul 2023 06:45:27 +0000
(06:45 +0000)
From Nicholas Kazlauskas
b9741ba942f3f2c36de96241dfaf2dbbd3b5c826
in linux-6.1.y/6.1.42
2387ccf43e3c6cb5dbd757c5ef410cca9f14b971
in mainline linux
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
b/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
index
c1eaf57
..
9f593ed
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
+++ b/
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
@@
-86,6
+86,11
@@
static int dcn31_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++) {