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

Commit 742a7a14 authored by Alex Deucher's avatar Alex Deucher Committed by Sasha Levin
Browse files

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



[ Upstream commit 0e5585dc870af947fab2af96a88c2d8b4270247c ]

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
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 848ff9da
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2957,6 +2957,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 ((rdev->pm.dpm.new_active_crtc_count > 1) ||
	    ni_dpm_vblank_too_short(rdev))