]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd3135cd52f68c3a0455aa2d2aa21ba5e6919ab4
tree4260f5a7ac89adbeba4fa876da0a1dd080b451eb
parente50505857385951fcdab454ce908f2b25e21d336
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