aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-08-07 11:11:33 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-08-17 15:46:02 -0400
commit9255d77d8cfd714f336a48168a9dada32912b19a (patch)
treeeb0455a12dcb2c2c04c5ee1012be5308c6954b05 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent97cbb28451c21212cc20f2a5e6c074ba33150c3d (diff)
drm/amdgpu: move gtt usage tracking into the gtt manager v2
It doesn't make much sense to count those numbers twice. v2: use and atomic64_t instead Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index a5427cf4b19d..593618e6c186 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1484,7 +1484,6 @@ struct amdgpu_device {
1484 struct amdgpu_wb wb; 1484 struct amdgpu_wb wb;
1485 atomic64_t vram_usage; 1485 atomic64_t vram_usage;
1486 atomic64_t vram_vis_usage; 1486 atomic64_t vram_vis_usage;
1487 atomic64_t gtt_usage;
1488 atomic64_t num_bytes_moved; 1487 atomic64_t num_bytes_moved;
1489 atomic64_t num_evictions; 1488 atomic64_t num_evictions;
1490 atomic64_t num_vram_cpu_page_faults; 1489 atomic64_t num_vram_cpu_page_faults;