Skip to content

Commit 4a36da1

Browse files
Eric Bernsteingregkh
authored andcommitted
drm/amd/display: Include virtual signal to set k1 and k2 values
[ Upstream commit 368307c ] Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Eric Bernstein <eric.bernstein@amd.com> Tested-by: Mark Broadworth <mark.broadworth@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Stable-dep-of: 709671f ("drm/amd/display: Remove OTG DIV register write for Virtual signals.") Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent a1f4880 commit 4a36da1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ unsigned int dcn32_calculate_dccg_k1_k2_values(struct pipe_ctx *pipe_ctx, unsign
11801180
*k2_div = PIXEL_RATE_DIV_BY_2;
11811181
else
11821182
*k2_div = PIXEL_RATE_DIV_BY_4;
1183-
} else if (dc_is_dp_signal(pipe_ctx->stream->signal)) {
1183+
} else if (dc_is_dp_signal(pipe_ctx->stream->signal) || dc_is_virtual_signal(pipe_ctx->stream->signal)) {
11841184
if (two_pix_per_container) {
11851185
*k1_div = PIXEL_RATE_DIV_BY_1;
11861186
*k2_div = PIXEL_RATE_DIV_BY_2;

0 commit comments

Comments
 (0)