drm/scheduler: stop setting rq to NULL
authorChristian König <christian.koenig@amd.com>
Mon, 30 Jul 2018 09:40:06 +0000 (11:40 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Jul 2018 21:58:20 +0000 (16:58 -0500)
commita875f58e237a0009c337dd140e4f92a7cffab7af
tree3e6fade1f4d681b40d86b93d12350ff7571f5a12
parent43bce41cf48eb51eab5ad9e0d40ed382a7bb61d7
drm/scheduler: stop setting rq to NULL

We removed the redundancy of having an extra scheduler field, so we
can't set the rq to NULL any more or otherwise won't know which
scheduler to use for the cleanup.

Just remove the entity from the scheduling list instead.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107367
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/scheduler/gpu_scheduler.c