]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: support gfx ras error injection and err_cnt query
authorDennis Li <Dennis.Li@amd.com>
Wed, 31 Jul 2019 12:45:50 +0000 (20:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 19:51:14 +0000 (14:51 -0500)
commit75456f00b67f199d26a14964a3c8c0224a4642c3
treec6accef7ee6c40fd32ad8d0340012df901928175
parent43314b1a831cd3e7ad9329412325358a21a34442
drm/amdgpu: support gfx ras error injection and err_cnt query

check gfx error count in both ras querry function and
ras interrupt handler.

gfx ras is still disabled by default due to known stability
issue found in gpu reset.

Signed-off-by: Dennis Li <Dennis.Li@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/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c