]> 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>
Thu, 24 Aug 2017 15:48:42 +0000 (11:48 -0400)
commit4611f2a25b1dc5c0249ca917f46170ca39d8c192
tree4bc4f0e985cd8c4540b20d48b34d265bc108e056
parent44e6c97208cc39de4f99aa98ee7e98880f7fd35c
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