]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: set -ECANCELED when dropping jobs
authorChristian König <christian.koenig@amd.com>
Mon, 9 Oct 2017 13:51:10 +0000 (15:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2017 19:27:05 +0000 (15:27 -0400)
commitec3a4dc9ba93ebd4372281a1ae66906e9e4221a0
treed46685fc1706f888223b0284affb3955f461e584
parentb4a1de9210d7dad7a2d94d2128767e0589247118
drm/amdgpu: set -ECANCELED when dropping jobs

And return from the wait functions the fence error code.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c