Re: [PATCH v5 10/14] drm/panthor: Add the scheduler logical block

2024-02-28 Thread Boris Brezillon
On Sun, 18 Feb 2024 22:41:24 +0100 Boris Brezillon wrote: > +static void panthor_sched_immediate_tick(struct panthor_device *ptdev) > +{ > + struct panthor_scheduler *sched = ptdev->scheduler; > + > + sched_queue_delayed_work(sched, tick, 0); > +} > + > +/** > + * panthor_sched_report_mmu

[PATCH v5 10/14] drm/panthor: Add the scheduler logical block

2024-02-18 Thread Boris Brezillon
This is the piece of software interacting with the FW scheduler, and taking care of some scheduling aspects when the FW comes short of slots scheduling slots. Indeed, the FW only expose a few slots, and the kernel has to give all submission contexts, a chance to execute their jobs. The kernel-side