1. 13 Dec, 2023 1 commit
    • Alex Deucher's avatar
      drm/amdgpu/sdma5.2: add begin/end_use ring callbacks · ab475033
      Alex Deucher authored
      Add begin/end_use ring callbacks to disallow GFXOFF when
      SDMA work is submitted and allow it again afterward.
      
      This should avoid corner cases where GFXOFF is erroneously
      entered when SDMA is still active.  For now just allow/disallow
      GFXOFF in the begin and end helpers until we root cause the
      issue.  This should not impact power as SDMA usage is pretty
      minimal and GFXOSS should not be active when SDMA is active
      anyway, this just makes it explicit.
      
      v2: move everything into sdma5.2 code.  No reason for this
      to be generic at this point.
      v3: Add comments in new code
      
      Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2220
      Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> (v1)
      Tested-by: Mario Limonciello <mario.limonciello@amd.com> (v1)
      Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org # 5.15+
      ab475033
  2. 12 Dec, 2023 4 commits
  3. 11 Dec, 2023 4 commits
  4. 08 Dec, 2023 4 commits
  5. 07 Dec, 2023 2 commits
  6. 06 Dec, 2023 15 commits
  7. 05 Dec, 2023 6 commits
  8. 03 Dec, 2023 3 commits
  9. 02 Dec, 2023 1 commit