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

Commit dea2f1e0 authored by Alex Deucher's avatar Alex Deucher Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu/si: add dpm quirk for Oland



commit 18a8de1bc37e97dff1c96ee6cf49adbd02a0f775 upstream.

OLAND 0x1002:0x6604 0x1028:0x066F 0x00 seems to have problems
with higher sclks.

Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 228514bf
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3506,6 +3506,12 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev,
			max_sclk = 75000;
			max_mclk = 80000;
		}
	} else if (adev->asic_type == CHIP_OLAND) {
		if ((adev->pdev->device == 0x6604) &&
		    (adev->pdev->subsystem_vendor == 0x1028) &&
		    (adev->pdev->subsystem_device == 0x066F)) {
			max_sclk = 75000;
		}
	}
	/* Apply dpm quirks */
	while (p && p->chip_device != 0) {