]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: add a module parameter to control the AGP aperture
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Nov 2023 20:31:00 +0000 (15:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Nov 2023 05:58:20 +0000 (00:58 -0500)
commit6ba5b613837c5d997ad8297b22fc46cd0be58d76
treefba3a5e31f98286c15087fdae99db02417ec9a1c
parent564ca1b53ece166b5915c2ac90f3e9313100f4ea
drm/amdgpu: add a module parameter to control the AGP aperture

Add a module parameter to control the AGP aperture.  The AGP
aperture is an aperture in the GPU's internal address space
which provides direct non-paged access to the platform address
space.  This access is non-snooped so only uncached memory
can be accessed.

Add a knob so that we can toggle this for debugging.

Fixes: 67318cb84341 ("drm/amdgpu/gmc11: set gart placement GC11")
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Tested-by: Mario Limonciello <mario.limonciello@amd.com> # PHX & Navi33
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c