Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
mesa
mesa
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,375
    • Issues 2,375
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 655
    • Merge Requests 655
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Mesa
  • mesamesa
  • Merge Requests
  • !4885

Closed
Opened May 04, 2020 by Simon Ser@emersionContributor
  • Report abuse
Report abuse

radv: delay image layout when importing DMA-BUF

  • Overview 9
  • Commits 1
  • Pipelines 16
  • Changes 2

When importing a DMA-BUF, the image layout created in vkImageCreate may not match the imported BO's. Avoiding having a mismatch by delaying the image's layout in radv_image_create and creating it from the DMA-BUF in radv_alloc_memory.

A similar logic exists inside radv_import_ahb_memory to handle VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID.

Signed-off-by: Simon Ser contact@emersion.fr Closes: #2801 (closed)

Edited Aug 14, 2020 by Simon Ser
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: mesa/mesa!4885
Source branch: radv-import-recreate-layout