[PATCH 0/3] drm/scheduler: preparation for load balancing

Nayan Deshmukh nayan26deshmukh at gmail.com
Thu Jul 12 06:36:40 UTC 2018


This patch series is prepration for implementing better load balancing
in the GPU scheduler. Patch #3 is the major change which modifies the 
drm_sched_entity_init, the driver is now expected to provide a list of
potential run queue on which the jobs from this entity can be scheduled.

In future patches we will add functionality to scheduler to select the 
run queue which has the least amount of load. To avoid making
significant changes to multiple drivers in the same patch I am not yet
sending a list to drm_sched_entity_init. I will make seprate patches for
each driver for that.

Regards,
Nayan Deshmukh

Nayan Deshmukh (3):
  drm/scheduler: add a pointer to scheduler in the rq
  drm/scheduler: add counter for total jobs in scheduler
  drm/scheduler: modify args of drm_sched_entity_init

 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c   |  4 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c   |  4 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c   |  4 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c   |  4 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c    |  4 ++--
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c     |  4 ++--
 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c     |  4 ++--
 drivers/gpu/drm/etnaviv/etnaviv_drv.c     |  8 ++++----
 drivers/gpu/drm/scheduler/gpu_scheduler.c | 31 +++++++++++++++++++++----------
 drivers/gpu/drm/v3d/v3d_drv.c             |  7 +++----
 include/drm/gpu_scheduler.h               | 17 +++++++++++++----
 11 files changed, 55 insertions(+), 36 deletions(-)

-- 
2.14.3



More information about the dri-devel mailing list