aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2023-03-20 17:51:30 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 09:58:32 -0400
commit9b337b7d628a5e97b4dd72bb1d75f1716567b416 (patch)
treea9d6954bb508148642b127e18937d66673c4da3e /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parent35d54e21e002198c13647b6cd8c77586f683cf39 (diff)
drm/amdgpu: Adjust the sequence to query ras error info
It turns out STATUS_VALID_FLAG needs to be checked ahead of any other fields. ADDRESS_VALID_FLAG and ERR_INFO_VALID_FLAG only manages ADDRESS and ERR_INFO field respectively. driver should continue poll ERR CNT field even ERR_INFO_VALD_FLAG is not set. 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