STRUCT IRIS_HFI_HEADER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct iris_hfi_header(9) ✨

okay bestie, welcome to the Kernel API Manual 🫢 β€” today's main character is struct iris_hfi_header, and honestly? she's giving header energy. πŸ’…


🌸 NAME 🌸

struct iris_hfi_header β€” literally a struct, and that's the whole name section, no cap 😭 (the original leaves it empty too, iykyk)


πŸ¦‹ SYNOPSIS πŸ¦‹

struct iris_hfi_header {
    u32 size;
    u32 session_id;
    u32 header_id;
    u32 reserved[4];
    u32 num_packets;
 };

look at her. pristine. iconic. πŸŽ€


πŸ‘‘ Members πŸ‘‘

  • size β€” the size of the total packet in bytes, and yes that includes the hfi_header itself πŸ’– don't forget her, she counts.
  • session_id β€” bestie, this one's a vibe check πŸ‘€ for a session level hfi_header, session_id is non-zero. for a system level hfi_header, session_id is zero. that's the whole tell, periodt.
  • header_id β€” a unique header id for each hfi_header ✨ every single one gets her own little name tag, slay.
  • reserved β€” reserved for future use πŸ™ˆ aka the "we'll deal with it later" corner. hands off for now!
  • num_packets β€” how many hfi_packets are included with the hfi_header πŸ“¦ like, how many friends she brought to the function.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/media/platform/qcom/iris/iris_hfi_gen2_packet.h πŸ¦‹
  • struct iris_hfi_packet(9)
  • struct iris_hfi_buffer(9)

ngl, go read those next, they're lowkey the whole friend group πŸ’œ


okay that's the page!! fr fr you now understand struct iris_hfi_header better than most people πŸ˜­πŸ’€ this cutie came out of ./drivers/media/platform/qcom/... and the date on her birth certificate says October 2026 β€” mark your calendars bestie πŸŽ€βœ¨πŸŒΈπŸ’–πŸ«Ά

πŸ“¦ where this page comes from