drm/scheduler: change entities rq even earlier
authorChristian König <christian.koenig@amd.com>
Wed, 8 Aug 2018 11:07:11 +0000 (13:07 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:07 +0000 (11:10 -0500)
commit35e160e781a048a9170a9deb3c1f13f06df4add9
treec58d71a1de518055e2aab516459cb9b62e259d61
parent573edb241b44162a1478cc74429f94df86e6e71d
drm/scheduler: change entities rq even earlier

Looks like for correct debugging we need to know the scheduler even
earlier. So move picking a rq for an entity into job creation.

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