drm/amdgpu: one pde of 4 levels at least 512GB
Subsystems (2)
PATCH 1/1 drm/amdgpu: one pde of 4 levels at least 512GB
Change-Id I9d764e6e6cf214e64bd79435a8bbb4063260dc11
Signed-off-by Chunming Zhou <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +4 -4
@@ -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);
Signature · 6 lines
1.9.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1490672801-7319-1-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org
Zhang, Jerry (Junwei)
Reviewed-by Junwei ZhangQuoted 2 lines · Chunming Zhou
Change-Id I9d764e6e6cf214e64bd79435a8bbb4063260dc11Signed-off-by Chunming Zhou <[email protected]>
Reviewed-by Junwei Zhang <[email protected]>
For the minimum size, PD is 0
Quoted 15 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1
-1@@ -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.
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c static int gmc_v9_0_vm_init(struct amdgpu_device *adev) · line 510
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +3
-3256TB 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);
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx