mirror of https://gitee.com/openkylin/linux.git
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:
parent
4fb1cf3ace
commit
2de6a7c52a
|
@ -506,7 +506,7 @@ static int gmc_v9_0_vm_init(struct amdgpu_device *adev)
|
||||||
DRM_WARN("vm size at least is 256GB!\n");
|
DRM_WARN("vm size at least is 256GB!\n");
|
||||||
amdgpu_vm_size = 256;
|
amdgpu_vm_size = 256;
|
||||||
}
|
}
|
||||||
adev->vm_manager.num_level = 1;
|
adev->vm_manager.num_level = 3;
|
||||||
amdgpu_vm_manager_init(adev);
|
amdgpu_vm_manager_init(adev);
|
||||||
|
|
||||||
/* base offset of vram pages */
|
/* base offset of vram pages */
|
||||||
|
|
Loading…
Reference in New Issue