All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: one pde of 4 levels at least 512GB
@ 2017-03-28  3:46 Chunming Zhou
       [not found] ` <1490672801-7319-1-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Chunming Zhou @ 2017-03-28  3:46 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Jerry.Zhang-5C7GfCeVMHo
  Cc: Chunming Zhou

Change-Id: I9d764e6e6cf214e64bd79435a8bbb4063260dc11
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index c29a477..b7ec537 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -500,11 +500,11 @@ static int gmc_v9_0_vm_init(struct amdgpu_device *adev)
 	 * amdkfd will use VMIDs 8-15
 	 */
 	adev->vm_manager.num_ids = AMDGPU_NUM_OF_VMIDS;
-	/* Because of four level VMPTs, vm size at least is 256GB.
+	/* Because of four level VMPTs, vm size at least is 512GB.
 	256TB is OK as well */
-	if (amdgpu_vm_size < 256) {
-		DRM_WARN("vm size at least is 256GB!\n");
-		amdgpu_vm_size = 256;
+	if (amdgpu_vm_size < 512) {
+		DRM_WARN("vm size at least is 512GB!\n");
+		amdgpu_vm_size = 512;
 	}
 	adev->vm_manager.num_level = 3;
 	amdgpu_vm_manager_init(adev);
-- 
1.9.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-28  5:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-28  3:46 [PATCH] drm/amdgpu: one pde of 4 levels at least 512GB Chunming Zhou
     [not found] ` <1490672801-7319-1-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org>
2017-03-28  5:43   ` Zhang, Jerry (Junwei)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.