]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36e11eb22f256ad42f6ed3fcfd89f45a6ff7420d
tree8134ce990dde0297406aa9969ede2a6134a769ee
parent01a73d593ccdbc36be2f3b26f4cdab9ef928a57d
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