dc_state_rem...s_for_stream(9)
π dc_state_rem_all_planes_for_stream(9) β kernel API manual, bestie edition β¨
okay so bestie, welcome to the section 9 glow-up of the kernel API manual, and today's main character is dc_state_rem_all_planes_for_stream β like, say that five times fast, i dare you π
π NAME π
dc_state_rem_all_planes_for_stream β the function that removes the planes attached to the target stream. that's it, that's the whole vibe. it's giving cleanup era π
β¨ SYNOPSIS β¨
bool dc_state_rem_all_planes_for_stream (const struct dc *dc , struct
dc_stream_state *stream , struct dc_state *state );
yup, that's the whole signature, copy it exactly or the compiler will simply not hear your prayers π
π¦ ARGUMENTS π¦
dcβ the currentdcstate. like, the now-now version of things, not a flashback β¨streamβ the target stream, aka the one we want the attached planes removed from. (the manpage says "plans" and honestly? same energy, we're removing the plans π)stateβ the context from which the planes are gonna be removed. the venue, the location, the scene of the crime π
πΈ RETURN πΈ
it returns true if DC was actually able to remove all the planes from the target stream π«Ά
otherwise? false. not everyone gets to slay, and that's just the truth of it π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/amd/display/dc/core/dc_state.cβ go read the source, iykyk π dc_state_get_status(9)dc_state_get_stream_status(9)
like genuinely go read the source, it's lowkey iconic β
fr fr: this page is here so your bestie understands it, but the facts stay untouched β every flag, path, and return value is exactly what the kernel said, no cap π
that's the whole page, bestie π β straight from ./drivers/gpu/drm/amd/display/..., dated October 2026, living in section dc_state_rem...s_for_stream(9). mwah, go forth and remove those planes π
ππ
π¦ 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