drm/amdgpu: Reduce VA_RESERVED_BOTTOM to 64KB
authorFelix Kuehling <felix.kuehling@amd.com>
Tue, 30 Jan 2024 19:34:41 +0000 (14:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Feb 2024 22:15:50 +0000 (17:15 -0500)
commitefe0f34c2bd037a0b01465323d52a7bbd8b5e888
treedbb5ec78e006dee0b542ae3cb029de76f2968511
parent876fa5f8a066591335d28348563e52302a82c141
drm/amdgpu: Reduce VA_RESERVED_BOTTOM to 64KB

The reservation is there to catch NULL pointer dereferences from the
GPU. Reduce the size to 64KB to make sure that shared virtual address
programming models can map all CPU-accessible virtual addresses for GPU
access. This is also the default for CPU virtual address mappings as
seen in /proc/sys/vm/mmap_min_addr.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h