OSDN Git Service

drm/amdgpu: enable AGP aperture for GMC9 v2
authorChristian König <christian.koenig@amd.com>
Mon, 27 Aug 2018 16:23:11 +0000 (18:23 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:44:41 +0000 (22:44 -0500)
commitc3e1b43c2c1ef9d0eb735cc5e0675100c95b91fa
tree93e94e597f893b664b9c8c168639185033efefbc
parent03a1c08d003bd9354f522d45a6e3dcd529f409c2
drm/amdgpu: enable AGP aperture for GMC9 v2

Enable the old AGP aperture to avoid GART mappings.

v2: don't enable it for SRIOV

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/gfxhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c