]> 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)
commit3bc144b21d51fcaccdb9f3f0c2035cc0ee82ff4e
treec383ff117016e9ffe2b7bf45ea11e7aac333d543
parent045b161a9b0c8940f378731f057bd23c7a42e0b4
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