Hi all,
These two patches are to fix issues we encountered when using amdgpu on PVH 
dom0 with Xen hypervisor.
Patch 1 is to fix a address problem that PVH type domain does a second address 
translation for pcidev, then causes the address to be not physical address, so 
we need to set amdgpu to be passthrough mode.
Patch 2 is because PVH type domain uses VPCI of Xen, but VPCI doesn't support 
Resizable Bar capability, so just return success when discrete GPU tries to
resize bars.

Best regards,
Jiqian Chen.

Huang Rui (1):
  drm/amdgpu: set passthrough mode for xen pvh/hvm

Jiqian Chen (1):
  drm/amdgpu: Bypass resizing bars for PVH dom0

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c   | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.34.1

Reply via email to