drm/scheduler: add a pointer to scheduler in the rq
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Fri, 13 Jul 2018 09:51:13 +0000 (15:21 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:45:58 +0000 (14:45 -0500)
commit8dc9fbbf274b7b2a647e06141aee70ffabf6dbc0
tree03fb6aa2aae4331e013902b60afedc6bf18ea118
parentb7d85e1db32ea85b09f58f416da48f44285ff41f
drm/scheduler: add a pointer to scheduler in the rq

This patch is in preparation for a better load balancing in
scheduler. It allows us to associate entities with the
run queues instead of binding them to a scheduler.

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