STRUCT DRM_ASAHI_VM_DESTROY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ struct drm_asahi_vm_destroy(9) πŸ’œ

okay so bestie, welcome to the Kernel API Manual entry for struct drm_asahi_vm_destroy, which is genuinely one of the shorter reads in the Asahi pile and honestly? we love a low-effort icon. ✨


🌸 NAME 🌸

struct drm_asahi_vm_destroy β€” the arguments you hand over to DRM_IOCTL_ASAHI_VM_DESTROY, i.e. the little envelope you pass in when you want a VM gone. no cap, that's it. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

struct drm_asahi_vm_destroy {
    __u32 vm_id;
    __u32 pad;
 };

look at her. two fields. flawless. not a single wasted byte. πŸ¦‹


🧚 Members 🧚

  • vm_id β€” the VM ID you want destroyed. this is the one that actually does something, main character energy fr fr. πŸ”₯
  • pad β€” MBZ. and yes bestie, MBZ = must be zero β€” fill it with zeroes, that's the whole vibe check. πŸ™ˆ
lowkey important: pad is MBZ, so don't get cute and put random bytes in there. zero it out and keep it moving. πŸ’€

🌈 SEE ALSO 🌈

like, the whole Asahi cinematic universe, okay? go read them all, iykyk:

  • 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)
  • 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)
  • struct drm_asahi_vm_bind(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)

and that's the whole page, bestie β€” short, sweet, and completely iconic. 🫢

sign-off time: this lil masterpiece lives in ./include/uapi/drm, dated October 2026, and it's struct drm_asahi_vm_destroy(9) forever and always. byeeeee πŸ’–πŸŽ€β­

πŸ“¦ where this page comes from