]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: Enable double buffer when unblank crtc.
authorYongqiang Sun <yongqiang.sun@amd.com>
Mon, 21 Aug 2017 15:00:25 +0000 (11:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:16:58 +0000 (18:16 -0400)
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c

index 6a5f2683c2e5f91782aa0b31d26a3db5cac25c7b..cc58f43400d703fb00d63295bba554e88f90ba10 100644 (file)
@@ -289,6 +289,9 @@ static void tgn10_unblank_crtc(struct timing_generator *tg)
 {
        struct dcn10_timing_generator *tgn10 = DCN10TG_FROM_TG(tg);
 
+       REG_UPDATE(OTG_DOUBLE_BUFFER_CONTROL,
+                       OTG_BLANK_DATA_DOUBLE_BUFFER_EN, 1);
+
        REG_UPDATE_2(OTG_BLANK_CONTROL,
                        OTG_BLANK_DATA_EN, 0,
                        OTG_BLANK_DE_MODE, 0);