drm/amd/display: Only update FP2 for full updates
authorAric Cyr <aric.cyr@amd.com>
Fri, 4 Dec 2020 05:22:46 +0000 (00:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Dec 2020 16:34:29 +0000 (11:34 -0500)
commit610c4974ad172dad884244763125f8cd6585c503
tree0f845146e5e52b87007b647b90544b38817ecae9
parent410066d24cfc1071be25e402510367aca9db5cb6
drm/amd/display: Only update FP2 for full updates

[Why]
FP2 is not double buffered and must wait for VACTIVE
before programming.

[How]
Only update when there is a full update we should
change FP2 to avoid delay every flip.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c