From: Hawking Zhang Date: Sat, 29 Jun 2019 14:22:13 +0000 (+0800) Subject: drm/amdgpu: skip gfx 9 common golden settings for arct X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f9cf36fcafee8e12ffc6026dc8410c17aa21c819;p=linux.git drm/amdgpu: skip gfx 9 common golden settings for arct They are not needed by arct Signed-off-by: Hawking Zhang Reviewed-by: Feifei Xu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 76e7e103f245f..b9c347d2b989d 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)