AGP aperture is deprecated and no longer functional. v2: fix typo (Alex) Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> --- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c index e8dc002b5a79..e04ae66fef1c 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c @@ -742,6 +742,9 @@ static int gmc_v11_0_mc_init(struct amdgpu_device *adev) /* force GART to avoid a hw issue in GC11 */ adev->gmc.gart_placement = AMDGPU_GART_PLACEMENT_HIGH; + /* AGP aperture is removed on GC11.5 */ + if (amdgpu_ip_version(adev, GC_HWIP, 0) >= IP_VERSION(11, 5, 0)) + adev->gmc.no_agp = true; gmc_v11_0_vram_gtt_location(adev, &adev->gmc); -- 2.41.0