]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/vcn: Update vcn.cur_state during suspend
authorJames Zhu <James.Zhu@amd.com>
Tue, 4 Dec 2018 03:04:28 +0000 (22:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Dec 2018 22:38:24 +0000 (17:38 -0500)
commitfc95ab2012df8abcde38db0af0d94e516421d9ec
tree43fe72a472a4a20ba1e3366ce307fbd86cf9aa75
parentef8982dcf95ac9f621582b76934bf4b301fba431
drm/amdgpu/vcn: Update vcn.cur_state during suspend

Replace vcn_v1_0_stop with vcn_v1_0_set_powergating_state during suspend,
to keep adev->vcn.cur_state update. It will fix VCN S3 hung issue.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c