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
  • linux
  • drivers
  • gpu
  • drm
  • amd
  • amdgpu
  • amdgpu_object.c
Find file BlameHistoryPermalink
  • Christian König's avatar
    drm/amdgpu: fix visible VRAM handling during faults · a6ff969f
    Christian König authored Apr 04, 2024
    
    
    When we removed the hacky start code check we actually didn't took into
    account that *all* VRAM pages needs to be CPU accessible.
    
    Clean up the code and unify the handling into a single helper which
    checks if the whole resource is CPU accessible.
    
    The only place where a partial check would make sense is during
    eviction, but that is neglitible.
    
    Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
    Fixes: aed01a68
    
     ("drm/amdgpu: Remove TTM resource->start visible VRAM condition v2")
    Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    CC: stable@vger.kernel.org
    a6ff969f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7