[PATCH 5/5] drm/amdgpu/gmc9: disable AGP aperture
Alex Deucher
alexdeucher at gmail.com
Thu Nov 16 15:41:09 UTC 2023
Ping on this series.
Alex
On Fri, Nov 10, 2023 at 1:37 PM Alex Deucher <alexander.deucher at amd.com> wrote:
>
> We've had misc reports of random IOMMU page faults when
> this is used. It's just a rarely used optimization anyway, so
> let's just disable it. It can still be toggled via the
> module parameter for testing.
>
> v2: leave it configurable via module parameter
>
> Reviewed-by: Yang Wang <kevinyang.wang at amd.com> (v1)
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> index 22375fc23412..bd69cf61de06 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -1630,7 +1630,7 @@ static void gmc_v9_0_vram_gtt_location(struct amdgpu_device *adev,
> } else {
> amdgpu_gmc_vram_location(adev, mc, base);
> amdgpu_gmc_gart_location(adev, mc, AMDGPU_GART_PLACEMENT_BEST_FIT);
> - if (!amdgpu_sriov_vf(adev) && (amdgpu_agp != 0))
> + if (!amdgpu_sriov_vf(adev) && (amdgpu_agp == 1))
> amdgpu_gmc_agp_location(adev, mc);
> }
> /* base offset of vram pages */
> --
> 2.41.0
>
More information about the amd-gfx
mailing list