diff options
author | Tao Zhou <tao.zhou1@amd.com> | 2023-10-25 11:03:24 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-31 16:40:15 -0400 |
commit | d1d4c0b7b65b7fab2bc6f97af9e823b1c42ccdb0 (patch) | |
tree | 4d0405f3133474ac46991eca57e963817f7807e9 /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h | |
parent | 631808095a82e6b6f8410a95f8b12b8d0d38b161 (diff) |
drm/amdgpu: check RAS supported first in ras_reset_error_count
Not all platforms support RAS.
Fixes: 73582be11ac8 ("drm/amdgpu: bypass RAS error reset in some conditions")
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h')
0 files changed, 0 insertions, 0 deletions