drm/amdgpu/vcn2.5: fix DPG mode power off issue on instance 1
authorJames Zhu <James.Zhu@amd.com>
Wed, 5 Feb 2020 14:20:22 +0000 (09:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Feb 2020 20:10:36 +0000 (15:10 -0500)
commitf4d0242b7b43977923f778b4cf787425ef05776e
treea9dfeaf99a189ce3f2adb7bc771251775eb88704
parentc134c3cabae46a56ab2e1f5e5fa49405e1758838
drm/amdgpu/vcn2.5: fix DPG mode power off issue on instance 1

Support pause_state for multiple instance, and it will fix vcn2.5 DPG mode
power off issue on instance 1.

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/amdgpu_vcn.h
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c