drm/amd/display: For stereo keep "FLIP_ANY_FRAME"
authorjsg <jsg@openbsd.org>
Mon, 5 Sep 2022 14:12:51 +0000 (14:12 +0000)
committerjsg <jsg@openbsd.org>
Mon, 5 Sep 2022 14:12:51 +0000 (14:12 +0000)
From Alvin Lee
e407e04a93d7b1209669220fab5eb69ab7b09baf in linux 5.15.y/5.15.65
84ef99c728079dfd21d6bc70b4c3e4af20602b3c in mainline linux

sys/dev/pci/drm/amd/display/dc/dcn30/dcn30_hubp.c

index f246125..33c2337 100644 (file)
@@ -86,7 +86,7 @@ bool hubp3_program_surface_flip_and_addr(
                        VMID, address->vmid);
 
        if (address->type == PLN_ADDR_TYPE_GRPH_STEREO) {
-               REG_UPDATE(DCSURF_FLIP_CONTROL, SURFACE_FLIP_MODE_FOR_STEREOSYNC, 0x1);
+               REG_UPDATE(DCSURF_FLIP_CONTROL, SURFACE_FLIP_MODE_FOR_STEREOSYNC, 0);
                REG_UPDATE(DCSURF_FLIP_CONTROL, SURFACE_FLIP_IN_STEREOSYNC, 0x1);
 
        } else {