aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2019-06-29 22:22:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-07-18 14:18:06 -0500
commitf9cf36fcafee8e12ffc6026dc8410c17aa21c819 (patch)
tree8e8df839505a8c8dd2336aed589781de4a54c9cb /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
parentdrm/amdkfd: Add arcturus CWSR trap handler (diff)
downloadlinux-dev-f9cf36fcafee8e12ffc6026dc8410c17aa21c819.tar.xz
linux-dev-f9cf36fcafee8e12ffc6026dc8410c17aa21c819.zip
drm/amdgpu: skip gfx 9 common golden settings for arct
They are not needed by arct Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index 76e7e103f245..b9c347d2b989 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -390,8 +390,9 @@ static void gfx_v9_0_init_golden_registers(struct amdgpu_device *adev)
break;
}
- soc15_program_register_sequence(adev, golden_settings_gc_9_x_common,
- (const u32)ARRAY_SIZE(golden_settings_gc_9_x_common));
+ if (adev->asic_type != CHIP_ARCTURUS)
+ soc15_program_register_sequence(adev, golden_settings_gc_9_x_common,
+ (const u32)ARRAY_SIZE(golden_settings_gc_9_x_common));
}
static void gfx_v9_0_scratch_init(struct amdgpu_device *adev)