]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1283b9c30106586985019b36b22ff4f286c128e0
treee32f0731bf98cd875eba23d6db0e0121b9c6e2d0
parentab4756c25a6451ea782dd8d6cb9df2c785db0be4
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