mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
81b1509aa9
commit
ed885b2107
|
@ -73,7 +73,7 @@ int amdgpu_hard_reset = 0;
|
|||
unsigned amdgpu_ip_block_mask = 0xffffffff;
|
||||
int amdgpu_bapm = -1;
|
||||
int amdgpu_deep_color = 0;
|
||||
int amdgpu_vm_size = 8;
|
||||
int amdgpu_vm_size = 64;
|
||||
int amdgpu_vm_block_size = -1;
|
||||
int amdgpu_vm_fault_stop = 0;
|
||||
int amdgpu_vm_debug = 0;
|
||||
|
@ -137,7 +137,7 @@ module_param_named(bapm, amdgpu_bapm, int, 0444);
|
|||
MODULE_PARM_DESC(deep_color, "Deep Color support (1 = enable, 0 = disable (default))");
|
||||
module_param_named(deep_color, amdgpu_deep_color, int, 0444);
|
||||
|
||||
MODULE_PARM_DESC(vm_size, "VM address space size in gigabytes (default 8GB)");
|
||||
MODULE_PARM_DESC(vm_size, "VM address space size in gigabytes (default 64GB)");
|
||||
module_param_named(vm_size, amdgpu_vm_size, int, 0444);
|
||||
|
||||
MODULE_PARM_DESC(vm_block_size, "VM page table size in bits (default depending on vm_size)");
|
||||
|
|
Loading…
Reference in New Issue