ENUM IRIS_INST_SUB_STATE(9)
π 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.henum iris_core_state(9)enum iris_inst_state(9)
heads up bestie:IRIS_INST_SUB_INPUT_PAUSEandIRIS_INST_SUB_OUTPUT_PAUSEare 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
- 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