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,370
    • Issues 2,370
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 653
    • Merge Requests 653
  • 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
  • !8667

Merged
Opened Jan 23, 2021 by Jason Ekstrand@jekstrandOwner

anv: Refactor for allowing multiple queues

  • Overview 17
  • Commits 13
  • Pipelines 22
  • Changes 11

We don't really have more than one queue today but it may be a thing in the future. For instance, with preemption, we could allow multiple 3D queues if we wanted to and they would roughly run in parallel. I'm not sure this would be good for app performance but we could do it.

Right now, ANV pretty heavily assumes a single queue. It's not as bad as it was but it's still pretty bad. This series breaks down this assumption and refactors things for arbitrarily many queues. I've not yet written the patch to allow more than one queue as I'm not sure what the perf impact would be or exactly when we'd want to turn it on. However, it should be as simple as dropping a few asserts and changing the advertised value of VkQueueFamilyProperties::queueCount.

Edited Jan 27, 2021 by Jason Ekstrand
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: mesa/mesa!8667
Source branch: wip/anv-multi-queue