]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add scheduler dependency callback v2
authorChristian König <christian.koenig@amd.com>
Tue, 25 Aug 2015 09:05:36 +0000 (11:05 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Aug 2015 19:04:17 +0000 (15:04 -0400)
commite33c62f3fc3e925efa266133f0463b590de763b9
tree9f28992f9423cc754e1ea4f94eba149eca96effc
parented43295a900d7f50c1fbbb475bd3e74e16b3f2a3
drm/amdgpu: add scheduler dependency callback v2

This way the scheduler doesn't wait in it's work thread any more.

v2: fix race conditions

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