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

Commit 0e5585dc authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: add a dpm quirk for all R7 370 parts



Higher mclk values are not stable due to a bug somewhere.
Limit them for now.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent a64663d9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3010,6 +3010,10 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
		}
		++p;
	}
	/* limit mclk on all R7 370 parts for stability */
	if (rdev->pdev->device == 0x6811 &&
	    rdev->pdev->revision == 0x81)
		max_mclk = 120000;

	if (rps->vce_active) {
		rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk;