Yiwei Zhang
3e4c3b8c8a
vkr: use virgl_resource_export_fd to get fd and type
...
The resource can be pipe_resource in our use cases.
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
4 years ago
Yiwei Zhang
508ff68b3f
vkr: implement dma_buf fd import and properties query
...
Translate the below:
VkImportMemoryResourceInfoMESA -> VkImportMemoryFdInfoKHR
vkGetMemoryResourcePropertiesMESA -> vkGetMemoryFdPropertiesKHR
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
4 years ago
Chia-I Wu
6c31f85330
virgl: add support for venus renderer
...
Add VIRGL_RENDERER_VENUS and the related bits.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
4 years ago
Chia-I Wu
9b2d22b584
vkr: add experimental venus renderer
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
4 years ago