drm/amdgpu: skip call ras_late_init if ras block is not supported
authorYang Wang <kevinyang.wang@amd.com>
Mon, 22 Jan 2024 04:09:31 +0000 (12:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Jan 2024 22:13:28 +0000 (17:13 -0500)
commit2866a4549cf434ae8bec1efec439726562d7863c
tree2da337c160b3caf776b59a70c01d8ecba7e2d172
parent9c3f6e2c4ee007dc7a0aeaf418ec455f7cbdee9f
drm/amdgpu: skip call ras_late_init if ras block is not supported

skip call ras_late_init callback if ras block is not supported.

Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c