Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • V virglrenderer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 88
    • Issues 88
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 35
    • Merge requests 35
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • virgl
  • virglrenderer
  • Merge requests
  • !534

virgl: Add flag to retire fences directly from sync thread

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Louis-Francis Ratté-Boulianne requested to merge lfrb/virglrenderer:sync-thread-upstream into master Jun 10, 2021
  • Overview 19
  • Commits 3
  • Pipelines 18
  • Changes 4

Add unstable VIRGL_RENDERER_ASYNC_FENCE_CB flag that allows fence callback to be executed directly from the fence polling thread. It requires the write_fence callback provided by the user to be thread-safe.

This feature will be used by crosvm to reduce polling. Performance gain with this method (fence retired directly from sync thread) seems to be greater than watching the polling fd from crosvm.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: sync-thread-upstream