diff options
| author | Christian König <[email protected]> | 2020-10-12 11:09:36 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-10-26 21:11:31 +0000 |
| commit | 55bb919be4e4973cd037a04f527ecc6686800437 (patch) | |
| tree | 8dfcb8914cbe0397b8a8e0276e8fbf92c515fc0e /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
| parent | drm/amd/display: Fixed panic during seamless boot. (diff) | |
| download | kernel-55bb919be4e4973cd037a04f527ecc6686800437.tar.gz kernel-55bb919be4e4973cd037a04f527ecc6686800437.zip | |
drm/amdgpu: increase the reserved VM size to 2MB
Ideally this should be a multiple of the VM block size.
2MB should at least fit for Vega/Navi.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Madhav Chauhan <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h index c6abb16e8018..58c83a7ad0fd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h @@ -112,8 +112,8 @@ struct amdgpu_bo_list_entry; #define AMDGPU_MMHUB_0 1 #define AMDGPU_MMHUB_1 2 -/* hardcode that limit for now */ -#define AMDGPU_VA_RESERVED_SIZE (1ULL << 20) +/* Reserve 2MB at top/bottom of address space for kernel use */ +#define AMDGPU_VA_RESERVED_SIZE (2ULL << 20) /* max vmids dedicated for process */ #define AMDGPU_VM_MAX_RESERVED_VMID 1 |
