commit | b818a5d374542ccec73dcfe578a081574029820e | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Wed Mar 09 18:02:11 2022 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Mar 25 12:40:24 2022 -0400 |
tree | ee2d225a28041e48b29fc559d1574d7549aabee1 | |
parent | 1647b54ed55d4d48c7199d439f8834626576cbe9 [diff] |
drm/amdgpu/gmc: use PCI BARs for APUs in passthrough If the GPU is passed through to a guest VM, use the PCI BAR for CPU FB access rather than the physical address of carve out. The physical address is not valid in a guest. v2: Fix HDP handing as suggested by Michel Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>