drm/amd/display: Enable otg synchronization logic for DCN321
authorjsg <jsg@openbsd.org>
Fri, 30 Aug 2024 04:07:57 +0000 (04:07 +0000)
committerjsg <jsg@openbsd.org>
Fri, 30 Aug 2024 04:07:57 +0000 (04:07 +0000)
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

index 8d73cce..aa4c64e 100644 (file)
@@ -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 */
        {