]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: free handles after fini the context
authorLeo Liu <leo.liu@amd.com>
Fri, 22 Jul 2016 18:13:11 +0000 (14:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:37:05 +0000 (14:37 -0400)
commitd5406e4cd01a3fbd2a2e76b2690ce699e96e058a
treeb842a802cd65452079bcd22081d74ad997e29c6e
parent5302764d934b61068786ed8061c86dc811e1c8ee
drm/amdgpu: free handles after fini the context

This will make sure all the submissions from different contexts gets
finished, and then we close the session and free up the handles.

This will fix the issue that session clean-up is not get done properly,
when with the command `kill -9'

Signed-off-by: Leo Liu <leo.liu@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_kms.c