]> git.ipfire.org Git - people/arne_f/kernel.git/commit
drm/amdgpu: add automatic per asic settings for gart_size
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Aug 2017 15:58:25 +0000 (11:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 24 Aug 2017 15:48:41 +0000 (11:48 -0400)
commitdb63042b332ae048ca640b3d1aed508973c40c8c
treeef9233923f28ae1b69a34eec64fec82fbde5cd9c
parent871594e78ca1f9a3b3b89a0acc7d8c1330b83779
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c