aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-08-21 11:18:22 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-08-27 12:11:19 -0400
commit4e830fb1b5f589352e711fc0df515c34e978e1a0 (patch)
tree4b62f781db8cb8fb51bfc1dfe87d0302483e8eda /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h
parent1123b989c50613ea555c51ced26257e54c6fa029 (diff)
drm/amdgpu: remove gart.table_addr
We can easily figure out the address on the fly. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h
index d7b7c2d408d5..9ff62887e4e3 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h
@@ -40,7 +40,6 @@ struct amdgpu_bo;
40#define AMDGPU_GPU_PAGES_IN_CPU_PAGE (PAGE_SIZE / AMDGPU_GPU_PAGE_SIZE) 40#define AMDGPU_GPU_PAGES_IN_CPU_PAGE (PAGE_SIZE / AMDGPU_GPU_PAGE_SIZE)
41 41
42struct amdgpu_gart { 42struct amdgpu_gart {
43 u64 table_addr;
44 struct amdgpu_bo *bo; 43 struct amdgpu_bo *bo;
45 void *ptr; 44 void *ptr;
46 unsigned num_gpu_pages; 45 unsigned num_gpu_pages;