diff options
author | Christian König <christian.koenig@amd.com> | 2018-01-12 09:26:08 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:17:44 -0500 |
commit | 132f34e4b558488cc8d153a1d18833054a76e44c (patch) | |
tree | f3395e8c95a922f65b43d6d3185c082d2f7f039c /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h | |
parent | 770d13b19fdf365a99e559f1d47f1380910a947d (diff) |
drm/amdgpu: move struct gart_funcs into amdgpu_gmc.h
And rename it to struct gmc_funcs.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Samuel Li <Samuel.Li@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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h index d4a43302c2be..456295c00291 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h | |||
@@ -31,7 +31,6 @@ | |||
31 | */ | 31 | */ |
32 | struct amdgpu_device; | 32 | struct amdgpu_device; |
33 | struct amdgpu_bo; | 33 | struct amdgpu_bo; |
34 | struct amdgpu_gart_funcs; | ||
35 | 34 | ||
36 | #define AMDGPU_GPU_PAGE_SIZE 4096 | 35 | #define AMDGPU_GPU_PAGE_SIZE 4096 |
37 | #define AMDGPU_GPU_PAGE_MASK (AMDGPU_GPU_PAGE_SIZE - 1) | 36 | #define AMDGPU_GPU_PAGE_MASK (AMDGPU_GPU_PAGE_SIZE - 1) |
@@ -52,8 +51,6 @@ struct amdgpu_gart { | |||
52 | 51 | ||
53 | /* Asic default pte flags */ | 52 | /* Asic default pte flags */ |
54 | uint64_t gart_pte_flags; | 53 | uint64_t gart_pte_flags; |
55 | |||
56 | const struct amdgpu_gart_funcs *gart_funcs; | ||
57 | }; | 54 | }; |
58 | 55 | ||
59 | int amdgpu_gart_table_vram_alloc(struct amdgpu_device *adev); | 56 | int amdgpu_gart_table_vram_alloc(struct amdgpu_device *adev); |