Skip to content

Commit 908d318

Browse files
decce6alexdeucher
authored andcommitted
drm/radeon: Add HAINAN clock adjustment
This patch limits the clock speeds of the AMD Radeon R5 M420 GPU from 850/1000MHz (core/memory) to 800/950 MHz, making it work stably. This patch is for radeon. Signed-off-by: decce6 <decce6@proton.me> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent f38bb9b commit 908d318

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

drivers/gpu/drm/radeon/si_dpm.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2925,6 +2925,11 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
29252925
max_sclk = 60000;
29262926
max_mclk = 80000;
29272927
}
2928+
if ((rdev->pdev->device == 0x666f) &&
2929+
(rdev->pdev->revision == 0x00)) {
2930+
max_sclk = 80000;
2931+
max_mclk = 95000;
2932+
}
29282933
} else if (rdev->family == CHIP_OLAND) {
29292934
if ((rdev->pdev->revision == 0xC7) ||
29302935
(rdev->pdev->revision == 0x80) ||

0 commit comments

Comments
 (0)