]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: discard commands of killed processes
authorChristian König <christian.koenig@amd.com>
Mon, 21 Aug 2017 12:27:51 +0000 (14:27 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:27:42 +0000 (15:27 -0400)
commitafeef1f680c8347f474340e48ba0881e8d17e212
treec383ff117016e9ffe2b7bf45ea11e7aac333d543
parentf972960817805b9ed240174d6e282552737a8cc5
drm/amdgpu: discard commands of killed processes

When a process is killed we shouldn't submit all waiting jobs, but instead
clean up as fast as possible.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c