Skip to content
Snippets Groups Projects
  1. Aug 20, 2018
    • Tomeu Vizoso's avatar
      virgl: Pass resource size and transfer offsets · 15af8b27
      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.
      
      Signed-off-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
      
      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.
      15af8b27
    • Tomeu Vizoso's avatar
      virgl: Negotiate version with vtest server · 33e4f8f0
      Tomeu Vizoso authored
      
      Check if server supports version negotation by sending a PING_PROTOCOL_VERSION
      message right before a dummy RESOURCE_BUSY_WAIT. If we don't get a reply
      for the first, we know the server doesn't support it.
      
      If it does support it, we can query the max protocol version supported
      by the server and fall back if needed.
      
      Signed-off-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
      
      v2: - Send a new message to negotiate the protocol version, checking if
            the server supports this message by immediately sending a busy wait
            message. (Dave Airlie)
      
      v3: - Send a zero-arg command PING_PROTOCOL_VERSION so we actually keep
            compatibility with older servers. (Code by Dave Airlie)
      33e4f8f0
  2. Aug 16, 2018
  3. Aug 15, 2018
  4. Aug 14, 2018
Loading