drm/amdgpu: add eviction counter
Keep track of the number of evictions since boot. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
0eaeb070ed
commit
dbd5ed60ac
@@ -2042,6 +2042,7 @@ struct amdgpu_device {
|
||||
atomic64_t vram_vis_usage;
|
||||
atomic64_t gtt_usage;
|
||||
atomic64_t num_bytes_moved;
|
||||
atomic64_t num_evictions;
|
||||
atomic_t gpu_reset_counter;
|
||||
|
||||
/* display */
|
||||
|
Reference in New Issue
Block a user