]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Require minimum VBlank size for stutter optimization
authorDillon Varone <dillon.varone@amd.com>
Fri, 1 Nov 2024 16:00:14 +0000 (12:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Nov 2024 19:05:26 +0000 (14:05 -0500)
commit9fc0cbcb6e45d6fc96ffd3bb7b6d6d28d693ff4d
tree7d067c9a4e437b43c966e80ab4f2e29e4d96693c
parent6825cb07b79ffeb1d90ffaa7a1227462cdca34ae
drm/amd/display: Require minimum VBlank size for stutter optimization

If the nominal VBlank is too small, optimizing for stutter can cause
the prefetch bandwidth to increase drasticaly, resulting in higher
clock and power requirements. Only optimize if it is >3x the stutter
latency.

Reviewed-by: Austin Zheng <austin.zheng@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 003215f962cdf2265f126a3f4c9ad20917f87fca)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c