Commit a25cf4a
drm/amdgpu: fix the calculation of RAS bad page number
[ Upstream commit f752e79 ]
__amdgpu_ras_restore_bad_pages is responsible for the maintenance of bad
page number, drop the unnecessary bad page number update in the error
handling path of add_bad_pages.
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 276028f commit a25cf4a
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3056 | 3056 | | |
3057 | 3057 | | |
3058 | 3058 | | |
3059 | | - | |
3060 | | - | |
3061 | 3059 | | |
3062 | 3060 | | |
3063 | 3061 | | |
| |||
3070 | 3068 | | |
3071 | 3069 | | |
3072 | 3070 | | |
3073 | | - | |
3074 | | - | |
3075 | 3071 | | |
3076 | 3072 | | |
3077 | 3073 | | |
| |||
0 commit comments