STRUCT DRM_V3D_MMAP_BO(9)
π struct drm_v3d_mmap_bo(9) β like, the whole vibe
okay so bestie, welcome to the Kernel API Manual page for struct drm_v3d_mmap_bo β¨ this is the ioctl argument for mapping V3D BOs, and honestly? it's giving "small struct, big responsibility" π
πΈ NAME πΈ
struct drm_v3d_mmap_bo β the ioctl argument for mapping V3D BOs. periodt. that's the whole job π
β¨ SYNOPSIS β¨
here's the exact shape of it, no notes, no cap:
struct drm_v3d_mmap_bo {
__u32 handle;
__u32 flags;
__u64 offset;
};
look at those three little fields living their best life π«Ά
π¦ Members π¦
ngl the original page doesn't spell out each member here β it just drops the heading and moves on, so that's exactly what we're doing too. no invented lore, iykyk π
π Description π
okay this is the part where it gets iconic β because this doesn't actually perform an mmap. i know. plot twist. π
what it does do: it returns the offset you need to use in an mmap on the DRM device node. that's it, that's the whole flex π
and why do we care? because that means tools like valgrind end up knowing about the mapped memory. literally so helpful of it π§π«
as for flags β there are currently no values for the flags argument, but it may be used in a future extension. so it's just sitting there, cute, waiting for its moment π
π₯ SEE ALSO π₯
go read these next, bestie, they're all in the kernel file ./include/uapi/drm/v3d_drm.h and they all ate:
struct drm_v3d_multi_sync(9)struct drm_v3d_submit_cl(9)struct drm_v3d_wait_bo(9)struct drm_v3d_create_bo(9)struct drm_v3d_indirect_csd(9)struct drm_v3d_timestamp_query(9)struct drm_v3d_reset_timestamp_query(9)struct drm_v3d_copy_timestamp_query(9)struct drm_v3d_reset_performance_query(9)struct drm_v3d_copy_performance_query(9)struct drm_v3d_perfmon_get_counter(9)struct drm_v3d_perfmon_set_global(9)
so many structs, so little time π β¨
alright babes, that's the page πΈ this lil gem lives under ./include/uapi/drm and it's dated October 2026 β mwah, sending you off with a kiss and the header struct drm_v3d_mmap_bo(9) so you always remember where you came from πππ¦
π¦ 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