DRM_IOCTL_ASAHI(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ DRM_IOCTL_ASAHI(9) πŸ‘‘

okay bestie, welcome to the Kernel API Manual page for DRM_IOCTL_ASAHI β€” yes, we're doing kernel lore today and it's giving very niche, very iconic πŸ’…βœ¨


🌸 NAME 🌸

DRM_IOCTL_ASAHI β€” Build an Asahi IOCTL number


πŸ¦‹ SYNOPSIS πŸ¦‹

DRM_IOCTL_ASAHI (__access , __id , __type );

πŸ’… ARGUMENTS πŸ’…

  • __access β€” access type, bestie. Must be R, W or RW. periodt.
  • __id β€” one of the DRM_ASAHI_xxx id.
  • __type β€” suffix of the type being passed to the IOCTL.

✨ DESCRIPTION ✨

okay so here's the tea: don't use this macro directly, use the DRM_IOCTL_ASAHI_xxx values instead. that's the whole rule, no cap πŸ«ΆπŸ’–


πŸŽ€ RETURN πŸŽ€

it hands you back an IOCTL number to be passed to ioctl from userspace. literally that. iconic. ✨


🌈 SEE ALSO 🌈

go peek at these, bestie β€” all the lore lives here:

  • 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)
  • 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)

catch u later, bestie 🫢 β€” source/version: ./include/uapi/drm; date: October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from