drm/amd/display: FVA timing adjustment
authorCharlene Liu <Charlene.Liu@amd.com>
Sat, 4 Apr 2020 01:06:53 +0000 (21:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jun 2022 01:38:41 +0000 (21:38 -0400)
[why]
need to add timing adjustment for fva.

[how]
add hook to optc and hwseq.

Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c

index b1671b0..e1a9a45 100644 (file)
@@ -165,6 +165,7 @@ void optc1_program_timing(
        optc1->vupdate_width = vupdate_width;
        patched_crtc_timing = *dc_crtc_timing;
        apply_front_porch_workaround(&patched_crtc_timing);
+       optc1->orginal_patched_timing = patched_crtc_timing;
 
        /* Load horizontal timing */