Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: change VM size default to 64GB

That's still small enough to not waste to much memory on PD/PTs.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Christian König and committed by
Alex Deucher
ed885b21 81b1509a

+2 -2
+2 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
··· 73 73 unsigned amdgpu_ip_block_mask = 0xffffffff; 74 74 int amdgpu_bapm = -1; 75 75 int amdgpu_deep_color = 0; 76 - int amdgpu_vm_size = 8; 76 + int amdgpu_vm_size = 64; 77 77 int amdgpu_vm_block_size = -1; 78 78 int amdgpu_vm_fault_stop = 0; 79 79 int amdgpu_vm_debug = 0; ··· 137 137 MODULE_PARM_DESC(deep_color, "Deep Color support (1 = enable, 0 = disable (default))"); 138 138 module_param_named(deep_color, amdgpu_deep_color, int, 0444); 139 139 140 - MODULE_PARM_DESC(vm_size, "VM address space size in gigabytes (default 8GB)"); 140 + MODULE_PARM_DESC(vm_size, "VM address space size in gigabytes (default 64GB)"); 141 141 module_param_named(vm_size, amdgpu_vm_size, int, 0444); 142 142 143 143 MODULE_PARM_DESC(vm_block_size, "VM page table size in bits (default depending on vm_size)");