diff options
author | 2017-08-21 11:00:25 -0400 | |
---|---|---|
committer | 2017-09-26 18:16:58 -0400 | |
commit | 4d1501eb65d606c05f28da12539cf0defd111f75 (patch) | |
tree | 976cf14215cb2430ef3530881eeca0ad864ced19 | |
parent | drm/amd/display: dc: Remove unneeded includes in DCN (diff) | |
download | linux-dev-4d1501eb65d606c05f28da12539cf0defd111f75.tar.xz linux-dev-4d1501eb65d606c05f28da12539cf0defd111f75.zip |
drm/amd/display: Enable double buffer when unblank crtc.
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>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c index 6a5f2683c2e5..cc58f43400d7 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c @@ -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); |