]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: cap dpp dto phase not more than modulo.
authorYongqiang Sun <yongqiang.sun@amd.com>
Sun, 1 Nov 2020 18:05:11 +0000 (13:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Nov 2020 19:26:18 +0000 (14:26 -0500)
commiteb5ca59a214726bbf01c68d5be091c4caa82bff6
tree69f4e83a0bc2aa02ccb6a10d3d326d04b9a309f4
parent3dd6240879a793a3b1078f33f12bdfc66f6b984a
drm/amd/display: cap dpp dto phase not more than modulo.

[Why]
4K monitor shows corruption if dpp dto phase is larger than modulo.

[How]
cap phase value never larger than modulo.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.c