Commit 87327658 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: apply state adjust rules to some additional HAINAN vairants

They need a similar workaround.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/1839


Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0de31d92
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2915,9 +2915,11 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
	if (rdev->family == CHIP_HAINAN) {
		if ((rdev->pdev->revision == 0x81) ||
		    (rdev->pdev->revision == 0xC3) ||
		    (rdev->pdev->device == 0x6660) ||
		    (rdev->pdev->device == 0x6664) ||
		    (rdev->pdev->device == 0x6665) ||
		    (rdev->pdev->device == 0x6667)) {
		    (rdev->pdev->device == 0x6667) ||
		    (rdev->pdev->device == 0x666F)) {
			max_sclk = 75000;
		}
		if ((rdev->pdev->revision == 0xC3) ||