diff options
author | Vivek Kasireddy | 2021-05-27 01:14:24 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2021-05-27 12:07:37 +0200 |
commit | e0933d91b1cdde2828955b02042e100dffd27399 (patch) | |
tree | c0909c1ac5a54e5cfa34a0127493659172df8e41 /hw/display/trace-events | |
parent | virtio-gpu: Add initial definitions for blob resources (diff) | |
download | qemu-e0933d91b1cdde2828955b02042e100dffd27399.tar.gz qemu-e0933d91b1cdde2828955b02042e100dffd27399.tar.xz qemu-e0933d91b1cdde2828955b02042e100dffd27399.zip |
virtio-gpu: Add virtio_gpu_resource_create_blob
This API allows Qemu to register the blob allocated by the Guest
as a new resource and map its backing storage.
Based-on-patch-by: Gerd Hoffmann <kraxel@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210526231429.1045476-10-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/trace-events')
-rw-r--r-- | hw/display/trace-events | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/trace-events b/hw/display/trace-events index 9fccca18a1..f3f77b6984 100644 --- a/hw/display/trace-events +++ b/hw/display/trace-events @@ -32,6 +32,7 @@ virtio_gpu_cmd_get_edid(uint32_t scanout) "scanout %d" virtio_gpu_cmd_set_scanout(uint32_t id, uint32_t res, uint32_t w, uint32_t h, uint32_t x, uint32_t y) "id %d, res 0x%x, w %d, h %d, x %d, y %d" virtio_gpu_cmd_res_create_2d(uint32_t res, uint32_t fmt, uint32_t w, uint32_t h) "res 0x%x, fmt 0x%x, w %d, h %d" virtio_gpu_cmd_res_create_3d(uint32_t res, uint32_t fmt, uint32_t w, uint32_t h, uint32_t d) "res 0x%x, fmt 0x%x, w %d, h %d, d %d" +virtio_gpu_cmd_res_create_blob(uint32_t res, uint64_t size) "res 0x%x, size %" PRId64 virtio_gpu_cmd_res_unref(uint32_t res) "res 0x%x" virtio_gpu_cmd_res_back_attach(uint32_t res) "res 0x%x" virtio_gpu_cmd_res_back_detach(uint32_t res) "res 0x%x" |