ENUM IRIS_INST_SUB_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum iris_inst_sub_state(9)

okay bestie, welcome to the enum iris_inst_sub_state(9) page β€” yes that's the title, yes it's from the Kernel API Manual, and yes we're gonna get through it together 🫢

This is one of those little header-file enums from the Qualcomm iris driver, and it's basically a mood ring for a media instance: each value is a sub-state, like a tiny status update the instance posts so everyone knows what phase of life it's in ✨


🌸 NAME

enum iris_inst_sub_state β€” and like… that's it. The description after the dash is literally empty in the original. No cap, blank. So the name is the whole name and we move on πŸ’€


πŸŽ€ SYNOPSIS

enum iris_inst_sub_state {
    IRIS_INST_SUB_FIRST_IPSC ,
    IRIS_INST_SUB_DRC ,
    IRIS_INST_SUB_DRC_LAST ,
    IRIS_INST_SUB_DRAIN ,
    IRIS_INST_SUB_DRAIN_LAST ,
    IRIS_INST_SUB_INPUT_PAUSE ,
    IRIS_INST_SUB_OUTPUT_PAUSE ,
    IRIS_INST_SUB_LOAD_RESOURCES

};

look at her go, eight members, all caps, all iconic πŸ‘‘

⭐ Constants

  • IRIS_INST_SUB_FIRST_IPSC β€” firmware hit us with a source change while the output port isn't streaming yet. early days, nothing's flowing, but the plot is already thickening πŸ¦‹
  • IRIS_INST_SUB_DRC β€” a source change came in from firmware while the output port is streaming, and the source change event got sent off to the client. we're live and something changed, bestie πŸ”₯
  • IRIS_INST_SUB_DRC_LAST β€” the final buffer of a source change just landed from firmware. last one out, doors closing πŸ’…
  • IRIS_INST_SUB_DRAIN β€” drain is in progress. the instance is emptying out its buffers, no big drama, just vibes 🌈
  • IRIS_INST_SUB_DRAIN_LAST β€” the last buffer of the drain sequence arrived from firmware. drain era: complete ✨
  • IRIS_INST_SUB_INPUT_PAUSE β€” a source change was received from firmware, and this one means firmware is paused and won't process any further input frames. input is on read-receipt mode πŸ™ˆ
  • IRIS_INST_SUB_OUTPUT_PAUSE β€” the last buffer of the drc sequence came in from firmware, and this means firmware is paused from processing any further output frames. output said "brb" 😭
  • IRIS_INST_SUB_LOAD_RESOURCES β€” everything's loaded! firmware has all the resources it needs and is ready to actually process stuff. main character energy, fully equipped πŸ‘‘

πŸ¦‹ SEE ALSO

  • Kernel file ./drivers/media/platform/qcom/iris/iris_state.h enum
  • iris_core_state(9)
  • enum iris_inst_state(9)

heads up bestie: IRIS_INST_SUB_INPUT_PAUSE and IRIS_INST_SUB_OUTPUT_PAUSE are the pause-y ones β€” input frames vs output frames β€” so don't mix them up when you're reading the state machine πŸ‘€

and that's the whole page, periodt πŸŽ€πŸ’œ this cutie came from ./drivers/media/platform/qcom/... with an October 2026 date stamp, filed under enum iris_inst_sub_state(9) β€” mwah, go read iris_state.h and slay πŸ’–

πŸ“¦ where this page comes from