]> 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>
Wed, 5 Dec 2018 19:12:02 +0000 (14:12 -0500)
commitc3782539d7ff1ff9eabd26a8696034c457df3c40
tree3ef1fb2fb3f06c445f2ed192fc5f8e2dfacb30e8
parent6c3666bc12f1b308a6e22058487ff5c44f6456f8
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