Commit 8c8244ca authored by Likun Gao's avatar Likun Gao Committed by Alex Deucher

drm/amdgpu: increase reserved VRAM size to 8MB

4MB reserved VRAM size which used for page tables was not enough for
some condition, increase it to 8MB to reduce page table contention.
Signed-off-by: default avatarLikun Gao <Likun.Gao@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 055e94a8
...@@ -107,7 +107,7 @@ struct amdgpu_bo_list_entry; ...@@ -107,7 +107,7 @@ struct amdgpu_bo_list_entry;
#define AMDGPU_VM_FAULT_STOP_ALWAYS 2 #define AMDGPU_VM_FAULT_STOP_ALWAYS 2
/* Reserve 4MB VRAM for page tables */ /* Reserve 4MB VRAM for page tables */
#define AMDGPU_VM_RESERVED_VRAM (4ULL << 20) #define AMDGPU_VM_RESERVED_VRAM (8ULL << 20)
/* max number of VMHUB */ /* max number of VMHUB */
#define AMDGPU_MAX_VMHUBS 3 #define AMDGPU_MAX_VMHUBS 3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment