diff options
| author | YiPeng Chai <[email protected]> | 2024-04-22 09:38:54 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-26 21:22:41 +0000 |
| commit | 2cf8e50ec381e6a6be3835a421f279d88fcb5ba4 (patch) | |
| tree | e63d8f3f996c71b3dee2ed549fc28a43d5d3945e /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
| parent | drm/amdgpu: umc v12_0 logs ecc errors (diff) | |
| download | kernel-2cf8e50ec381e6a6be3835a421f279d88fcb5ba4.tar.gz kernel-2cf8e50ec381e6a6be3835a421f279d88fcb5ba4.zip | |
drm/amdgpu: Add delay work to retire bad pages
Add delay work to retire bad pages.
Signed-off-by: YiPeng Chai <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h index 634654cf2634..cb5a0f31d201 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h @@ -537,6 +537,7 @@ struct amdgpu_ras { struct mutex page_rsv_lock; DECLARE_KFIFO(poison_fifo, struct ras_poison_msg, 128); struct ras_ecc_log_info umc_ecc_log; + struct delayed_work page_retirement_dwork; /* Fatal error detected flag */ atomic_t fed; |
