mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amdgpu: Modify the count method of defer error
The number of newly added de counts and the number of newly added error addresses remain consistent Signed-off-by: Ce Sun <cesun102@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -529,6 +529,7 @@ int amdgpu_umc_lookup_bad_pages_in_a_row(struct amdgpu_device *adev,
|
||||
pfns[i] = err_data.err_addr[i].retired_page;
|
||||
}
|
||||
ret = i;
|
||||
adev->umc.err_addr_cnt = err_data.err_addr_cnt;
|
||||
|
||||
out:
|
||||
kfree(err_data.err_addr);
|
||||
|
||||
Reference in New Issue
Block a user