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)
commitf0694d3b8a7069a69d9eff9609ed1f8daa17886f
treec383ff117016e9ffe2b7bf45ea11e7aac333d543
parentcf273a59ca3068caced2adaf2deeb44d2013c8a9
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