diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2017-03-27 13:44:45 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:55:31 -0400 |
commit | 2de6a7c52a412985446ee358d8e27b7f3de5e3f3 (patch) | |
tree | 0df507e19c646d6e2ab4812447ae124a102fe6de /drivers/gpu/drm/amd | |
parent | 4fb1cf3acee526cb352c42c9f3e66db06b7eef60 (diff) | |
download | op-kernel-dev-2de6a7c52a412985446ee358d8e27b7f3de5e3f3.zip op-kernel-dev-2de6a7c52a412985446ee358d8e27b7f3de5e3f3.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index ab090fc..c29a477 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 */ |