drm/amdgpu: move scheduler fence callback into fence v2
authorChristian König <christian.koenig@amd.com>
Mon, 31 Aug 2015 15:02:52 +0000 (17:02 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Sep 2015 21:23:32 +0000 (17:23 -0400)
commit258f3f99d514172aa5a9df15e6d6ebe33aad2f55
tree58aef1d7e11f15d06c3bd067ae6d1dc4a4350957
parent27439fcac03632f2b1fd85268dc61af828c77e7b
drm/amdgpu: move scheduler fence callback into fence v2

And call the processed callback directly after submitting the job.

v2: split adding error handling into separate patch.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h