OSDN Git Service

drm/amdgpu: add RAS support for the gfx block of Arcturus
authorDennis Li <Dennis.Li@amd.com>
Thu, 16 Jan 2020 05:40:52 +0000 (13:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:36:30 +0000 (16:36 -0500)
commit4c461d89db4f8f40509b044b0daf3ac6edf4fbd7
treebf1b7d57881a937ee6ad620a48878b8fdb7ec94b
parent19cf0dd4b9d2771015fc9d74ec1b0b9203cf8c5a
drm/amdgpu: add RAS support for the gfx block of Arcturus

Implement functions to do the RAS error injection and
query EDC counter.

Signed-off-by: Dennis Li <Dennis.Li@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/gfx_v9_4.h [new file with mode: 0644]