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 <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
YiPeng Chai
2024-06-24 11:21:06 +08:00
committed by Alex Deucher
parent 29b6985de5
commit 78146c1dcd
3 changed files with 49 additions and 22 deletions

View File

@@ -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 {