drm/amdgpu: enable four level VMPT for gmc9

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>
This commit is contained in:
Chunming Zhou 2017-03-27 13:44:45 +08:00 committed by Alex Deucher
parent 4fb1cf3ace
commit 2de6a7c52a

View 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 */