]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit575c66b0491d5e0449d2c4d65fbb4fc986b719a5
tree0f845146e5e52b87007b647b90544b38817ecae9
parent0de2321d22d8a10560d9f5cb94daba82ac6bd039
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