summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-06-26 12:37:49 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-07-14 18:05:53 +0300
commit011d4bbea969268c013eaf6e39721d3181833711 (patch)
tree91cf62eced392441a070c2ea19e21e6226a06b24 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent890419409a3aba2ca7185a824e47d8ded8df11a2 (diff)
downloadlinux-011d4bbea969268c013eaf6e39721d3181833711.tar.xz
drm/amdgpu: cleanup initializing gtt_size
Stop spreading the code over all GMC generations. 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, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 20e0ed96efbb..df63823ad4db 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -559,6 +559,7 @@ struct amdgpu_gart {
const struct amdgpu_gart_funcs *gart_funcs;
};
+void amdgpu_gart_set_defaults(struct amdgpu_device *adev);
int amdgpu_gart_table_ram_alloc(struct amdgpu_device *adev);
void amdgpu_gart_table_ram_free(struct amdgpu_device *adev);
int amdgpu_gart_table_vram_alloc(struct amdgpu_device *adev);