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
  • amd
  • amdgpu
  • amdgpu_cs.c
Find file BlameHistoryPermalink
  • Ding Pixel's avatar
    drm/amdgpu: check ring being ready before using · 8895ef4e
    Ding Pixel authored Jan 18, 2017
    
    [ Upstream commit c5f21c9f
    
     ]
    
    Return success when the ring is properly initialized, otherwise return
    failure.
    
    Tonga SRIOV VF doesn't have UVD and VCE engines, the initialization of
    these IPs is bypassed. The system crashes if application submit IB to
    their rings which are not ready to use. It could be a common issue if
    IP having ring buffer is disabled for some reason on specific ASIC, so
    it should check the ring being ready to use.
    
    Bug: amdgpu_test crashes system on Tonga VF.
    
    Signed-off-by: default avatarDing Pixel <Pixel.Ding@amd.com>
    Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    8895ef4e

Imprint & Privacy Policy