STRUCT HL_INFO_DEV_MEMALLOC_PAGE_SIZES(9)
π 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,0x2100000means 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms