drm/amdgpu: Take uvd encode rings into account in idle work (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 17 May 2018 17:45:52 +0000 (12:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 May 2018 21:08:20 +0000 (16:08 -0500)
commit4bd2c5dd763866b827dd7e95b9ea71c47fa06126
tree81f56b91cebd5481aeacb00bfdc11d4715a98a9a
parent6f0fd919471cf2477e86e2be9b53ecae37b0e815
drm/amdgpu: Take uvd encode rings into account in idle work (v2)

Take the encode rings into account in the idle work handler.

v2: fix typo: s/num_uvd_inst/num_enc_rings/

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