[PATCH] drm/amdgpu: fix the hang observed on Carrizo due to UVD suspend failure

Borislav Petkov bp at alien8.de
Mon Oct 18 12:35:23 UTC 2021


On Mon, Oct 18, 2021 at 03:34:32PM +0800, Evan Quan wrote:
> It's confirmed that on some APUs the interaction with SMU(about DPM disablement)
> will power off the UVD. That will make the succeeding interactions with UVD on the
> suspend path impossible. And the system will hang due to that. To workaround the
> issue, we will skip the UVD(or VCE) power off during interaction with SMU for
> suspend scenario.
> 
> Signed-off-by: Evan Quan <evan.quan at amd.com>
> Change-Id: I7804d3835aadbc7cf4b686da4994e83333461748
> ---
>  .../powerplay/hwmgr/smu7_clockpowergating.c   | 20 +++++++++++++++++--
>  .../drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c   | 16 +++++++++++++--
>  drivers/gpu/drm/amd/pm/powerplay/kv_dpm.c     |  4 ++--
>  3 files changed, 34 insertions(+), 6 deletions(-)

Want me to run it?

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette


More information about the amd-gfx mailing list