drm/amdgpu:fix uvd ring fini routine(v2)
authorMonk Liu <Monk.Liu@amd.com>
Fri, 15 Sep 2017 08:43:01 +0000 (16:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 19:14:24 +0000 (15:14 -0400)
commit4ff184d70e1dd85cc39f3b8ed0d98b728d6d9b6c
tree42d88687e0ac2de987cb8e5f8fbea77f9a00bdea
parentbeb841028480a13a664f868688102f3cee762a6b
drm/amdgpu:fix uvd ring fini routine(v2)

fix missing finish uvd enc_ring.
v2:
since the adev pointer check in already in ring_fini
so drop the check outsider

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