projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
239b5f6
)
drm/amdgpu: Add dpm quirk for Jet PRO (v2)
author
Alex Deucher
<
[email protected]
>
Tue, 21 Nov 2017 17:10:57 +0000
(12:10 -0500)
committer
Alex Deucher
<
[email protected]
>
Wed, 10 Jan 2018 20:44:27 +0000
(15:44 -0500)
Fixes stability issues.
v2: clamp sclk to 600 Mhz
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103370
Acked-by: Christian König <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
Cc:
[email protected]
drivers/gpu/drm/amd/amdgpu/si_dpm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/si_dpm.c
b/drivers/gpu/drm/amd/amdgpu/si_dpm.c
index 299cb3161b2cc641751798895c0d3bb8b9616f11..ce675a7f179a6a0f3b9f7b254589694541aea3cd 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/si_dpm.c
+++ b/
drivers/gpu/drm/amd/amdgpu/si_dpm.c
@@
-3464,6
+3464,11
@@
static void si_apply_state_adjust_rules(struct amdgpu_device *adev,
(adev->pdev->device == 0x6667)) {
max_sclk = 75000;
}
+ if ((adev->pdev->revision == 0xC3) ||
+ (adev->pdev->device == 0x6665)) {
+ max_sclk = 60000;
+ max_mclk = 80000;
+ }
} else if (adev->asic_type == CHIP_OLAND) {
if ((adev->pdev->revision == 0xC7) ||
(adev->pdev->revision == 0x80) ||