diff options
| author | YiPeng Chai <[email protected]> | 2024-06-24 03:21:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-27 21:31:20 +0000 |
| commit | 78146c1dcd220ae98fd5f4114f992299fc5ee161 (patch) | |
| tree | aa6b5806f7d4b7c9d61c16b0d8bbdb6119fb7ef9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
| parent | drm/amdgpu: Use dev_ prints for virtualization as it supports multi adapter (diff) | |
| download | kernel-78146c1dcd220ae98fd5f4114f992299fc5ee161.tar.gz kernel-78146c1dcd220ae98fd5f4114f992299fc5ee161.zip | |
drm/amdgpu: add variable to record the deferred error number read by driver
Add variable to record the deferred error
number read by driver.
Signed-off-by: YiPeng Chai <[email protected]>
Reviewed-by: Hawking Zhang <[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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h index 83437fef9df5..748bbac666e6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h @@ -469,7 +469,8 @@ struct ras_ecc_log_info { struct mutex lock; siphash_key_t ecc_key; struct radix_tree_root de_page_tree; - bool de_updated; + uint64_t de_queried_count; + uint64_t prev_de_queried_count; }; struct amdgpu_ras { |
