drm/amdgpu: optimize scheduler fence handling
authorChristian König <christian.koenig@amd.com>
Thu, 5 Nov 2015 11:57:10 +0000 (12:57 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Nov 2015 17:19:58 +0000 (12:19 -0500)
commit393a0bd4376a8ecdde079344681a014ec3eb1291
treee32f0731bf98cd875eba23d6db0e0121b9c6e2d0
parente98c1b0de6fe73f488df62d83d83f377b1b6e2b8
drm/amdgpu: optimize scheduler fence handling

We only need to wait for jobs to be scheduled when
the dependency is from the same scheduler.

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