]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit569eb5844ac42b0f85ac77122cee6808362a252e
tree3e6fade1f4d681b40d86b93d12350ff7571f5a12
parenta86bb6eb09d401eb53703c31db7c2027d4f55dd7
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