]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitf527f310bb6aa966454dbbf1b1ce79d34aeb8621
tree190747d7edcf253cfbc7a0d1a9e48bb1c172c8f8
parent6e93ef8b6884172a36728d0a3018b406541f34af
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