drm/amd/display: Fix warning observed in mode change on Vega
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Tue, 31 Jul 2018 19:15:38 +0000 (15:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Aug 2018 22:22:08 +0000 (17:22 -0500)
commit7cb5285507172fabe87f87ef3d2cfe148e8a918d
tree70b84acb87e17abeb4d5dd55cb043a2cb7abaf50
parent321f65a62359e1490c7d9910b8557174ce779df4
drm/amd/display: Fix warning observed in mode change on Vega

[Why]
DOUBLE_BUFFER_EN bit is getting cleared before enable blanking.
That leads to CRTC_BLANK_DATA_EN is getting updated immediately.

[How]
Get DOUBLE_BUFFER_EN bit set, the same as DCE110.

Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c