Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M msm-5.4
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • CodeLinaro
  • la
  • kernel
  • msm-5.4
  • Repository
Switch branch/tag
  • msm-5.4
  • drivers
  • gpu
  • msm
  • kgsl_sync.c
Find file BlameHistoryPermalink
  • Lynus Vaz's avatar
    msm: kgsl: Keep the context alive until its fences signal · 5eafefa5
    Lynus Vaz authored Jun 10, 2021
    
    
    The context is currently kept alive until all its fences are
    released. This means that we do not destroy a context until all
    the fence fds associated with it are closed by userspace, which may
    be a long time. Instead, remove the timeline's refcount on its
    context when it is detached. This permits the context to be freed
    once all its fences signal.
    
    Change-Id: Ifc5dd55980358ddbb4d3f6220d8b5d9f725aed1b
    Signed-off-by: default avatarLynus Vaz <lvaz@codeaurora.org>
    Signed-off-by: default avatarHareesh Gundu <hareeshg@codeaurora.org>
    5eafefa5