search for: virtgpu_update_cursor

Displaying 4 results from an estimated 4 matches for "virtgpu_update_cursor".

2014 Sep 11
0
[PATCH 2/2] virtio-gpu/2d: add docs/specs/virtio-gpu.txt
...nd: struct virtgpu_resource_inval_backing + + Detach backing pages from a resource. + + This detaches any backing pages from a resource, to be used in case of + guest swapping or object destruction. + + +cursor queue commands +--------------------- + +VIRTGPU_CMD_UPDATE_CURSOR + Command: struct virtgpu_update_cursor + + Update cursor from the specified resource id. The driver must + transfer the cursor into the resource beforehand (using control + queue commands) + +VIRTGPU_CMD_MOVE_CURSOR + Command: struct virtgpu_update_cursor + + Move cursor. Only virtgpu_update_cursor.pos field is used. -- 1.8.3.1
2014 Sep 11
9
[PATCH 0/2] virtio-gpu: hardware specification
Hi folks, Lets kick off the virtio-gpu review process, starting with the virtio protocol. This is a tiny patch series for qemu. Patch #1 carries the header file describing the virtual hardware: config space, command structs being sent over the rings, defines etc. Patch #2 adds a text file describing virtio-gpu to docs/specs/. It covers 2D support only for now. For anybody who wants to dig a
2014 Sep 11
9
[PATCH 0/2] virtio-gpu: hardware specification
Hi folks, Lets kick off the virtio-gpu review process, starting with the virtio protocol. This is a tiny patch series for qemu. Patch #1 carries the header file describing the virtual hardware: config space, command structs being sent over the rings, defines etc. Patch #2 adds a text file describing virtio-gpu to docs/specs/. It covers 2D support only for now. For anybody who wants to dig a
2014 Sep 11
0
[PATCH 1/2] virtio-gpu/2d: add hardware spec include file
...uint32_t flags; + uint64_t fence_id; + uint32_t ctx_id; + uint32_t padding; +}; + +/* data passed in the cursor vq */ + +struct virtgpu_cursor_pos { + uint32_t scanout_id; + uint32_t x, y; +}; + +/* VIRTGPU_CMD_UPDATE_CURSOR, VIRTGPU_CMD_MOVE_CURSOR */ +struct virtgpu_update_cursor { + struct virtgpu_ctrl_hdr hdr; + struct virtgpu_cursor_pos pos; /* update & move */ + uint32_t resource_id; /* update only */ + uint32_t hot_x, hot_y; /* update only */ +}; + +/* data passed in the control vq, 2d related */ + +/* VIRTGPU_CMD_RES...