summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2021-08-05 12:46:53 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2021-08-30 10:58:20 +0200
commitc79a4487f33bdac125dc682c5584f3e13f5461f5 (patch)
tree13ae1a627072e9f588d89cee73bb79175b2f05ae /drivers/gpu/drm/lima/lima_sched.h
parent53516280cc3842746b09b5442addf62b41f1f420 (diff)
downloadlinux-stable-c79a4487f33bdac125dc682c5584f3e13f5461f5.tar.gz
linux-stable-c79a4487f33bdac125dc682c5584f3e13f5461f5.tar.bz2
linux-stable-c79a4487f33bdac125dc682c5584f3e13f5461f5.zip
drm/lima: use scheduler dependency tracking
Nothing special going on here. Aside reviewing the code, it seems like drm_sched_job_arm() should be moved into lima_sched_context_queue_task and put under some mutex together with drm_sched_push_job(). See the kerneldoc for drm_sched_push_job(). v2: Rebase over renamed functions to add dependencies. Reviewed-by: Qiang Yu <yuq825@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Cc: Qiang Yu <yuq825@gmail.com> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: "Christian König" <christian.koenig@amd.com> Cc: lima@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Link: https://patchwork.freedesktop.org/patch/msgid/20210805104705.862416-9-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.h')
-rw-r--r--drivers/gpu/drm/lima/lima_sched.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/lima/lima_sched.h b/drivers/gpu/drm/lima/lima_sched.h
index ac70006b0e26..6a11764d87b3 100644
--- a/drivers/gpu/drm/lima/lima_sched.h
+++ b/drivers/gpu/drm/lima/lima_sched.h
@@ -23,9 +23,6 @@ struct lima_sched_task {
struct lima_vm *vm;
void *frame;
- struct xarray deps;
- unsigned long last_dep;
-
struct lima_bo **bos;
int num_bos;