]> 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)
commitd5ffdd278ad4ca1ce6c455210ebdd77c64fa721b
tree4bc4f0e985cd8c4540b20d48b34d265bc108e056
parent5ec70f4b6acb489b40481bd4c18e3ea4b206e7ea
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