Skip to content
/ linux Public

Commit 73908f6

Browse files
alexdeuchergregkh
authored andcommitted
drm/amdgpu: apply state adjust rules to some additional HAINAN vairants
commit 9787f7d upstream. They need a similar workaround. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/1839 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 0de31d92a173d3d94f28051b0b80a6c98913aed4) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c18eef4 commit 73908f6

File tree

1 file changed

+3
-1
lines changed
  • drivers/gpu/drm/amd/pm/legacy-dpm

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3459,9 +3459,11 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev,
34593459
if (adev->asic_type == CHIP_HAINAN) {
34603460
if ((adev->pdev->revision == 0x81) ||
34613461
(adev->pdev->revision == 0xC3) ||
3462+
(adev->pdev->device == 0x6660) ||
34623463
(adev->pdev->device == 0x6664) ||
34633464
(adev->pdev->device == 0x6665) ||
3464-
(adev->pdev->device == 0x6667)) {
3465+
(adev->pdev->device == 0x6667) ||
3466+
(adev->pdev->device == 0x666F)) {
34653467
max_sclk = 75000;
34663468
}
34673469
if ((adev->pdev->revision == 0xC3) ||

0 commit comments

Comments
 (0)