]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: reserve at least 4MB of VRAM for page tables v2
authorChristian König <christian.koenig@amd.com>
Fri, 30 Aug 2019 12:38:37 +0000 (14:38 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:38:47 +0000 (17:38 -0500)
commit76742019b592633599bb8fa3bab415cbb0fea0c5
tree97e0eecfc0208ade51ca59fcf1a6317b9de79d16
parent425480d34792178ee2dc799f7b8fec9fe8a11a1a
drm/amdgpu: reserve at least 4MB of VRAM for page tables v2

This hopefully helps reduce the contention for page tables.

v2: adjust maximum reported VRAM size as well

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c