STRUCT DRM_PANTHOR_VM_GET_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct drm_panthor_vm_get_state(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual ✨ β€” today's main character is struct drm_panthor_vm_get_state, and honestly? It's giving "small but does exactly what it says on the tin." No cap. πŸ’…


🌸 NAME 🌸

struct drm_panthor_vm_get_state β€” literally just "Get VM state." πŸŽ€ That's the whole pitch. Short, sweet, iconic.


⭐ SYNOPSIS ⭐

struct drm_panthor_vm_get_state {
    __u32 vm_id;
    __u32 state;
 };

Look at that. Two __u32s and a dream. 🫢


πŸ‘‘ Members πŸ‘‘

  • vm_id β€” the VM that this get_state request is targeting, iykyk. It's the "who" of the whole operation. 🎯
  • state β€” the state the driver hands back to you. πŸ’– Important vibes check here: this must be one of the enum drm_panthor_vm_state values. Not vibes, not a guess β€” an actual member of that enum. periodt. ✨

🌈 SEE ALSO 🌈

okay this list is long long, so buckle up, bestie 🎒 β€” everything here lives in the kernel file ./include/uapi/drm/panthor_drm.h:

  • Introduction(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)
  • enum drm_panthor_bo_flags(9)
  • struct drm_panthor_bo_create(9)
  • struct drm_panthor_bo_mmap_offset(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)

That's the whole squad. Go read them, they're all worth it, fr fr. πŸ“šπŸ’œ


lowkey reminder: state is not a free-form number β€” it has to be one of the enum drm_panthor_vm_state values. Don't be out here inventing enum members, bestie. 😭

and that's the whole page, you ate that πŸ“ β€” this little cutie lives under ./include/uapi/drm, dated October 2026, and yes, the header/footer both spell it struct drm_...vm_get_state(9) so don't come for me about the abbreviation πŸ’€ mwah, bye! πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from