diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-03-15 21:13:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-30 03:41:27 -0400 |
commit | 9740abe0fd18fba9edb4b33157428d22e2725815 (patch) | |
tree | 360db706c1bec0388da05e2aacb2a289e698b003 | |
parent | 21d17f1b53ce1d52c098ef59ec579a85efef90c2 (diff) |
drm/amdgpu: reinstate oland workaround for sclk
commit e11ddff68a7c455e63c4b46154a3e75c699a7b55 upstream.
Higher sclks seem to be unstable on some boards.
bug: https://bugs.freedesktop.org/show_bug.cgi?id=100222
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/si_dpm.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c index 09e6a7320bb2..6f3c89178b6a 100644 --- a/drivers/gpu/drm/amd/amdgpu/si_dpm.c +++ b/drivers/gpu/drm/amd/amdgpu/si_dpm.c | |||
@@ -3507,9 +3507,13 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev, | |||
3507 | max_mclk = 80000; | 3507 | max_mclk = 80000; |
3508 | } | 3508 | } |
3509 | } else if (adev->asic_type == CHIP_OLAND) { | 3509 | } else if (adev->asic_type == CHIP_OLAND) { |
3510 | if ((adev->pdev->device == 0x6604) && | 3510 | if ((adev->pdev->revision == 0xC7) || |
3511 | (adev->pdev->subsystem_vendor == 0x1028) && | 3511 | (adev->pdev->revision == 0x80) || |
3512 | (adev->pdev->subsystem_device == 0x066F)) { | 3512 | (adev->pdev->revision == 0x81) || |
3513 | (adev->pdev->revision == 0x83) || | ||
3514 | (adev->pdev->revision == 0x87) || | ||
3515 | (adev->pdev->device == 0x6604) || | ||
3516 | (adev->pdev->device == 0x6605)) { | ||
3513 | max_sclk = 75000; | 3517 | max_sclk = 75000; |
3514 | } | 3518 | } |
3515 | } | 3519 | } |