Hi Tomeu,
On Sun, Nov 29, 2026 at 8:37 PM Tomeu Vizoso <[email protected]> wrote:
> +/**
> + * struct drm_thames_job_submit - Arguments passed to
> DRM_IOCTL_THAMES_JOB_SUBMIT
> + *
> + * A submission is an ordered array of Jobs, so a sequence of Dispatches is
> + * one call. The Jobs a client submits run in the order it submits them,
> + * across calls, and a Job submitted again while an earlier submission of
> + * it is in flight runs after that one. Jobs of different clients have no
> + * order between them.
IIUC, as all jobs of a client run in submission order, even across
calls, its independent jobs can't run concurrently on the two C7x cores
of the J722S: each one still waits for the job submitted before it. Is
this intended?
I sent a patch for rocket that runs such jobs in parallel. It takes the
dependencies from the BOs each job reads and writes, and runs the
independent branches of models such as inception on different cores:
https://lore.kernel.org/dri-devel/[email protected]/
If it isn't intended, how about giving each job a list of syncs to wait
on (like panthor's queue submit), and ordering the jobs by those
dependencies instead of by submission order?
--
Thanks,
Gyeyoung