diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2017-03-27 01:44:45 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:55:31 -0400 |
commit | 2de6a7c52a412985446ee358d8e27b7f3de5e3f3 (patch) | |
tree | 0df507e19c646d6e2ab4812447ae124a102fe6de | |
parent | 4fb1cf3acee526cb352c42c9f3e66db06b7eef60 (diff) |
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>
-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 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) | |||
506 | DRM_WARN("vm size at least is 256GB!\n"); | 506 | DRM_WARN("vm size at least is 256GB!\n"); |
507 | amdgpu_vm_size = 256; | 507 | amdgpu_vm_size = 256; |
508 | } | 508 | } |
509 | adev->vm_manager.num_level = 1; | 509 | adev->vm_manager.num_level = 3; |
510 | amdgpu_vm_manager_init(adev); | 510 | amdgpu_vm_manager_init(adev); |
511 | 511 | ||
512 | /* base offset of vram pages */ | 512 | /* base offset of vram pages */ |