Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xorgproto xorgproto
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • 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
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • proto
  • xorgprotoxorgproto
  • Merge requests
  • !34

Draft: Add DRI3/Present protocol for explicit synchronization

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Qiang Yu requested to merge yuq825/xorgproto:topic/syncobj into master Mar 30, 2021
  • Overview 5
  • Commits 2
  • Pipelines 1
  • Changes 2

Hi, just send out this rough change to illustrate a way to explicit sync. Implementing it require a bunch of work, so I need communities' feedback at the begging to make sure it's the right way.

The key idea is using timeline syncobj as the wait and idle fence of present protocol. The reason to use timeline syncobj instead of sync_file is:

  1. it's GPU driver friendly, as most GPU use syncobj for command submission
  2. light weight, send FD once then use raw number afterwards
  3. may be required by some GPU which support user space command stream synchronization

Some guys (like @jekstrand) also mentioned similar way before, so I'm just the one who plan to implement it for X11 world.

Any feedback is welcome, thanks.

CC: @ajax @daenzer @daniels @airlied @danvet

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: topic/syncobj