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

drm/amdgpu: reduce reserved VA size

1MB should be more than enough, currently we use about 8K.

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

authored by

Christian König and committed by
Alex Deucher
18d09e63 734dd01d

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
··· 99 99 #define AMDGPU_MMHUB 1 100 100 101 101 /* hardcode that limit for now */ 102 - #define AMDGPU_VA_RESERVED_SIZE (8ULL << 20) 102 + #define AMDGPU_VA_RESERVED_SIZE (1ULL << 20) 103 103 104 104 /* VA hole for 48bit addresses on Vega10 */ 105 105 #define AMDGPU_VA_HOLE_START 0x0000800000000000ULL