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)
commit7a0a48ddf63bc9944b9690c6fa043ea4305f7f79
treed46685fc1706f888223b0284affb3955f461e584
parente55f2b646df3318e24f12b8388ab6e5cccb3e92d
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