XDC 2023 | October 19 | dGPU prime on VM | Julia Zhang and Ray Huang

Опубликовано: 12 Декабрь 2023
на канале: X.Org Foundation
93
0

The dGPU prime feature allows an integrated GPU (iGPU) to display output data rendered by a discrete GPU(dGPU). This is a collection of features in the Linux kernel[1], mesa[2] and various drivers under Linux system. The dGPU exports it's render buffer to iGPU so that iGPU can display it. This allows switching between iGPU and dGPU to handle more use cases requiring different levels of performance. Usually on bare metal, iGPU and dGPU would use native drivers that support dma-buf operations so this feature works fine. But on XEN guest VM, the iGPU is using the virtio-gpu driver and the passthrough dGPU is using a native driver, so the iGPU cannot import the output data that rendered by the passthrough dGPU directly. This talk introduces our design and implementation of the dGPU prime feature on XEN guest VMs.It creates the display buffer on the iGPU and lets the passthrough dGPU import it as linear buffer and blit the rendered data to it for display. With this, we can now run applications which require high performance on the passthrough dGPU and display on the iGPU in a XEN guest VM.

References:
[1] https://lore.kernel.org/dri-devel/202...
[2] https://gitlab.freedesktop.org/mesa/m...

https://indico.freedesktop.org/event/...


Смотрите видео XDC 2023 | October 19 | dGPU prime on VM | Julia Zhang and Ray Huang онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь X.Org Foundation 12 Декабрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 9 раз и оно понравилось людям.