drm/amdgpu: clean up UVD instance handling v2
authorChristian König <christian.koenig@amd.com>
Wed, 18 Jul 2018 18:30:51 +0000 (20:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Jul 2018 18:56:44 +0000 (13:56 -0500)
commit5c675bf2c67c4efb36a78bebf44dc435db2daf16
tree4260f5a7ac89adbeba4fa876da0a1dd080b451eb
parent58c24b7c893cb1739918c875ae3cf4bb5f86ebb7
drm/amdgpu: clean up UVD instance handling v2

The whole handle, filp and entity handling is superfluous here.

We should have reviewed that more thoughtfully. It looks like somebody
just made the code instance aware without knowing the background.

v2: fix one more missed case in amdgpu_uvd_suspend

Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h