1 From 18a8de1bc37e97dff1c96ee6cf49adbd02a0f775 Mon Sep 17 00:00:00 2001
2 From: Alex Deucher <alexander.deucher@amd.com>
3 Date: Tue, 14 Mar 2017 19:24:19 -0400
4 Subject: drm/amdgpu/si: add dpm quirk for Oland
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 From: Alex Deucher <alexander.deucher@amd.com>
11 commit 18a8de1bc37e97dff1c96ee6cf49adbd02a0f775 upstream.
13 OLAND 0x1002:0x6604 0x1028:0x066F 0x00 seems to have problems
16 Acked-by: Christian König <christian.koenig@amd.com>
17 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21 drivers/gpu/drm/amd/amdgpu/si_dpm.c | 6 ++++++
22 1 file changed, 6 insertions(+)
24 --- a/drivers/gpu/drm/amd/amdgpu/si_dpm.c
25 +++ b/drivers/gpu/drm/amd/amdgpu/si_dpm.c
26 @@ -3506,6 +3506,12 @@ static void si_apply_state_adjust_rules(
30 + } else if (adev->asic_type == CHIP_OLAND) {
31 + if ((adev->pdev->device == 0x6604) &&
32 + (adev->pdev->subsystem_vendor == 0x1028) &&
33 + (adev->pdev->subsystem_device == 0x066F)) {
37 /* Apply dpm quirks */
38 while (p && p->chip_device != 0) {