diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2017-03-14 19:24:19 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-26 07:05:58 -0400 |
| commit | dea2f1e0c5e9a325ae997b920cdc50bcefae804b (patch) | |
| tree | e9f87174dd5c0b2d1a8b4608552f51b3399a6088 /drivers/gpu/drm/amd/amdgpu | |
| parent | 228514bf243036ab932f7e669db6299023616956 (diff) | |
drm/amdgpu/si: add dpm quirk for Oland
commit 18a8de1bc37e97dff1c96ee6cf49adbd02a0f775 upstream.
OLAND 0x1002:0x6604 0x1028:0x066F 0x00 seems to have problems
with higher sclks.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/si_dpm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c index b447a01ab21a..09e6a7320bb2 100644 --- a/drivers/gpu/drm/amd/amdgpu/si_dpm.c +++ b/drivers/gpu/drm/amd/amdgpu/si_dpm.c | |||
| @@ -3506,6 +3506,12 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev, | |||
| 3506 | max_sclk = 75000; | 3506 | max_sclk = 75000; |
| 3507 | max_mclk = 80000; | 3507 | max_mclk = 80000; |
| 3508 | } | 3508 | } |
| 3509 | } else if (adev->asic_type == CHIP_OLAND) { | ||
| 3510 | if ((adev->pdev->device == 0x6604) && | ||
| 3511 | (adev->pdev->subsystem_vendor == 0x1028) && | ||
| 3512 | (adev->pdev->subsystem_device == 0x066F)) { | ||
| 3513 | max_sclk = 75000; | ||
| 3514 | } | ||
| 3509 | } | 3515 | } |
| 3510 | /* Apply dpm quirks */ | 3516 | /* Apply dpm quirks */ |
| 3511 | while (p && p->chip_device != 0) { | 3517 | while (p && p->chip_device != 0) { |
