STRUCT DRM_ASAHI_VM_BIND(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct drm_asahi_vm_bind(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” this page is all about struct drm_asahi_vm_bind, and it's lowkey the blueprint for the arguments you pass to DRM_IOCTL_ASAHI_VM_BIND. no cap, every field matters here, so let's get into it 🫢


✨ NAME ✨

struct drm_asahi_vm_bind - Arguments passed to DRM_IOCTL_ASAHI_VM_BIND


πŸ¦‹ SYNOPSIS πŸ¦‹

the shape of it is literally this, bestie:

struct drm_asahi_vm_bind {
    __u32 vm_id;
    __u32 num_binds;
    __u32 stride;
    __u32 pad;
    __u64 userptr;
 };

πŸ’… Members πŸ’…

okay, field-by-field, because we are not skipping a single one πŸ’–

  • vm_id β€” The ID of the VM to bind to
  • num_binds β€” number of binds in this IOCTL.
  • stride β€” Stride in bytes between consecutive binds. This allows extensibility of drm_asahi_gem_bind_op.
  • pad β€” MBZ. that's the whole note, periodt.
  • userptr β€” User pointer to an array of num_binds structures of type drm_asahi_gem_bind_op and size stride bytes.

🌈 SEE ALSO 🌈

the lore continues β€” go read these too, bestie:

  • Kernel file ./include/uapi/drm/asahi_drm.h
  • Introduction to the Asahi UAPI(9)
  • enum drm_asahi_ioctl_id(9)
  • struct drm_asahi_params_global(9)
  • enum drm_asahi_feature(9)
  • struct drm_asahi_get_params(9)
  • struct drm_asahi_vm_create(9)
  • struct drm_asahi_vm_destroy(9)
  • enum drm_asahi_gem_flags(9)
  • struct drm_asahi_gem_create(9)
  • struct drm_asahi_gem_mmap_offset(9)
  • enum drm_asahi_bind_flags(9)
  • struct drm_asahi_gem_bind_op(9)
  • enum drm_asahi_bind_object_op(9)
  • enum drm_asahi_bind_object_flags(9)
  • struct drm_asahi_gem_bind_object(9)
  • enum drm_asahi_cmd_type(9)
  • enum drm_asahi_priority(9)
  • struct drm_asahi_queue_create(9)
  • struct drm_asahi_queue_destroy(9)
  • enum drm_asahi_sync_type(9)
  • struct drm_asahi_sync(9)
  • DRM_ASAHI_BARRIER_NONE(9)
  • struct drm_asahi_cmd_header(9)
  • struct drm_asahi_submit(9)
  • struct drm_asahi_attachment(9)
  • struct drm_asahi_zls_buffer(9)
  • struct drm_asahi_timestamp(9)
  • struct drm_asahi_timestamps(9)
  • struct drm_asahi_helper_program(9)
  • struct drm_asahi_bg_eot(9)
  • struct drm_asahi_cmd_render(9)
  • struct drm_asahi_cmd_compute(9)
  • struct drm_asahi_get_time(9)
  • DRM_IOCTL_ASAHI(9)

mwah πŸ’‹ β€” source/version vibes: ./include/uapi/drm, dated October 2026, and yes, it's still struct drm_asahi_vm_bind(9). bye bestie 🫢✨

πŸ“¦ where this page comes from