Skip to content

Commit 86650ee

Browse files
committed
drm/radeon: 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 8732765) Cc: [email protected]
1 parent 9787f7d commit 86650ee

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/gpu/drm/radeon/si_dpm.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2915,9 +2915,11 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
29152915
if (rdev->family == CHIP_HAINAN) {
29162916
if ((rdev->pdev->revision == 0x81) ||
29172917
(rdev->pdev->revision == 0xC3) ||
2918+
(rdev->pdev->device == 0x6660) ||
29182919
(rdev->pdev->device == 0x6664) ||
29192920
(rdev->pdev->device == 0x6665) ||
2920-
(rdev->pdev->device == 0x6667)) {
2921+
(rdev->pdev->device == 0x6667) ||
2922+
(rdev->pdev->device == 0x666F)) {
29212923
max_sclk = 75000;
29222924
}
29232925
if ((rdev->pdev->revision == 0xC3) ||

0 commit comments

Comments
 (0)