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
  • Arunpravin Paneer Selvam's avatar
    drm/amdgpu: Fix the BO release clear memory warning · 31849bf0
    Arunpravin Paneer Selvam authored Jun 10, 2024
    This happens when the amdgpu_bo_release_notify running
    before amdgpu_ttm_set_buffer_funcs_status set the buffer
    funcs to enabled.
    
    check the buffer funcs enablement before calling the fill
    buffer memory.
    
    v2:(Christian)
      - Apply it only for GEM buffers and since GEM buffers are only
        allocated/freed while the driver is loaded we never run into
        the issue to clear with buffer funcs disabled.
    
    v3:(Mario)
      - drop the stable tag as this will presumably go into a
        -fixes PR for 6.10
    
    Log snip:
    *ERROR* Trying to clear memory with ring turned off.
    RIP: 0010:amdgpu_bo_release_notify+0x201/0x220 [amdgpu]
    
    Fixes: a68c7eaa
    
     ("drm/amdgpu: Enable clear page functionality")
    Signed-off-by: default avatarArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
    Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
    Tested-by: default avatarMikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
    Tested-by: default avatarRichard Gong <richard.gong@amd.com>
    Suggested-by: default avatarChristian König <christian.koenig@amd.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20240610180401.9540-1-Arunpravin.PaneerSelvam@amd.com
    31849bf0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7