From: jsg Date: Fri, 31 Mar 2023 01:34:21 +0000 (+0000) Subject: drm/amd/display: Remove OTG DIV register write for Virtual signals. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=dc5edd685073f5a34fa0613d35cc1777e966c444;p=openbsd drm/amd/display: Remove OTG DIV register write for Virtual signals. From Saaem Rizvi 75eb69023ba30076dba2df6a3e0f9f51095a237b in linux-6.1.y/6.1.22 709671ffb15dcd1b4f6afe2a9d8c67c7c4ead4a1 in mainline linux --- 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 3aaa1a4d7ed..816dcb33b24 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 @@ -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(stream->signal) || dc_is_virtual_signal(stream->signal)) { + } else if (dc_is_dp_signal(stream->signal)) { if (two_pix_per_container) { *k1_div = PIXEL_RATE_DIV_BY_1; *k2_div = PIXEL_RATE_DIV_BY_2;