[PATCH 12/18] drm/amdgpu: block size of multiple level vmpt prefers one page

Chunming Zhou David1.Zhou at amd.com
Fri Mar 24 03:16:51 UTC 2017


multiple level vmpt will cover bigger va space, if vmpt is 4 levels,
one highest pde will cover 1TB, so increase vm size to 1TB.

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

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index d74a406..f77b0ee 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -82,8 +82,8 @@
 unsigned amdgpu_ip_block_mask = 0xffffffff;
 int amdgpu_bapm = -1;
 int amdgpu_deep_color = 0;
-int amdgpu_vm_size = 64;
-int amdgpu_vm_block_size = -1;
+int amdgpu_vm_size = 1024;
+int amdgpu_vm_block_size = 9;
 int amdgpu_vm_fault_stop = 0;
 int amdgpu_vm_debug = 0;
 int amdgpu_vram_page_split = 1024;
-- 
1.9.1



More information about the amd-gfx mailing list