OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 17:41:35 +0000 (13:41 -0400)
commit735688eb905db529efea0c78466fccc1461c3fde
tree8221da352dc12365c5dc9d291952ecbd188193d2
parentb9f501c50e517d2cfb2a6d4023ab73e9a00e1bb9
drm/amd/display: Fix underflow issue on 175hz timing

[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>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c