Displaying 3 results from an estimated 3 matches for "job_timeout_m".
Did you mean:
job_timeout_ms
2025 Jan 22
1
[PATCH] drm/sched: Use struct for drm_sched_init() params
...ied after the
declaration.
> > .ops = &panthor_queue_sched_ops,
> > .submit_wq = group->ptdev->scheduler->wq,
> > .num_rqs = 1,
> > .credit_limit = args->ringbuf_size / sizeof(u64),
> > .hang_limit = 0,
> > .timeout = msecs_to_jiffies(JOB_TIMEOUT_MS),
> > .timeout_wq = group->ptdev->reset.wq,
> > .name = "panthor-queue",
> > .dev = group->ptdev->base.dev,
> > };
>
> +1 on this as a general approach for the whole series. And I'd drop the
> explicit zeros and NULLs. M...
2025 Jan 23
1
[PATCH] drm/sched: Use struct for drm_sched_init() params
...t; > > .ops = &panthor_queue_sched_ops,
> > > .submit_wq = group->ptdev->scheduler->wq,
> > > .num_rqs = 1,
> > > .credit_limit = args->ringbuf_size / sizeof(u64),
> > > .hang_limit = 0,
> > > .timeout = msecs_to_jiffies(JOB_TIMEOUT_MS),
> > > .timeout_wq = group->ptdev->reset.wq,
> > > .name = "panthor-queue",
> > > .dev = group->ptdev->base.dev,
> > > };
> >
+2
Matt
> > +1 on this as a general approach for the whole series. And I'd d...
2025 Jan 22
5
[PATCH] drm/sched: Use struct for drm_sched_init() params
.../drm/nouveau/nouveau_sched.c
@@ -404,9 +404,11 @@ nouveau_sched_init(struct nouveau_sched *sched, struct nouveau_drm *drm,
{
struct drm_gpu_scheduler *drm_sched = &sched->base;
struct drm_sched_entity *entity = &sched->entity;
- const long timeout = msecs_to_jiffies(NOUVEAU_SCHED_JOB_TIMEOUT_MS);
+ struct drm_sched_init_params params;
int ret;
+ memset(¶ms, 0, sizeof(struct drm_sched_init_params));
+
if (!wq) {
wq = alloc_workqueue("nouveau_sched_wq_%d", 0, WQ_MAX_ACTIVE,
current->pid);
@@ -416,10 +418,18 @@ nouveau_sched_init(struct nouveau_sched...