drm/amdgpu: allow ras interrupt callback to return error data
authorTao Zhou <tao.zhou1@amd.com>
Mon, 22 Jul 2019 12:27:25 +0000 (20:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 19:50:23 +0000 (14:50 -0500)
commitcf04dfd0e91f11ac83d369f809ada8147aeaf3fe
tree5571c317a14f29368f3c6d0ede45708449884e7a
parent8c94810357fad9d583e37785534a8caec558bb24
drm/amdgpu: allow ras interrupt callback to return error data

add error data as parameter for ras interrupt cb and process it

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Dennis Li <dennis.li@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/amdgpu_ras.h