drm/amdgpu: add condition check for amdgpu_umc_fill_error_record
authorYiPeng Chai <YiPeng.Chai@amd.com>
Fri, 22 Mar 2024 04:06:01 +0000 (12:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Apr 2024 21:22:41 +0000 (17:22 -0400)
commite74313be5a71df63e307ad98b6ab202b8a222817
tree591d702bd77608d20ecef578938f24b2bbe000cf
parent2cf8e50ec381e6a6be3835a421f279d88fcb5ba4
drm/amdgpu: add condition check for amdgpu_umc_fill_error_record

Add condition check for amdgpu_umc_fill_error_record.

Signed-off-by: YiPeng Chai <YiPeng.Chai@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.h
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h