]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/scheduler: remove sched field from the entity
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Fri, 20 Jul 2018 12:21:06 +0000 (17:51 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Jul 2018 20:06:26 +0000 (15:06 -0500)
commit068c330419ffb3422a43cb7d34351f1ef033950f
tree06fa3e3343bb92371a910769074f137576a7ca67
parentcdc50176597cb44ce25eb7331c450058775b8d2a
drm/scheduler: remove sched field from the entity

The scheduler of the entity is decided by the run queue on which
it is queued. This patch avoids us the effort required to maintain
a sync between rq and sched field when we start shifting entites
among different rqs.

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