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>
Fri, 7 Feb 2020 16:44:51 +0000 (11:44 -0500)
commit80ff3e10c805aceabf5d3d8d4eecb0ba0faefea8
tree8c9e5192c8228a8d7c60499e7e71d8cdef28650b
parent4a6f8f01efef194da1993b0231b0569b29f7555c
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