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

2024-01-15 Thread Boris Brezillon
On Wed, 20 Dec 2023 20:59:43 +0100 Ketil Johnsen wrote: > > +/** > > + * cs_slot_sync_queue_state_locked() - Synchronize the queue slot priority > > + * @ptdev: Device. > > + * @csg_id: Group slot. > > + * @cs_id: Queue slot. > > + * > > + * Queue state is updated on group suspend or

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

2024-01-15 Thread Boris Brezillon
On Tue, 19 Dec 2023 12:50:21 +0100 Ketil Johnsen wrote: > On 04/12/2023 18:33, Boris Brezillon wrote: > > > > > +static void > > +panthor_queue_put_syncwait_obj(struct panthor_queue *queue) > > +{ > > + if (queue->syncwait.kmap) { > > + struct iosys_map map = > >

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

2024-01-15 Thread Boris Brezillon
On Mon, 11 Dec 2023 16:27:36 + Steven Price wrote: > On 04/12/2023 17:33, Boris Brezillon wrote: > > 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

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

2023-12-20 Thread Ketil Johnsen
On 04/12/2023 18:33, Boris Brezillon wrote: +/** + * cs_slot_sync_queue_state_locked() - Synchronize the queue slot priority + * @ptdev: Device. + * @csg_id: Group slot. + * @cs_id: Queue slot. + * + * Queue state is updated on group suspend or STATUS_UPDATE event. + */ +static void

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

2023-12-19 Thread Ketil Johnsen
On 04/12/2023 18:33, Boris Brezillon wrote: +static void +panthor_queue_put_syncwait_obj(struct panthor_queue *queue) +{ + if (queue->syncwait.kmap) { + struct iosys_map map = IOSYS_MAP_INIT_VADDR(queue->syncwait.kmap); + +

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

2023-12-11 Thread Steven Price
On 04/12/2023 17:33, Boris Brezillon wrote: > 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

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

2023-12-04 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