drm/amdgpu: increase gart size to 512MB
authorMonk Liu <Monk.Liu@amd.com>
Tue, 23 Jan 2018 11:17:56 +0000 (19:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Feb 2018 19:18:05 +0000 (14:18 -0500)
256MB is too small consider PTE/PDE shadow and TTM
eviction activity

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

index 9538f94..67cd1fe 100644 (file)
@@ -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;