Skip to content

Commit e11ddff

Browse files
committed
drm/amdgpu: reinstate oland workaround for sclk
Higher sclks seem to be unstable on some boards. bug: https://bugs.freedesktop.org/show_bug.cgi?id=100222 Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent 66822d8 commit e11ddff

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

drivers/gpu/drm/amd/amdgpu/si_dpm.c

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3465,9 +3465,13 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev,
34653465
max_sclk = 75000;
34663466
}
34673467
} else if (adev->asic_type == CHIP_OLAND) {
3468-
if ((adev->pdev->device == 0x6604) &&
3469-
(adev->pdev->subsystem_vendor == 0x1028) &&
3470-
(adev->pdev->subsystem_device == 0x066F)) {
3468+
if ((adev->pdev->revision == 0xC7) ||
3469+
(adev->pdev->revision == 0x80) ||
3470+
(adev->pdev->revision == 0x81) ||
3471+
(adev->pdev->revision == 0x83) ||
3472+
(adev->pdev->revision == 0x87) ||
3473+
(adev->pdev->device == 0x6604) ||
3474+
(adev->pdev->device == 0x6605)) {
34713475
max_sclk = 75000;
34723476
}
34733477
}

0 commit comments

Comments
 (0)