drm/amdgpu/gmc11: fix system aperture set when AGP is enabled
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Feb 2023 04:31:13 +0000 (23:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Feb 2023 15:02:53 +0000 (10:02 -0500)
commit73ac3f22f518d3307695729d41ef49d4209aa8af
tree7959fd1a345a68bab2fb8080be07eef1d15f9344
parent4936458bf989d168f5a89015dd81067c4c2bdc64
drm/amdgpu/gmc11: fix system aperture set when AGP is enabled

Need to cover both FB and AGP apertures.

v2: fix missed gfxhub_v3_0_3.c

Fixes: c6eafee038ed ("Revert "Revert "drm/amdgpu/gmc11: enable AGP aperture""")
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0_3.c
drivers/gpu/drm/amd/amdgpu/mmhub_v3_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v3_0_1.c
drivers/gpu/drm/amd/amdgpu/mmhub_v3_0_2.c