diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2022-05-26 12:48:51 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-03 16:45:00 -0400 |
commit | 2cfe34e18970d26bff73c63f16c76dae22138d19 (patch) | |
tree | ea957bccbb2f595a10cd55bd5b2cb0d141ec3765 /drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | |
parent | ac1ac694f7173a0fbb0b60ab0f26226dd334479a (diff) | |
download | linux-stable-2cfe34e18970d26bff73c63f16c76dae22138d19.tar.gz linux-stable-2cfe34e18970d26bff73c63f16c76dae22138d19.tar.bz2 linux-stable-2cfe34e18970d26bff73c63f16c76dae22138d19.zip |
drm/amdgpu/gmc11: enable AGP aperture
Enable the AGP aperture on chips with GMC v11.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c index 9c225553f5b5..454a25cc0046 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c @@ -611,6 +611,7 @@ static void gmc_v11_0_vram_gtt_location(struct amdgpu_device *adev, amdgpu_gmc_vram_location(adev, &adev->gmc, base); amdgpu_gmc_gart_location(adev, mc); + amdgpu_gmc_agp_location(adev, mc); /* base offset of vram pages */ adev->vm_manager.vram_base_offset = adev->mmhub.funcs->get_mc_fb_offset(adev); |