STRUCT DRM_PANTHOR_BO_SYNC_OP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct drm_panthor_bo_sync_op β€” the BO map sync op, bestie πŸ’…

okay so this is from the Kernel API Manual, and it's literally the little struct that tells the kernel "hey, sync this chunk of my buffer object for me" 🫢


🌸 SYNOPSIS 🌸

struct drm_panthor_bo_sync_op {
    __u32 handle;
    __u32 type;
    __u64 offset;
    __u64 size;
 };

that's the whole vibe. four fields, zero drama ✨


πŸŽ€ MEMBERS πŸŽ€

  • handle β€” the handle of the buffer object you wanna sync. that's your BO's little ID badge πŸͺͺ
  • type β€” what kind of operation this is, iykyk πŸ‘‘
  • offset β€” where into the BO your sync range starts.
lowkey important: this gets rounded down to the nearest cache line as needed 🧚 nothing you can do about it, it's just the rules
  • size β€” how big the range you're syncing is.
and size + offset gets rounded up to the nearest cache line as needed 🌈 so your range might come out a lil bigger than you asked for, not smaller, no cap

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, fr fr β€” go read these too:

  • Kernel file ./include/uapi/drm/panthor_drm.h
  • Introduction(9)
  • MMIO regions exposed to userspace.(9)
  • IOCTL IDs(9)
  • IOCTL arguments(9)
  • struct drm_panthor_obj_array(9)
  • DRM_PANTHOR_OBJ_ARRAY(9)
  • enum drm_panthor_sync_op_flags(9)
  • struct drm_panthor_sync_op(9)
  • enum drm_panthor_dev_query_type(9)
  • enum drm_panthor_gpu_coherency(9)
  • struct drm_panthor_gpu_info(9)
  • struct drm_panthor_csif_info(9)
  • enum drm_panthor_timestamp_info_flags(9)
  • struct drm_panthor_timestamp_info(9)
  • struct drm_panthor_mmu_info(9)
  • struct drm_panthor_group_priorities_info(9)
  • struct drm_panthor_dev_query(9)
  • struct drm_panthor_vm_create(9)
  • struct drm_panthor_vm_destroy(9)
  • enum drm_panthor_vm_bind_op_flags(9)
  • struct drm_panthor_vm_bind_op(9)
  • enum drm_panthor_vm_bind_flags(9)
  • struct drm_panthor_vm_bind(9)
  • enum drm_panthor_vm_state(9)
  • struct drm_panthor_vm_get_state(9)
  • enum drm_panthor_bo_flags(9)
  • struct drm_panthor_bo_create(9)
  • struct drm_panthor_bo_mmap_offset(9)
  • struct drm_panthor_queue_create(9)
  • enum drm_panthor_group_priority(9)
  • struct drm_panthor_group_create(9)
  • struct drm_panthor_group_destroy(9)
  • struct drm_panthor_queue_submit(9)
  • struct drm_panthor_group_submit(9)
  • enum drm_panthor_group_state_flags(9)
  • struct drm_panthor_group_get_state(9)
  • struct drm_panthor_tiler_heap_create(9)
  • struct drm_panthor_tiler_heap_destroy(9)
  • struct drm_panthor_bo_set_label(9)
  • struct drm_panthor_set_user_mmio_offset(9)
  • enum drm_panthor_bo_sync_op_type(9)
  • struct drm_panthor_bo_sync(9)
  • enum drm_panthor_bo_extra_flags(9)
  • struct drm_panthor_bo_query_info(9)
  • DRM_IOCTL_PANTHOR(9)

that's it, that's the page πŸ’œ this one lives in ./include/uapi/drm, dropped October 2026, straight outta the Kernel API Manual. go sync something iconic πŸŽ€βœ¨

πŸ“¦ where this page comes from