summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-07-26 06:27:31 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-07-26 06:27:31 +0000
commit5b5affd4f7ec62dfe6a32c969d0dfe6b90206eb5 (patch)
treecca9c14ed5935e8a31884806ea887d4effd874f2 /sys
parent594670b5ec5b54a5a2b81789796f6f8d537be481 (diff)
drm/amd/display: Remove Phantom Pipe Check When Calculating K1 and K2
From Austin Zheng a2ef3163c3604788abdc060cab74c95ed44fec1a in linux-6.1.y/6.1.40 1966bbfdfe476d271b338336254854c5edd5a907 in mainline linux
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_hwseq.c4
1 files changed, 0 insertions, 4 deletions
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 74530e2e79c..601b65483ef 100644
--- a/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_hwseq.c
+++ b/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_hwseq.c
@@ -1165,10 +1165,6 @@ unsigned int dcn32_calculate_dccg_k1_k2_values(struct pipe_ctx *pipe_ctx, unsign
unsigned int odm_combine_factor = 0;
bool two_pix_per_container = false;
- // For phantom pipes, use the same programming as the main pipes
- if (pipe_ctx->stream->mall_stream_config.type == SUBVP_PHANTOM) {
- stream = pipe_ctx->stream->mall_stream_config.paired_stream;
- }
two_pix_per_container = optc2_is_two_pixels_per_containter(&stream->timing);
odm_combine_factor = get_odm_config(pipe_ctx, NULL);