ENUM IRIS_INST_STATE(9)
π NAME
ok so enum iris_inst_state β and bestie, the manpage literally gives you nothing after the dash π like the description line is just empty. iconic of it honestly. it's a kernel enum that tracks what state a video instance is in, and the constants below are the whole story. keep reading, it slaps. π¦
β¨ SYNOPSIS β¨
enum iris_inst_state {
IRIS_INST_DEINIT ,
IRIS_INST_INIT ,
IRIS_INST_INPUT_STREAMING ,
IRIS_INST_OUTPUT_STREAMING ,
IRIS_INST_STREAMING ,
IRIS_INST_ERROR
};
like, that's the whole enum. six states, zero chill. π
π Constants π
IRIS_INST_DEINITβ the video instance is closed. doors shut, lights off, nobody's home πIRIS_INST_INITβ the video instance is opened. we're so back π«ΆIRIS_INST_INPUT_STREAMINGβ stream on is completed on the output plane. yes, input state, output plane β that's what it says, don't come for me, I'm just the messenger π§IRIS_INST_OUTPUT_STREAMINGβ stream on is completed on the capture plane. same little switcheroo energy β¨IRIS_INST_STREAMINGβ stream on is completed on both output and capture planes. the full slay, both planes, no notes πIRIS_INST_ERRORβ the error state. and then the manpage just... hands you this beautiful little diagram, which I am reproducing exactly because it's giving chaotic art-house cinema and I refuse to touch it π¬
IRIS_INST_ERROR
error state. | V ------------- +--------| INIT
|----------+ | ------------- | |
^ ^ | | / | |
/ | | v v |
| ----------- ----------- | | | INPUT
OUTPUT | | |---| STREAMING STREAMING |---| |
----------- ----------- | | ^ ^
| | / | | /
| | v v | |
------------- | |--------| STREAMING
|-----------| | ------------- | |
| | | | | |
v | | ----------- |
+-------->| DEINIT |<----------+ | -----------
| | | | | |
| | v | | ----------
| +-------->| ERROR |<------------+ ----------
ngl that diagram is doing a lot β it's the state machine showingINIT,INPUT STREAMING,OUTPUT STREAMING,STREAMING,DEINITandERRORall pointing at each other. vibe check: severely unhinged but we respect it π
π₯ SEE ALSO π₯
- the kernel file
./drivers/media/platform/qcom/iris/iris_state.h, where this enum lives, bestie β go read it, it's right there π enum iris_core_state(9)β the core-state sibling πenum iris_inst_sub_state(9)β because one state enum was apparently not enough, and honestly? obsessed β
and that's the whole page, no cap π this lil' slice of the Kernel API Manual is brought to you by the source path ./drivers/media/platform/qcom/... and dated October 2026 β see you in the next state transition, bestie! ππ
πΈ
π¦ 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