drm/amdgpu/gmc11: disable AGP aperture
Subsystems (2)
Alex Deucher
maintainerPATCH 1/3 drm/amdgpu/gmc11: disable AGP aperture
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.
--- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +0 -3
@@ -640,9 +640,6 @@ static void gmc_v11_0_vram_gtt_location(struct amdgpu_device *adev,amdgpu_gmc_set_agp_default (adev, mc);amdgpu_gmc_vram_location (adev, &adev->gmc, base);amdgpu_gmc_gart_location (adev, mc,AMDGPU_GART_PLACEMENT_HIGH ); -if (!amdgpu_sriov_vf (adev) || - (amdgpu_ip_version (adev,GC_HWIP ,0 ) <IP_VERSION (11 ,5 ,0 ))) -amdgpu_gmc_agp_location (adev, mc);/* base offset of vram pages */ if (amdgpu_sriov_vf (adev))
Signature · 1 line
2.41.0
Alex Deucher
maintainerPATCH 2/3 drm/amdgpu/gmc10: disable AGP aperture
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.
--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +0 -2
@@ -675,8 +675,6 @@ static void gmc_v10_0_vram_gtt_location(struct amdgpu_device *adev,amdgpu_gmc_set_agp_default (adev, mc);amdgpu_gmc_vram_location (adev, &adev->gmc, base);amdgpu_gmc_gart_location (adev, mc,AMDGPU_GART_PLACEMENT_BEST_FIT ); -if (!amdgpu_sriov_vf (adev)) -amdgpu_gmc_agp_location (adev, mc);/* base offset of vram pages */ adev->vm_manager.vram_base_offset = adev->gfxhub.funcs->get_mc_fb_offset (adev);
Signature · 1 line
2.41.0
Alex Deucher
maintainerPATCH 3/3 drm/amdgpu/gmc9: disable AGP aperture
In reply to Alex DeucherWe'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.
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +0 -2
@@ -1627,8 +1627,6 @@ 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_gmc_agp_location (adev, mc); }/* base offset of vram pages */ adev->vm_manager.vram_base_offset = adev->gfxhub.funcs->get_mc_fb_offset (adev);
Signature · 1 line
2.41.0
Series is
Best Regards,
Kevin
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Thursday, November 9, 2023 10:42 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH 1/3] drm/amdgpu/gmc11: disable AGP aperture
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.
--- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +0 -3
@@ -640,9 +640,6 @@ static void gmc_v11_0_vram_gtt_location(struct amdgpu_device *adev,amdgpu_gmc_set_agp_default (adev, mc);amdgpu_gmc_vram_location (adev, &adev->gmc, base);amdgpu_gmc_gart_location (adev, mc,AMDGPU_GART_PLACEMENT_HIGH ); -if (!amdgpu_sriov_vf (adev) || - (amdgpu_ip_version (adev,GC_HWIP ,0 ) <IP_VERSION (11 ,5 ,0 ))) -amdgpu_gmc_agp_location (adev, mc);/* base offset of vram pages */ if (amdgpu_sriov_vf (adev))
--
2.41.0
Am 09.11.23 um 15:41 schrieb Alex Deucher:
Quoted 5 lines
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.
Signed-off-by Alex Deucher <[email protected]>
Quoted 18 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 3 --- 1 file changed, 3 deletions(-)drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +0
-3@@ -640,9 +640,6 @@ static void gmc_v11_0_vram_gtt_location(struct amdgpu_device *adev,amdgpu_gmc_set_agp_default (adev, mc);amdgpu_gmc_vram_location (adev, &adev->gmc, base);amdgpu_gmc_gart_location (adev, mc,AMDGPU_GART_PLACEMENT_HIGH ); -if (!amdgpu_sriov_vf (adev) || - (amdgpu_ip_version (adev,GC_HWIP ,0 ) <IP_VERSION (11 ,5 ,0 ))) -amdgpu_gmc_agp_location (adev, mc);/* base offset of vram pages */ if (amdgpu_sriov_vf (adev))