Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • include
  • drm
  • drm_syncobj.h
Find file BlameHistoryPermalink
  • Daniel Vetter's avatar
    drm/syncobj: Drop add/remove_callback from driver interface · e296de92
    Daniel Vetter authored Aug 22, 2018
    
    
    This is used for handling future fences. Currently no driver use
    these, and I think given the new timeline fence proposed by KHR it
    would be better to have a more abstract interface for future fences.
    Could be something simple like a struct dma_future_fence plus a
    function to add a callback or wait for the fence to materialize.
    
    Then syncobj (and anything else really) could grow new functions to
    expose these two drivers. Normal dma_fence would then keep the nice
    guarantee that they will always signal (and through ordering, be
    deadlock free). dma_future_fence would then be the tricky one.
    
    This also fixes sphinx complaining about the kerneldoc.
    
    Cc: Jason Ekstrand <jason@jlekstrand.net>
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20180822092905.19884-1-daniel.vetter@ffwll.ch
    e296de92
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7