aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonk Liu <[email protected]>2018-01-23 19:17:56 +0800
committerAlex Deucher <[email protected]>2018-02-28 14:18:05 -0500
commitfe19b862f18ec09c34dc09e8134e08dbfd601876 (patch)
treee351e192a5d7f4c1a9e694a3d86cf9992b70026a
parentc12aba3acde52e2ae7807e4e263dfba34fcdbb0c (diff)
drm/amdgpu: increase gart size to 512MB
256MB is too small consider PTE/PDE shadow and TTM eviction activity Signed-off-by: Monk Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index 9538f941b000..67cd1fe17649 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -792,7 +792,7 @@ static int gmc_v9_0_mc_init(struct amdgpu_device *adev)
switch (adev->asic_type) {
case CHIP_VEGA10: /* all engines support GPUVM */
default:
- adev->gmc.gart_size = 256ULL << 20;
+ adev->gmc.gart_size = 512ULL << 20;
break;
case CHIP_RAVEN: /* DCE SG support */
adev->gmc.gart_size = 1024ULL << 20;