Skip to content
  • Bas Nieuwenhuizen's avatar
    radv: Implement VK_ANDROID_native_buffer. · b1444c9c
    Bas Nieuwenhuizen authored
    
    
    Passes
      dEQP-VK.api.smoke.*
      dEQP-VK.wsi.android.*
    
    with android-cts-7.1_r12 .
    
    Unlike the initial anv implementation this does
    use syncobjs instead of waiting on the CPU.
    
    This is missing meson build coverage for now.
    
    One possible todo is that linux 4.15 now has a
    sycall that allows us to export amdgpu fence to
    a sync_file, which allows us not to force all
    fences and semaphores to use syncobjs. However,
    I had trouble with my kernel crashing regularly
    with NULL pointers, and I'm not sure how beneficial
    it is in the first place given that intel uses
    syncobjs for all fences if available.
    
    Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
    b1444c9c