Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe
  • Repository
Switch branch/tag
  • ipipe
  • drivers
  • gpu
  • drm
  • etnaviv
  • etnaviv_mmu.c
Find file BlameHistoryPermalink
  • Lucas Stach's avatar
    drm/etnaviv: trick drm_mm into giving out a low IOVA · 3546fb0c
    Lucas Stach authored Dec 12, 2016
    
    
    After rollover of the IOVA space, we want to get a low IOVA address,
    otherwise the the games we play by remembering the last IOVA are
    pointless. When we search for a free hole with DRM_MM_SEARCH_DEFAULT,
    drm_mm will pop the next entry from the free holes stack, which will
    likely be a high IOVA. By using DRM_MM_SEARCH_BELOW we can trick
    drm_mm into reversing the search and provide us with a low IOVA.
    
    Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
    Reviewed-by: default avatarWladimir van der Laan <laanwj@gmail.com>
    3546fb0c

Imprint & Privacy Policy