drm/amdgpu/si_dpm: Limit clocks on HD86xx part
Subsystems (2)
PATCH 1/1 drm/amdgpu/si_dpm: Limit clocks on HD86xx part
From: Tom St Denis <[email protected]>
Limit clocks on a specific HD86xx part to avoid
crashes (while awaiting an appropriate PP fix).
Signed-off-by Tom St Denis <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/amd/amdgpu/si_dpm.c +6 -0
@@ -3499,6 +3499,12 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev, max_sclk =75000 ; max_mclk =80000 ; } +/* Limit clocks for some HD8600 parts */ +if (adev->pdev->device ==0x6660 && + adev->pdev->revision ==0x83 ) { + max_sclk =75000 ; + max_mclk =80000 ; + }if (rps->vce_active) { rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk;
Signature · 6 lines
2.10.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Alex Deucher
Reviewed-byQuoted 6 lines · Tom St Denis
From: Tom St Denis <[email protected]>
Limit clocks on a specific HD86xx part to avoid
crashes (while awaiting an appropriate PP fix).Signed-off-by Tom St Denis <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 24 lines
--- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/amd/amdgpu/si_dpm.c +6
-1@@ -3499,6 +3499,12 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev, max_sclk =75000 ; max_mclk =80000 ; } +/* Limit clocks for some HD8600 parts */ +if (adev->pdev->device ==0x6660 && + adev->pdev->revision ==0x83 ) { + max_sclk =75000 ; + max_mclk =80000 ; + }if (rps->vce_active) { rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk; --2.10.0
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx