]> git.baikalelectronics.ru Git - kernel.git/commit
drm/scheduler: move idle entities to scheduler with less load v2
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Wed, 1 Aug 2018 08:20:02 +0000 (13:50 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:46 +0000 (11:09 -0500)
commitdb10ca118c32aebde09b01e31c2bb237ebf317bb
tree157e61d6e33943a831cea978ee76feba742ce8e5
parentbc9e5d7dfb4fb8eb5cb4e879e65c9a31d2a15df6
drm/scheduler: move idle entities to scheduler with less load v2

This is the first attempt to move entities between schedulers to
have dynamic load balancing. We just move entities with no jobs for
now as moving the ones with jobs will lead to other compilcations
like ensuring that the other scheduler does not remove a job from
the current entity while we are moving.

v2: remove unused variable and an unecessary check

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/scheduler/gpu_scheduler.c