]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add gfx9 gpr EDC workaround when RAS is enabled
authorJames Zhu <James.Zhu@amd.com>
Fri, 5 Apr 2019 19:31:47 +0000 (15:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:50 +0000 (12:20 -0500)
commit922b5a0059adbe6c3ba3ced795b786caad43c49d
tree95b5e837d320db447710126e301c96638a813c52
parentcb161b0ff5f62c2b07a36f9c18f61480ab9613b1
drm/amdgpu: add gfx9 gpr EDC workaround when RAS is enabled

When RAS is enabled, initializes the VGPRs/LDS/SGPRs and
resets EDC error counts. This is done in late_init, before
RAS TA GFX enable.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15.h