drm/amdgpu: enable AGP aperture on gmc10.x (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Nov 2020 15:44:51 +0000 (10:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Dec 2020 21:04:28 +0000 (16:04 -0500)
commit99698b51e58509d6eaf3768ac9f38db979b721ee
tree8134ce990dde0297406aa9969ede2a6134a769ee
parent7624897c10540d82f78c63ed7bad1c1d011b9fd6
drm/amdgpu: enable AGP aperture on gmc10.x (v2)

Just a small optimization for accessing system pages directly.
Was missed for gmc v10 since the feature landed for older gmcs
while we were still on the emulator or gmc10 and we use the AGP
aperture for zfb on the emulator.

v2: fix up the system aperture as well

Reviewed-and-tested-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c