drm/amdgpu: enable four level VMPT for gmc9
authorChunming Zhou <David1.Zhou@amd.com>
Mon, 27 Mar 2017 05:44:45 +0000 (13:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:31 +0000 (23:55 -0400)
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

index ab090fcb78ad9b7b968a199e7ee2a884fbe19a5a..c29a477ea449cbc7a0ac2652e580d6a110a3826b 100644 (file)
@@ -506,7 +506,7 @@ static int gmc_v9_0_vm_init(struct amdgpu_device *adev)
                DRM_WARN("vm size at least is 256GB!\n");
                amdgpu_vm_size = 256;
        }
-       adev->vm_manager.num_level = 1;
+       adev->vm_manager.num_level = 3;
        amdgpu_vm_manager_init(adev);
 
        /* base offset of vram pages */