drm/amdgpu: count fences from all uvd instances in idle handler
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 17 May 2018 17:33:34 +0000 (12:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 May 2018 21:08:20 +0000 (16:08 -0500)
commit6f0fd919471cf2477e86e2be9b53ecae37b0e815
tree90b4e39c6ba1f6e26032c08c53185c21bf4a9e42
parent652470ac55543fbbdcbce25492a7e370d23a38a0
drm/amdgpu: count fences from all uvd instances in idle handler

Current multi-UVD hardware uses a single clock and power source
so handle all instances in the idle handler.

Reviewed-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c