STRUCT DRM_ASAHI_GEM_BIND_OP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct drm_asahi_gem_bind_op(9) β€” Kernel API Manual πŸ’–

✨ NAME ✨

struct drm_asahi_gem_bind_op β€” Description of a single GEM bind operation. okay so it's literally the little info card for one (1) GEM bind operation, and it ate πŸ’…


πŸ› οΈ SYNOPSIS πŸ› οΈ

bestie, here's the struct in all its main-character glory β€” every field is doing its job, no cap:

struct drm_asahi_gem_bind_op {
    __u32 flags;
    __u32 handle;
    __u64 offset;
    __u64 range;
    __u64 addr;
 };

🫢 Members 🫢

  • flags β€” Combination of drm_asahi_bind_flags flags. iconic little bitmask behavior ✨
  • handle β€” GEM object to bind (except for UNBIND). πŸ‘‘
  • offset β€” Offset into the object (except for UNBIND).
    • For a regular bind, this is the beginning of the region of the GEM object to bind.
    • For a single-page bind, this is the offset to the single page that will be repeatedly bound.
    • Must be page-size aligned. ⭐
  • range β€” Number of bytes to bind/unbind to addr.
    • Must be page-size aligned. ⭐
  • addr β€” Address to bind to.
    • Must be page-size aligned. ⭐

🌈 SEE ALSO 🌈

the whole squad is here, fr fr β€” go peek at:

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

mwah πŸ’‹ source/version footer says ./include/uapi/drm, date is October 2026, and the footer tag is struct drm_a..._gem_bind_op(9) β€” bye bestie, go bind responsibly 🫢✨

πŸ“¦ where this page comes from