drm/amdgpu: generalize the scheduler fence
authorChristian König <christian.koenig@amd.com>
Fri, 20 May 2016 10:53:52 +0000 (12:53 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:20 +0000 (14:51 -0400)
commit6fc1367582534a54476c701326f00e7d2ec81f22
tree35864ccc25c7ea237aa8ff7a16afad55e4f6a59b
parent0e9d239b8d704e7878a173784a6c128e64e25fe5
drm/amdgpu: generalize the scheduler fence

Make it two events, one for the job being scheduled and one when it is finished.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
drivers/gpu/drm/amd/scheduler/gpu_sched_trace.h
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
drivers/gpu/drm/amd/scheduler/sched_fence.c