Skip to content
Snippets Groups Projects
Tomeu Vizoso's avatar
Tomeu Vizoso authored
Pass the size of a resource when creating it so a backing can be kept in
the other side.

Also pass the required offset to transfer commands.

This moves vtest closer to how virtio-gpu works, making it more useful
for testing.

v2: - Use new messages for creation and transfers, as changing the
      behavior of the existing messages would be messy given that we don't
      want to break compatibility with older servers.

v3: - Gert: Use correct strides: The resource corresponding to the output
      display might have a differnt line stride then the IOVs, so when
      reading back to this resource take the resource stride and the the
      IOV stride into account.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> (v2)
Signed-off-by: default avatarGert Wollny <gert.wollny@collabora.com>
36fd61ab
Name Last commit Last update