drm/amdgpu: Expose ras version & schema info
authorAsad Kamal <asad.kamal@amd.com>
Mon, 2 Oct 2023 06:41:00 +0000 (14:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Oct 2023 15:02:54 +0000 (11:02 -0400)
commit625e5f3851b78ddcf1bbcfb74ea39edcdaf07d3d
tree9146e53073aa7f21914d9b61d7ee3ee8ef353a00
parentd4a02673b3f06502ed6fa61bb6d9afeb31b668a2
drm/amdgpu: Expose ras version & schema info

Expose ras table version & schema info to sysfs

v2: Updated schema to get poison support info
from ras context, removed asic specific checks

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@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