diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-03-15 21:13:25 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-16 10:06:11 -0400 |
commit | e11ddff68a7c455e63c4b46154a3e75c699a7b55 (patch) | |
tree | d6ecb4b9e07f8b2ad5818927d22a2ceb7a0f092d /drivers/gpu/drm/amd/amdgpu/si_dpm.c | |
parent | 66822d815ae61ecb2d9dba9031517e8a8476969d (diff) | |
download | talos-obmc-linux-e11ddff68a7c455e63c4b46154a3e75c699a7b55.tar.gz talos-obmc-linux-e11ddff68a7c455e63c4b46154a3e75c699a7b55.zip |
drm/amdgpu: reinstate oland workaround for sclk
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si_dpm.c')
-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 33b504bafb88..c5dec210d529 100644 --- a/drivers/gpu/drm/amd/amdgpu/si_dpm.c +++ b/drivers/gpu/drm/amd/amdgpu/si_dpm.c @@ -3465,9 +3465,13 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev, max_sclk = 75000; } } else if (adev->asic_type == CHIP_OLAND) { - if ((adev->pdev->device == 0x6604) && - (adev->pdev->subsystem_vendor == 0x1028) && - (adev->pdev->subsystem_device == 0x066F)) { + if ((adev->pdev->revision == 0xC7) || + (adev->pdev->revision == 0x80) || + (adev->pdev->revision == 0x81) || + (adev->pdev->revision == 0x83) || + (adev->pdev->revision == 0x87) || + (adev->pdev->device == 0x6604) || + (adev->pdev->device == 0x6605)) { max_sclk = 75000; } } |