From ccec733d9b39a28bd4938fbcbbcd889734a700db Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 30 Aug 2024 04:07:57 +0000 Subject: [PATCH] drm/amd/display: Enable otg synchronization logic for DCN321 From Loan Chen 6490f063d54b1a19bd97ac22e88ff8b8073cc271 in linux-6.6.y/6.6.48 0dbb81d44108a2a1004e5b485ef3fca5bc078424 in mainline linux --- sys/dev/pci/drm/amd/display/dc/dcn321/dcn321_resource.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/pci/drm/amd/display/dc/dcn321/dcn321_resource.c b/sys/dev/pci/drm/amd/display/dc/dcn321/dcn321_resource.c index 8d73cceb485..aa4c64eec7b 100644 --- a/sys/dev/pci/drm/amd/display/dc/dcn321/dcn321_resource.c +++ b/sys/dev/pci/drm/amd/display/dc/dcn321/dcn321_resource.c @@ -1756,6 +1756,9 @@ static bool dcn321_resource_construct( dc->caps.color.mpc.ogam_rom_caps.hlg = 0; dc->caps.color.mpc.ocsc = 1; + /* Use pipe context based otg sync logic */ + dc->config.use_pipe_ctx_sync_logic = true; + dc->config.dc_mode_clk_limit_support = true; /* read VBIOS LTTPR caps */ { -- 2.20.1