aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2020-10-19 20:54:25 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-03-23 22:59:34 -0400
commit264aef8b3bb317b06e22fc07dec3aa90a9bab8be (patch)
tree4520b9650ef7676e6c0ecddaf824dd1d6c4592ad /drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h
parentdrm/amdgpu: restore aldebaran save ttmp and trap config on init (v2) (diff)
downloadlinux-dev-264aef8b3bb317b06e22fc07dec3aa90a9bab8be.tar.xz
linux-dev-264aef8b3bb317b06e22fc07dec3aa90a9bab8be.zip
drm/amdgpu: apply gc v9_4_2 golden settings for aldebaran
Those registers should be programmed as one-time initialization Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h
index 5b175c10de23..0fa4cd423384 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h
@@ -26,5 +26,6 @@
void gfx_v9_4_2_debug_trap_config_init(struct amdgpu_device *adev,
uint32_t first_vmid, uint32_t last_vmid);
-
+void gfx_v9_4_2_init_golden_registers(struct amdgpu_device *adev,
+ uint32_t die_id);
#endif /* __GFX_V9_4_2_H__ */