]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:23:20 +0000 (09:23 +0200)
commite5afacc826a80cd82ac3f9eb26bc80e45cd14c20
tree52400c080c5dded101a18ca357be910181b2ce5e
parentd2e0931e6d84d133a78b87b70d32d5776ee2b101
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