]> Gentwo Git Trees - linux/.git/commit
drm/amd/pm: Treat zero vblank time as too short in si_dpm (v3)
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 28 Aug 2025 15:11:08 +0000 (17:11 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Sep 2025 19:55:34 +0000 (15:55 -0400)
commit9003a0746864f39a0ef72bd45f8e1ad85d930d67
treef739a07f6ccc13e19bf9c04ee330b9aa8f848f16
parentce025130127437dc884c84c254170e27b2ce9309
drm/amd/pm: Treat zero vblank time as too short in si_dpm (v3)

Some parts of the code base expect that MCLK switching is turned
off when the vblank time is set to zero.

According to pp_pm_compute_clocks the non-DC code has issues
with MCLK switching with refresh rates over 120 Hz.

v3:
Add code comment to explain this better.
Add an if statement instead of changing the switch_limit.

Fixes: 841686df9f7d ("drm/amdgpu: add SI DPM support (v4)")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c