dc_state_rem...s_for_stream(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 current dc state. 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 πŸ”₯

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