Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df7f31de authored by Guillaume Bertholon's avatar Guillaume Bertholon Committed by corsicanu
Browse files

Revert "drm/radeon/ci: disable mclk switching for high refresh rates (v2)"



This reverts commit 0157e2a8.

The reverted commit was backported and applied twice on the stable branch:
- First as commit 15de2e4c ("drm/radeon/ci: disable mclk switching for
high refresh rates (v2)")
- Then as commit 0157e2a8 ("drm/radeon/ci: disable mclk switching for
high refresh rates (v2)")

Fixes: 0157e2a8 ("drm/radeon/ci: disable mclk switching for high refresh rates (v2)")
Signed-off-by: default avatarGuillaume Bertholon <guillaume.bertholon@ens.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e9585dd7
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -776,12 +776,6 @@ bool ci_dpm_vblank_too_short(struct radeon_device *rdev)
	u32 vblank_time = r600_dpm_get_vblank_time(rdev);
	u32 switch_limit = pi->mem_gddr5 ? 450 : 300;

	/* disable mclk switching if the refresh is >120Hz, even if the
        * blanking period would allow it
        */
	if (r600_dpm_get_vrefresh(rdev) > 120)
		return true;

	/* disable mclk switching if the refresh is >120Hz, even if the
        * blanking period would allow it
        */