Skip to content
/ linux Public

Commit 9085ad0

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 41b0edc commit 9085ad0

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
@@ -3440,9 +3440,11 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev,
34403440
if (adev->asic_type == CHIP_HAINAN) {
34413441
if ((adev->pdev->revision == 0x81) ||
34423442
(adev->pdev->revision == 0xC3) ||
3443+
(adev->pdev->device == 0x6660) ||
34433444
(adev->pdev->device == 0x6664) ||
34443445
(adev->pdev->device == 0x6665) ||
3445-
(adev->pdev->device == 0x6667)) {
3446+
(adev->pdev->device == 0x6667) ||
3447+
(adev->pdev->device == 0x666F)) {
34463448
max_sclk = 75000;
34473449
}
34483450
if ((adev->pdev->revision == 0xC3) ||

0 commit comments

Comments
 (0)