]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix underflow issue on 175hz timing
authorLeo Ma <hanghong.ma@amd.com>
Thu, 6 Jul 2023 20:17:03 +0000 (16:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Sep 2023 09:11:04 +0000 (11:11 +0200)
commit2ec715bf881696b23caa06953c8c9309c2ce5224
tree2b62697cfec3b68c4a8175542605da36c4ece92e
parent4630c27c5529fe66fda23ec1763918745c8bb192
drm/amd/display: Fix underflow issue on 175hz timing

[ Upstream commit 735688eb905db529efea0c78466fccc1461c3fde ]

[Why]
Screen underflows happen on 175hz timing for 3 plane overlay case.

[How]
Based on dst y prefetch value clamp to equ or oto for bandwidth
calculation.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Leo Ma <hanghong.ma@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c