STRUCT DRM_PANFROST_SET_LABEL_BO(9)
π 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 than4096. andNULLis permitted β and it means clear the label. soNULLisn'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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms