Skip to content
  • Chia-I Wu's avatar
    virgl: patch transfers into the cmdbuf · 20988d95
    Chia-I Wu authored
    
    
    When a transfer is added to the transfer queue, we reserve some
    space in the cmdbuf.  When the transfer queue is flushed, we patch
    the reserved space with the final transfer command for each
    transfer.  This allows us to get rid of VIRGL_MAX_TBUF_DWORDS.
    
    Our internal use of u_upload is special.  We expect it to be mapped
    persistently and coherently until we flush.  The space for the
    transfer command must be reserved at map time rather than at unmap
    time.
    
    Signed-off-by: default avatarChia-I Wu <olvaffe@gmail.com>
    20988d95