Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu/si_dpm: Limit clocks on HD86xx part

Limit clocks on a specific HD86xx part to avoid
crashes (while awaiting an appropriate PP fix).

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Tom St Denis and committed by
Alex Deucher
aee3960a 24e8df6a

+6
+6
drivers/gpu/drm/amd/amdgpu/si_dpm.c
··· 3499 3499 max_sclk = 75000; 3500 3500 max_mclk = 80000; 3501 3501 } 3502 + /* Limit clocks for some HD8600 parts */ 3503 + if (adev->pdev->device == 0x6660 && 3504 + adev->pdev->revision == 0x83) { 3505 + max_sclk = 75000; 3506 + max_mclk = 80000; 3507 + } 3502 3508 3503 3509 if (rps->vce_active) { 3504 3510 rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk;