STRUCT HL_INFO_ENGINE_ERR_EVENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct hl_info_engine_err_event β€” the little struct that's literally just here to spill the tea on engine errors πŸ› οΈβœ¨

okay so real quick β€” this page lives in the Kernel API Manual, and it's about one single struct. That's it. That's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

struct hl_info_engine_err_event {
    __s64 timestamp;
    __u16 engine_id;
    __u16 error_count;
    __u32 pad;
 };

bestie look at it. four fields. immaculate. no cap. πŸ’…


✨ Members ✨

  • timestamp β€” the time-stamp of when the error happened, i.e. the receipts for exactly when things went sideways πŸ•
  • engine_id β€” the engine id of whoever reported the error. snitch behavior, honestly, but we respect it πŸ‘€
  • error_count β€” the amount of errors reported. yes it's a count. yes it might be more than one. stay calm 😭
  • pad β€” size padding for u64 granularity. it's giving "filler episode" but it's doing important structural work, don't come for it 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

the whole extended universe lives in the kernel file ./include/uapi/drm/habanalabs_accel.h β€” go read it, it's the main character 🧚

  • 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_dev_memalloc_page_sizes(9)
  • struct hl_page_fault_info(9)
  • struct hl_user_mapping(9)
  • struct hl_info_args(9)

ngl this struct is short but it ate. every field accounted for, nothing skipped, we love a clean layout πŸ’―

okay that's the page!! sourced straight from ./include/uapi/drm, dated October 2026 β€” go off, kernel docs, and ty for coming to my ted talk πŸ“πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from