artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb693e2
)
drm/amd/display: Include virtual signal to set k1 and k2 values
author
jsg
<jsg@openbsd.org>
Fri, 31 Mar 2023 01:30:52 +0000
(
01:30
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 31 Mar 2023 01:30:52 +0000
(
01:30
+0000)
From Eric Bernstein
4a36da161b7a467c884e00219bb62b645bbe74f1
in linux-6.1.y/6.1.22
368307cef69ccd9bf5511f25e58e3a103be169fb
in mainline linux
sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_hwseq.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_hwseq.c
b/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_hwseq.c
index
fa14d73
..
41bc83f
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_hwseq.c
+++ b/
sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_hwseq.c
@@
-1180,7
+1180,7
@@
unsigned int dcn32_calculate_dccg_k1_k2_values(struct pipe_ctx *pipe_ctx, unsign
*k2_div = PIXEL_RATE_DIV_BY_2;
else
*k2_div = PIXEL_RATE_DIV_BY_4;
- } else if (dc_is_dp_signal(pipe_ctx->stream->signal)) {
+ } else if (dc_is_dp_signal(pipe_ctx->stream->signal)
|| dc_is_virtual_signal(pipe_ctx->stream->signal)
) {
if (two_pix_per_container) {
*k1_div = PIXEL_RATE_DIV_BY_1;
*k2_div = PIXEL_RATE_DIV_BY_2;