OSDN Git Service

drm/amdgpu: use the AGP aperture for system memory access v2
authorChristian König <christian.koenig@amd.com>
Mon, 27 Aug 2018 16:19:48 +0000 (18:19 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:41:39 +0000 (22:41 -0500)
commit485fc361d38aad265239547a2d0a02517576f309
tree96a8f9e353d9fe43af1a69fcc7abe082dfa4e8fc
parentd76364fc7fde36b60c592c504f0f0ed636f1d2f3
drm/amdgpu: use the AGP aperture for system memory access v2

Start to use the old AGP aperture for system memory access.

v2: Move that to amdgpu_ttm_alloc_gart

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@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/amdgpu_ttm.c