STRUCT DRM_PANTHOR_BO_MMAP_OFFSET(9)
π struct drm_panthor_bo_mmap_offset(9) π
ok so bestie, welcome to the Kernel API Manual β¨ this whole page is about struct drm_panthor_bo_mmap_offset β the little argument struct you hand over to DRM_IOCTL_PANTHOR_BO_MMAP_OFFSET. that's it. that's the vibe. π
β¨ NAME β¨
struct drm_panthor_bo_mmap_offset β the arguments passed to DRM_IOCTL_PANTHOR_BO_MMAP_OFFSET, no cap π«Ά
πΈ SYNOPSIS πΈ
like, literally this exact shape:
struct drm_panthor_bo_mmap_offset {
__u32 handle;
__u32 pad;
__u64 offset;
};
(yeah the closing brace has a lil space before it in the original, we're keeping it, iykyk π )
π¦ Members π¦
okay so it's giving three fields, and every single one matters:
handleβ the handle of the object we want an mmap offset for. it's the baddie's ID, basically πpadβ MBZ. (that's "must be zero" β not me being dramatic, it's literally what it means π)offsetβ the fake offset to use for all your subsequentmmapcalls. fake it till you make it, main character energy only π
π₯ SEE ALSO π₯
the linking of it all, bestie β here's the whole squad, in order, no skips:
- Kernel file
./include/uapi/drm/panthor_drm.hIntroduction(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_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_op(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)
ngl there's not a single warning, bug note, exit status or env var on this page β it's a chill one. the only thing to remember is pad is MBZ, periodt. π
ok bye bestie, go mmap something iconic πβ
sourced straight from ./include/uapi/drm, dated October 2026, and filed under struct drm_..._mmap_offset(9) β slay, you read the whole thing πππ¦
π¦ 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