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
  • drivers
  • gpu
  • drm
  • amd
  • amdgpu
  • amdgpu_object.c
Find file BlameHistoryPermalink
  • Christian König's avatar
    drm/amdgpu: generally allow over-commit during BO allocation · f9d00a4a
    Christian König authored Nov 24, 2022
    
    
    We already fallback to a dummy BO with no backing store when we
    allocate GDS,GWS and OA resources and to GTT when we allocate VRAM.
    
    Drop all those workarounds and generalize this for GTT as well. This
    fixes ENOMEM issues with runaway applications which try to allocate/free
    GTT in a loop and are otherwise only limited by the CPU speed.
    
    The CS will wait for the cleanup of freed up BOs to satisfy the
    various domain specific limits and so effectively throttle those
    buggy applications down to a sane allocation behavior again.
    
    Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
    Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    Reviewed-by: default avatarArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    f9d00a4a
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7