STRUCT HL_INFO_DEV_MEMALLOC_PAGE_SIZES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

ok so bestie, gather round β€” struct hl_info_dev_memalloc_page_sizes is literally the struct that tells you which page sizes are valid in device mem alloc information. that's it, that's the vibe ✨


πŸŽ€ SYNOPSIS πŸŽ€

struct hl_info_dev_memalloc_page_sizes {
    __u64 page_order_bitmask;
};

πŸ¦‹ Members πŸ¦‹

  • page_order_bitmask β€” a bitmap, and every set bit is the order of a supported page size. so like, 0x2100000 means the 1MB and 32MB pages are supported. that's the whole flex 🫢

🌈 SEE ALSO 🌈

first up, the kernel file this whole thing lives in: ./include/uapi/drm/habanalabs_accel.h β€” go say hi πŸ‘‘

then the rest of the friend group:

  • enum hl_goya_dma_direction(9)
  • enum hl_device_status(9)
  • struct hl_info_hw_ip_info(9)
  • struct hl_info_pci_counters(9)
  • struct hl_info_clk_throttle(9)
  • struct hl_info_energy(9)
  • struct hl_open_stats_info(9)
  • struct hl_power_info(9)
  • struct hl_info_sync_manager(9)
  • struct hl_info_cs_counters(9)
  • struct hl_info_last_err_open_dev_time(9)
  • struct hl_info_cs_timeout_event(9)
  • struct hl_info_razwi_event(9)
  • struct hl_info_undefined_opcode_event(9)
  • struct hl_info_hw_err_event(9)
  • struct hl_info_fw_err_event(9)
  • struct hl_info_engine_err_event(9)
  • struct hl_page_fault_info(9)
  • struct hl_user_mapping(9)
  • struct hl_info_args(9)

ngl this one's short and sweet β€” one member, one bitmask, zero drama. not me being obsessed with a struct that fits in a single field πŸ˜­πŸ’–

ok bye ily, this page lives in ./include/uapi/drm and the version/date situation is serving October 2026 πŸ—“οΈβœ¨ slay, periodt πŸ’…πŸŒΈ

πŸ“¦ where this page comes from