STRUCT IRIS_HFI_PACKET(9)
π¦ struct iris_hfi_packet(9) β Kernel API Manual π¦
okay so bestie, we're in the Kernel API Manual today and the star of the show is struct iris_hfi_packet. keep up, this one's a whole vibe π
β¨ NAME β¨
struct iris_hfi_packet β and honestly? the NAME line is literally just
struct iris_hfi_packet -
with nothing after the dash. no summary, no teaser, no nothing. mysterious main character energy fr fr π (iykyk)
π SYNOPSIS π
here's the shape of it, copied exactly, no cap:
struct iris_hfi_packet {
u32 size;
u32 type;
u32 flags;
u32 payload_info;
u32 port;
u32 packet_id;
u32 reserved[2];
u32 payload[];
};
π Members π
okay so let's go field by field, because every single one matters π«Ά
sizeβ the size of the hfi_packet in bytes, and yes that includes the payload. don't forget the payload, bestie πtypeβ one of the hfi_packet types below:HFI_CMD_*,HFI_PROP_*,HFI_ERROR_*,HFI_INFO_*,HFI_SYS_ERROR_*. pick your fighter πflagsβ the hfi_packet flags, represented as bit masks. the host packet flags are"enum hfi_packet_host_flags"and the firmware packet flags are"enum hfi_packet_firmware_flags". two whole enum situations, slay β¨payload_infoβ payload information, indicated by"enum hfi_packet_payload_info". it's giving "the details about the payload" πportβ the hfi_packet port type, indicated by"enum hfi_packet_port_type". heads up: this is a bitmask and may be applicable to multiple ports. so like, not just one port. many. iconic πΈpacket_idβ the host hfi_packet contains a unique packet id. the firmware returns the host packet id in the response packet wherever applicable. and if it's not applicable? firmware sets it to zero. periodt π₯reservedβ reserved for future use. hands off, it's saving that space for later πpayloadβ a flexible array of payload having additional packet information. flexible = it does what it wants, lowkey π¦
π SEE ALSO π
go touch some more kernel files, bestie:
- Kernel file
./drivers/media/platform/qcom/iris/iris_hfi_gen2_packet.h struct iris_hfi_header(9),struct iris_hfi_buffer(9)
ngl this whole header lives over at./drivers/media/platform/qcom/...β theiris_hfi_gen2_packet.hone is your bestie for the full picture π§
and that's the tea, bestie π this page came from that ./drivers/media/platform/qcom/... source and it's dated October 2026 β so yeah, future vibes only βπ
bye!
π¦ 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