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_
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
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
et = 0;
+ }
+
+out_dev_exit:
+ drm_dev_exit(cookie);
+ return ret;
+}
--
Regards,
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
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