STRUCT DRM_PANFROST_SET_LABEL_BO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct drm_panfrost_set_label_bo β€” NAME

okay bestie, so struct drm_panfrost_set_label_bo is literally the ioctl argument for labelling Panfrost BOs πŸ’– β€” and yes, "BOs" means buffer objects, we're fancy like that. This is a page from the Kernel API Manual, and it's giving very niche-but-iconic ✨


🌸 SYNOPSIS

okay so here's the whole struct, copy it exactly, no cap:

struct drm_panfrost_set_label_bo {
    __u32 handle;
    __u32 pad;
    __u64 label;
};

πŸŽ€ Members

bestie, let's meet the cast πŸ’… every single one of them:

  • handle β€” the handle of the buffer object you're labelling. that's your main character right there πŸ‘‘
  • pad β€” literally must be zero. not one, not "eh close enough", zero 🫢
  • label β€” a user pointer to a NUL-terminated string. your cute little name tag for the BO 🏷️
also important, bestie: the length cannot be greater than 4096. and NULL is permitted β€” and it means clear the label. so NULL isn't a bug, it's a feature πŸ˜­πŸ™ˆ

πŸ¦‹ SEE ALSO

the whole friend group 🫢 go say hi:

  • the Kernel file ./include/uapi/drm/panfrost_drm.h
  • struct drm_panfrost_submit(9)
  • struct drm_panfrost_wait_bo(9)
  • struct drm_panfrost_create_bo(9)
  • struct drm_panfrost_mmap_bo(9)
  • struct drm_panfrost_sync_bo(9)

that's the page, periodt πŸ’… this came from ./include/uapi/drm, dated October 2026, and the title up top is struct drm_p...set_label_bo(9) β€” slay, go label your BOs responsibly πŸŽ€βœ¨πŸ”₯

πŸ“¦ where this page comes from