aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.h
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2021-08-05 10:46:53 +0000
committerDaniel Vetter <[email protected]>2021-08-30 08:58:20 +0000
commitc79a4487f33bdac125dc682c5584f3e13f5461f5 (patch)
tree13ae1a627072e9f588d89cee73bb79175b2f05ae /drivers/gpu/drm/lima/lima_sched.h
parentdrm/panfrost: use scheduler dependency tracking (diff)
downloadkernel-c79a4487f33bdac125dc682c5584f3e13f5461f5.tar.gz
kernel-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 <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Cc: Qiang Yu <[email protected]> Cc: Sumit Semwal <[email protected]> Cc: "Christian König" <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
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;