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

Commit 57700ad1 authored by Alex Deucher's avatar Alex Deucher Committed by Christian König
Browse files

drm/radeon: disable mclk dpm on R7 260X

Setting higher mclks seems to cause stability issues
on some R7 260X boards.  Disable it for now for stability
until we find a proper fix.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=75992



Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 5df5242d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5146,6 +5146,10 @@ int ci_dpm_init(struct radeon_device *rdev)
	pi->mclk_dpm_key_disabled = 0;
	pi->pcie_dpm_key_disabled = 0;

	/* mclk dpm is unstable on some R7 260X cards */
	if (rdev->pdev->device == 0x6658)
		pi->mclk_dpm_key_disabled = 1;

	pi->caps_sclk_ds = true;

	pi->mclk_strobe_mode_threshold = 40000;