drm/amdgpu/vcn: improve vcn dpg stop procedure
authorTianci Yin <tianci.yin@amd.com>
Wed, 23 Mar 2022 15:54:58 +0000 (23:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 07:34:15 +0000 (09:34 +0200)
commit9f0fabf30b486e3d5c9b578073cea369ffc05c43
treedf3ad4e6a66a0d5f94ce64e8df42838cecd13396
parent25efb191d86b108f100f82f414229f8269d00b28
drm/amdgpu/vcn: improve vcn dpg stop procedure

[ Upstream commit 6ea239adc2a712eb318f04f5c29b018ba65ea38a ]

Prior to disabling dpg, VCN need unpausing dpg mode, or VCN will hang in
S3 resuming.

Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Tianci Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c