]> 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)
commite8bbcac45f6c2739e3a7565e490b61cfefbc072a
treeb842a802cd65452079bcd22081d74ad997e29c6e
parent60724132cc2972deab93fe7fac91475177a484ce
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