Message ID | 20240822185110.1757429-1-dmitry.osipenko@collabora.com (mailing list archive) |
---|---|
Headers | show |
Series | Support blob memory and venus on qemu | expand |
Dmitry Osipenko <dmitry.osipenko@collabora.com> writes: > Hello, > > This series enables Vulkan Venus context support on virtio-gpu. > > All virglrender and almost all Linux kernel prerequisite changes > needed by Venus are already in upstream. For kernel there is a pending > KVM patchset that fixes mapping of compound pages needed for DRM drivers > using TTM or huge pages [1], othewrwise hostmem blob mapping will fail > with a KVM error from Qemu. > > [1] https://lore.kernel.org/all/20240726235234.228822-1-seanjc@google.com/ > > On guest you'll need to use recent Mesa 24.2+ version containing patch > that removes dependency on cross-device feature from Venus that isn't > supported by Qemu [2]. > > [2] > https://gitlab.freedesktop.org/mesa/mesa/-/commit/087e9a96d13155e26987befae78b6ccbb7ae242b I've expanded the set of working tests so: x86 host, Intel GPU x86/kvm Trixie guest + latest mesa - works aarch64/tcg buildroot guest - works Aarch64 host, AMD GPU x86/tcg Trixies guest + latest mesa - works aarch64/kvm buildroot guest - works As the Aarch64 HW I'm testing on (AVA Devbox) needs additional patches on top of Sean's series to deal with the busted Altra PCI which I provide here: https://git.linaro.org/people/alex.bennee/linux.git/log/?h=review/pfn-references-v12-with-altra-tweaks Anyway I'll re-state: Tested-by: Alex Bennée <alex.bennee@linaro.org> And I think this series is ready to merge once the tree re-opens.
On 8/27/24 12:57, Alex Bennée wrote: > Dmitry Osipenko <dmitry.osipenko@collabora.com> writes: > >> Hello, >> >> This series enables Vulkan Venus context support on virtio-gpu. >> >> All virglrender and almost all Linux kernel prerequisite changes >> needed by Venus are already in upstream. For kernel there is a pending >> KVM patchset that fixes mapping of compound pages needed for DRM drivers >> using TTM or huge pages [1], othewrwise hostmem blob mapping will fail >> with a KVM error from Qemu. >> >> [1] https://lore.kernel.org/all/20240726235234.228822-1-seanjc@google.com/ >> >> On guest you'll need to use recent Mesa 24.2+ version containing patch >> that removes dependency on cross-device feature from Venus that isn't >> supported by Qemu [2]. >> >> [2] >> https://gitlab.freedesktop.org/mesa/mesa/-/commit/087e9a96d13155e26987befae78b6ccbb7ae242b > > I've expanded the set of working tests so: > > x86 host, Intel GPU > > x86/kvm Trixie guest + latest mesa - works > aarch64/tcg buildroot guest - works > > Aarch64 host, AMD GPU > > x86/tcg Trixies guest + latest mesa - works > aarch64/kvm buildroot guest - works > > As the Aarch64 HW I'm testing on (AVA Devbox) needs additional patches > on top of Sean's series to deal with the busted Altra PCI which I > provide here: > > https://git.linaro.org/people/alex.bennee/linux.git/log/?h=review/pfn-references-v12-with-altra-tweaks > > Anyway I'll re-state: > > Tested-by: Alex Bennée <alex.bennee@linaro.org> > > And I think this series is ready to merge once the tree re-opens. Thanks for the update, nice to see that you nailed the ARM problem