Skip to content

Commit 9787f7d

Browse files
committed
drm/amdgpu: 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: Alex Deucher <[email protected]> (cherry picked from commit 0de31d9) Cc: [email protected]
1 parent e9f58ff commit 9787f7d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • drivers/gpu/drm/amd/pm/legacy-dpm

drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3454,9 +3454,11 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev,
34543454
if (adev->asic_type == CHIP_HAINAN) {
34553455
if ((adev->pdev->revision == 0x81) ||
34563456
(adev->pdev->revision == 0xC3) ||
3457+
(adev->pdev->device == 0x6660) ||
34573458
(adev->pdev->device == 0x6664) ||
34583459
(adev->pdev->device == 0x6665) ||
3459-
(adev->pdev->device == 0x6667)) {
3460+
(adev->pdev->device == 0x6667) ||
3461+
(adev->pdev->device == 0x666F)) {
34603462
max_sclk = 75000;
34613463
}
34623464
if ((adev->pdev->revision == 0xC3) ||

0 commit comments

Comments
 (0)