STRUCT DRM_PANFROST_WAIT_BO(9)
π struct drm_panfrost_wait_bo(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're in the kernel docs now, and yes it's iconic. today's main character is struct drm_panfrost_wait_bo, and honestly? she's a little struct with one job and she does it flawlessly. π
πΈ NAME πΈ
struct drm_panfrost_wait_bo β the ioctl argument you use when you wanna wait for the last DRM_PANFROST_SUBMIT on a BO to finish. like, actually finish. no vibes-based guessing, just waiting. β¨
π¦ SYNOPSIS π¦
struct drm_panfrost_wait_bo {
__u32 handle;
__u32 pad;
__s64 timeout_ns;
};
(that weird extra space before the closing brace? yeah, it's in the original, we don't touch it, we respect it π )
π Members π
handleβ the handle for the object you're waiting on. this is the "who am I waiting for" of the whole situation π«Άpadβ padding, and it must be zero-filled. not like "eh probably zero", it's a must. don't be the person who forgets. πtimeout_nsβ the absolute number of nanoseconds to wait. absolute, bestie. nanoseconds. that's so much precision and we love that for us β
π Description π
so here's the tea π β this is genuinely useful when multiple processes might be rendering to the same BO and you need to wait for all of that rendering to be completed. not some of it. all of it. no cap. once everything's done, then you can do your thing. it's giving responsible synchronization. π
π₯ SEE ALSO π₯
- Kernel file
./include/uapi/drm/panfrost_drm.h struct drm_panfrost_submit(9)struct drm_panfrost_create_bo(9)struct drm_panfrost_mmap_bo(9)struct drm_panfrost_set_label_bo(9)struct drm_panfrost_sync_bo(9)
go read them, they're all in the same friend group, iykyk π β¨
okay that's the whole page, bestie, and you ate it up. π this one lives at ./include/uapi/drm, dated October 2026, and it's filed under struct drm_panfrost_wait_bo(9) β mwah, slay, periodt. π§ππ
π¦ 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