Displaying 3 results from an estimated 3 matches for "err_free_queue".
2025 Jan 22
1
[PATCH] drm/sched: Use struct for drm_sched_init() params
...ma_fence_context_alloc(1);
> >> spin_lock_init(&queue->fence_ctx.lock);
> >> INIT_LIST_HEAD(&queue->fence_ctx.in_flight_jobs);
> >> @@ -3341,17 +3344,23 @@ group_create_queue(struct panthor_group *group,
> >> if (ret)
> >> goto err_free_queue;
> >>
> >> + sched_params.ops = &panthor_queue_sched_ops;
> >> + sched_params.submit_wq = group->ptdev->scheduler->wq;
> >> + sched_params.num_rqs = 1;
> >> /*
> >> - * Credit limit argument tells us the total number of instr...
2025 Jan 23
1
[PATCH] drm/sched: Use struct for drm_sched_init() params
...;
> > >> spin_lock_init(&queue->fence_ctx.lock);
> > >> INIT_LIST_HEAD(&queue->fence_ctx.in_flight_jobs);
> > >> @@ -3341,17 +3344,23 @@ group_create_queue(struct panthor_group *group,
> > >> if (ret)
> > >> goto err_free_queue;
> > >>
> > >> + sched_params.ops = &panthor_queue_sched_ops;
> > >> + sched_params.submit_wq = group->ptdev->scheduler->wq;
> > >> + sched_params.num_rqs = 1;
> > >> /*
> > >> - * Credit limit argument tell...
2025 Jan 22
5
[PATCH] drm/sched: Use struct for drm_sched_init() params
..., 0, sizeof(struct drm_sched_init_params));
+
queue->fence_ctx.id = dma_fence_context_alloc(1);
spin_lock_init(&queue->fence_ctx.lock);
INIT_LIST_HEAD(&queue->fence_ctx.in_flight_jobs);
@@ -3341,17 +3344,23 @@ group_create_queue(struct panthor_group *group,
if (ret)
goto err_free_queue;
+ sched_params.ops = &panthor_queue_sched_ops;
+ sched_params.submit_wq = group->ptdev->scheduler->wq;
+ sched_params.num_rqs = 1;
/*
- * Credit limit argument tells us the total number of instructions
+ * The credit limit argument tells us the total number of instructions
*...