summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-07-07 14:44:05 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-07-14 18:06:31 +0300
commitf9321cc4408bd90bb0adcd929c04322aaf6afdcc (patch)
treef242dc3d3eeb722a4a91f0368122368c8aadb8a8 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent36d3837266c53a92a909f22f6bbf0846c0e6464f (diff)
downloadlinux-f9321cc4408bd90bb0adcd929c04322aaf6afdcc.tar.xz
drm/amdgpu: change gartsize default to 256MB
Limit the default GART size and save a lot of VRAM. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index c7436ea425b4..019a4b73e5f5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -75,7 +75,7 @@
*/
extern int amdgpu_modeset;
extern int amdgpu_vram_limit;
-extern int amdgpu_gart_size;
+extern unsigned amdgpu_gart_size;
extern int amdgpu_gtt_size;
extern int amdgpu_moverate;
extern int amdgpu_benchmarking;