diff options
author | 2023-07-31 23:43:12 +0800 | |
---|---|---|
committer | 2023-08-07 17:12:49 -0400 | |
commit | f957138cc30ae904346f117013fc7b428700c1f7 (patch) | |
tree | ce0ba9c14debe52cf701a0ee221237056744117b /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | drm/amd/display: Add structs for Freesync Panel Replay (diff) | |
download | wireguard-linux-f957138cc30ae904346f117013fc7b428700c1f7.tar.xz wireguard-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