v4l2_pipeline_pm_put(9)
π v4l2_pipeline_pm_put(9) β the Kernel API Manual, but make it make sense
okay bestie, welcome to the Kernel API Manual page for v4l2_pipeline_pm_put(9) β yes that's the manual name, yes it's a mouthful, no we're not renaming it, it's iconic as is π
β¨ NAME β¨
v4l2_pipeline_pm_put β the one that decreases the use count of a pipeline π«
πΈ SYNOPSIS πΈ
void v4l2_pipeline_pm_put (struct media_entity *entity );
that's it. that's the whole vibe. void, so it gives nothing back β it just takes π
π¦ ARGUMENTS π¦
entityβ the root entity of a pipeline. like, the main character of the pipeline. the one at the top. π
π₯ DESCRIPTION π₯
THIS FUNCTION IS DEPRECATED. DO NOT USE IN NEW DRIVERS. USE RUNTIME PM ON SUB-DEVICE DRIVERS INSTEAD. ππ¨
fr fr, i need you to read that again. deprecated. do not use it in new drivers. the move is runtime PM on sub-device drivers, periodt. this is not a drill π
so here's what it actually does: it updates the use count of every entity in the pipeline, and then it powers the entities off. lights out. bye. π€
this function is intended to be called in video node release β like, when you're closing up shop. it keeps track of the power status using struct media_entity.use_count, which is literally the field doing the bookkeeping π§
and a heads up, this is a matched set, okay? the use of this function should be paired with v4l2_pipeline_link_notify. they're a duo. a package deal. don't split them up, it's giving toxic breakup energy π
π SEE ALSO π
- Kernel file
./include/media/v4l2-mc.hβ that's where the goods live, iykyk π v4l2_mc_create_media_graph(9)v4l_enable_media_source(9)v4l_disable_media_source(9)v4l2_create_fwnode_links_to_pad(9)v4l2_create_fwnode_links(9)v4l2_pipeline_pm_get(9)β the get to this put, the other half of the friendship bracelet π«Άv4l2_pipeline_link_notify(9)β the paired one, remember? π―
okay that's the whole page, you ate that π β¨
little sign-off moment: this beauty comes to you from the source at ./include/media, dated October 2026, and it's page v4l2_pipeline_pm_put(9) of the Kernel API Manual. go forth, don't use deprecated calls, and stan runtime PM instead ππ
π¦ 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