diff options
author | Christian König <christian.koenig@amd.com> | 2016-06-21 10:28:14 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-07 14:54:49 -0400 |
commit | dbd5ed60ac856632609491229e6d7ad70115fb09 (patch) | |
tree | 63947ebcb6273c20c88cf5348f790ab46b7615aa /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 0eaeb070ed6d22e5b42e47210c249283ddf5b08f (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index c1abe0900f48..f4d269931dbe 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -2042,6 +2042,7 @@ struct amdgpu_device { | |||
2042 | atomic64_t vram_vis_usage; | 2042 | atomic64_t vram_vis_usage; |
2043 | atomic64_t gtt_usage; | 2043 | atomic64_t gtt_usage; |
2044 | atomic64_t num_bytes_moved; | 2044 | atomic64_t num_bytes_moved; |
2045 | atomic64_t num_evictions; | ||
2045 | atomic_t gpu_reset_counter; | 2046 | atomic_t gpu_reset_counter; |
2046 | 2047 | ||
2047 | /* display */ | 2048 | /* display */ |