v4l2_pipeline_pm_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘€


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