drm/amdgpu: Use GPU VA space for IH v4.4.2 in APU
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 23 Feb 2023 14:43:56 +0000 (20:13 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:56:39 +0000 (09:56 -0400)
commitbc71daff4f147377674e14589fb651bb36f44d4b
treeddfe6267caa5b1f09491612e6e644c750fc0f129
parent672c883c26c68fe49b161d7ceab94bdc69e57b0e
drm/amdgpu: Use GPU VA space for IH v4.4.2 in APU

For IH ring buffer and read/write pointers, use GPU VA space rather than
Guest PA on APU configs. Access through Guest PA doesn't work when IOMMU
is enabled. It is also beneficial in NUMA configs as it allocates from
the closest numa pool in a numa enabled system.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vega20_ih.c