]> 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)
commitd1da72bcab1dbf44135517900796f1327a7a4b8e
tree4260f5a7ac89adbeba4fa876da0a1dd080b451eb
parentc7e6cf498042ff46cf528c0b1314cb6dbd750d47
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