diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2023-07-31 23:43:12 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-07 17:12:49 -0400 |
commit | f957138cc30ae904346f117013fc7b428700c1f7 (patch) | |
tree | ce0ba9c14debe52cf701a0ee221237056744117b /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | e013864479f7572153b27072b6693d45301e3cf6 (diff) | |
download | linux-f957138cc30ae904346f117013fc7b428700c1f7.tar.gz linux-f957138cc30ae904346f117013fc7b428700c1f7.tar.bz2 linux-f957138cc30ae904346f117013fc7b428700c1f7.zip |
drm/amdgpu: Only create err_count sysfs when hw_op is supported
Some IP blocks only support partial ras feature and don't
have ras counter and/or ras error status register at all.
Driver should not create err_count sysfs node for those
IP blocks.
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions