From: Chunming Zhou Date: Mon, 27 Mar 2017 05:44:45 +0000 (+0800) Subject: drm/amdgpu: enable four level VMPT for gmc9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2de6a7c52a412985446ee358d8e27b7f3de5e3f3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/amdgpu: enable four level VMPT for gmc9 Signed-off-by: Chunming Zhou Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index ab090fcb78ad..c29a477ea449 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c @@ -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 */