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_device.c
Find file BlameHistoryPermalink
  • Horace Chen's avatar
    drm/amdgpu: set sw state to gfxoff after SR-IOV reset · 83f24a8f
    Horace Chen authored Jul 19, 2023
    
    
    [Why]
    Current SR-IOV will not set GC to off state, while it is a real
    GC hard reset. Whthout GFX off flag, driver may do gfxhub invalidation
    before firmware load and gfxhub gart enable. This operation may cause
    CP to become busy because GC is not in the right state for invalidation.
    
    [How]
    Add a function for SR-IOV to clean up some sw state before recover. Set
    adev->gfx.is_poweron to false to prevent gfxhub invalidation before gfx
    firmware autoload complete.
    
    Signed-off-by: default avatarHorace Chen <horace.chen@amd.com>
    Reviewed-by: default avatarHaiJun Chang <HaiJun.Chang@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    83f24a8f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7