[PATCH] drm/amdgpu/gmc: use PCI BARs for APUs in passthrough

Michel Dänzer michel.daenzer at mailbox.org
Wed Mar 16 15:59:31 UTC 2022


On 2022-03-16 08:18, Christian König wrote:
> Am 15.03.22 um 19:13 schrieb Alex Deucher:
>> 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
>>
>> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> 
> Might be a good idea to have a function or macro to figure out if we should use the BAR or not on APUs.
> 
> Anyway patch is Reviewed-by: Christian König <christian.koenig at amd.com>.

And

Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>


-- 
Earthling Michel Dänzer            |                  https://redhat.com
Libre software enthusiast          |         Mesa and Xwayland developer


More information about the amd-gfx mailing list