]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Placement of gart and vram in sysvm aperture
authorOak Zeng <Oak.Zeng@amd.com>
Wed, 16 Sep 2020 02:08:50 +0000 (21:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:58:36 +0000 (22:58 -0400)
commitcc563af82d5a99f83c37ee41eb73d773fb3381d5
tree190747d7edcf253cfbc7a0d1a9e48bb1c172c8f8
parente07f42aa414b42e116b3b249780c202f87835dc1
drm/amdgpu: Placement of gart and vram in sysvm aperture

If use GART for FB translation, place both vram and gart to sysvm
aperture. AGP aperture is not set up in this case because it
is not used

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Christian Konig <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c