mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
gfxstream + rutabaga: enable rutabaga
This change enables rutabaga to receive virtio-gpu-3d hypercalls when it is active. Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org> Tested-by: Alyssa Ross <hi@alyssa.is> Tested-by: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org> Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Antonio Caggiano <quic_acaggian@quicinc.com> Reviewed-by: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
This commit is contained in:
parent
cd9adbefcc
commit
8e7b21ca16
4 changed files with 9 additions and 3 deletions
|
@ -1363,8 +1363,9 @@ void virtio_gpu_device_realize(DeviceState *qdev, Error **errp)
|
|||
VirtIOGPU *g = VIRTIO_GPU(qdev);
|
||||
|
||||
if (virtio_gpu_blob_enabled(g->parent_obj.conf)) {
|
||||
if (!virtio_gpu_have_udmabuf()) {
|
||||
error_setg(errp, "cannot enable blob resources without udmabuf");
|
||||
if (!virtio_gpu_rutabaga_enabled(g->parent_obj.conf) &&
|
||||
!virtio_gpu_have_udmabuf()) {
|
||||
error_setg(errp, "need rutabaga or udmabuf for blob resources");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue