Skip to content

freedreno: virtgpu updates

Rob Clark requested to merge robclark/mesa:fd/virtgpu-moar into main

Plus some other misc fixes. But the big part is updates for protocol changes in virgl/virglrenderer!693 (merged) (which is now about ready to land)

  1. Move all static params to capset to avoid having to query host (reduce synchronous round trips at startup)
  2. Use res_id instead of host_handle.. costs extra hashtable lookups in host during submit, but this lets us (with userspace allocated IOVA) make bo alloc and import completely async.
  3. Require userspace allocated IOVA to simplify the protocol and not have to deal with GEM_NEW/GEM_INFO potentially being synchronous.

Possibly freedreno/drm/virtio: Use userspace IOVA allocation and freedreno/drm/virtio: Protocol updates should be squashed together, since the later somewhat changes how it works.

Merge request reports