Re: [RFC PATCH 00/10] drm/panthor: Add user submission

2024-09-03 Thread Ketil Johnsen
f_type=heads It is worth repeating, this is just a dumb switch from kernel submission to user submission for the Panfrost Gallium driver, no optimizations attempted. We have no concrete plans to pursue upstreaming of this for the time being. Panvk is our focus in that regard. -- Regards, Ke

Re: [RFC PATCH 00/10] drm/panthor: Add user submission

2024-08-29 Thread Ketil Johnsen
ms for user & kernel to signal     changes to native GPU syncobjs. [1] https://lore.kernel.org/amd-gfx/CADnq5_N61q_o+5WYUZsZ=qu7vmextfhqsxlwtco05glzhai...@mail.gmail.com/t/#m116a36a598d8fad1329e053974ad37a4dc0f28ed [2] https://gitlab.freedesktop.org/larsivsi/mesa/-/commits/panvk-v10-usersubmit?ref_

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 +cs_slot_s

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); + + drm_gem_vmap_unlocked(queue->syncwa

Re: [PATCH v2 12/15] drm/panthor: Add the driver frontend block

2023-09-06 Thread Ketil Johnsen
et = 0; + } + +out_dev_exit: + drm_dev_exit(cookie); + return ret; +} -- Regards, Ketil Johnsen

Re: [PATCH v2 02/15] drm/panthor: Add uAPI

2023-09-06 Thread Ketil Johnsen
D_OP_TYPE_MASK: Mask used to determine the type of operation. +*/ + DRM_PANTHOR_VM_BIND_OP_TYPE_MASK = 0xf << 28, Same issue for this member. Either not use the top most bit or cast value like "(int)(0xfU << 28)" avoids the pedantic warning. -- Regards, Ketil Johnsen