From: Alex Deucher Date: Sat, 2 Sep 2017 06:22:49 +0000 (-0400) Subject: drm/amdgpu/gfx9: Add placeholder for vega12 golden settings X-Git-Tag: Ubuntu-5.2.0-15.16~4753^2~4^2~35 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d5e8ef06485d4d2a1ed1bd03b259191a3022473d;p=mirror_ubuntu-eoan-kernel.git drm/amdgpu/gfx9: Add placeholder for vega12 golden settings Fill these in when we get them. Acked-by: Christian König Signed-off-by: Alex Deucher Reviewed-by: Feifei Xu --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index b91ff70bbee8..5eb609d455a8 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -175,6 +175,9 @@ static void gfx_v9_0_init_golden_registers(struct amdgpu_device *adev) golden_settings_gc_9_0_vg10, ARRAY_SIZE(golden_settings_gc_9_0_vg10)); break; + case CHIP_VEGA12: + DRM_ERROR("missing golden settings for gfx9 on vega12!\n"); + break; case CHIP_RAVEN: soc15_program_register_sequence(adev, golden_settings_gc_9_1,