]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/pm: Disable MCLK switching on SI at high pixel clocks
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 26 Sep 2025 18:26:12 +0000 (20:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Nov 2025 09:35:47 +0000 (10:35 +0100)
[ Upstream commit 5c05bcf6ae7732da1bd4dc1958d527b5f07f216a ]

On various SI GPUs, a flickering can be observed near the bottom
edge of the screen when using a single 4K 60Hz monitor over DP.
Disabling MCLK switching works around this problem.

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c

index 82167eca26683cb69c5aeb6906fae75327aae90c..f6ba54cf701e7606be51445c6661f4e08a95ef26 100644 (file)
@@ -3485,6 +3485,11 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev,
         * for these GPUs to calculate bandwidth requirements.
         */
        if (high_pixelclock_count) {
+               /* Work around flickering lines at the bottom edge
+                * of the screen when using a single 4K 60Hz monitor.
+                */
+               disable_mclk_switching = true;
+
                /* On Oland, we observe some flickering when two 4K 60Hz
                 * displays are connected, possibly because voltage is too low.
                 * Raise the voltage by requiring a higher SCLK.