aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h
diff options
context:
space:
mode:
authorDennis Li <Dennis.Li@amd.com>2021-04-21 12:50:22 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-04-23 17:15:21 -0400
commit6effe779726738ea06ba4454e127ab953ce3848c (patch)
tree3829c20579834b8841d24aedd2c6be4c124bdbce /drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h
parentdrm/amd/amdgpu/amdgpu_cs: Repair some function naming disparity (diff)
downloadlinux-dev-6effe779726738ea06ba4454e127ab953ce3848c.tar.xz
linux-dev-6effe779726738ea06ba4454e127ab953ce3848c.zip
drm/amdgpu: refine gprs init shaders to check coverage
Add codes to check whether all SIMDs are covered, make sure that all GPRs are initialized. Signed-off-by: Dennis Li <Dennis.Li@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@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.h1
1 files changed, 1 insertions, 0 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 81c5833b6b9f..6db1f88509af 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h
@@ -29,6 +29,7 @@ void gfx_v9_4_2_debug_trap_config_init(struct amdgpu_device *adev,
void gfx_v9_4_2_init_golden_registers(struct amdgpu_device *adev,
uint32_t die_id);
void gfx_v9_4_2_set_power_brake_sequence(struct amdgpu_device *adev);
+int gfx_v9_4_2_do_edc_gpr_workarounds(struct amdgpu_device *adev);
extern const struct amdgpu_gfx_ras_funcs gfx_v9_4_2_ras_funcs;