diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-08-21 11:58:25 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-29 15:27:40 -0400 |
commit | 83e74db6a81daff277732bdd00b438ede2107c68 (patch) | |
tree | 7dda9615b65457160dfe6a2db2f4cfb3a09f91e5 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 2d6fb10565ca13e7a0f6f4725f1c3da5a99a2bcc (diff) | |
download | lwn-83e74db6a81daff277732bdd00b438ede2107c68.tar.gz lwn-83e74db6a81daff277732bdd00b438ede2107c68.zip |
drm/amdgpu: add automatic per asic settings for gart_size
We need a larger gart for asics that do not support GPUVM on all
engines (e.g., MM) to make sure we have enough space for all
gtt buffers in physical mode. Change the default size based on
the asic type.
Reviewed-by: Christian König <christian.koenig@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.h | 2 |
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 12e71bbfd222..103635ab784c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -76,7 +76,7 @@ extern int amdgpu_modeset; extern int amdgpu_vram_limit; extern int amdgpu_vis_vram_limit; -extern unsigned amdgpu_gart_size; +extern int amdgpu_gart_size; extern int amdgpu_gtt_size; extern int amdgpu_moverate; extern int amdgpu_benchmarking; |