dcn20_split_stream_for_odm(9)
π dcn20_split_stream_for_odm(9) β the kernel API manual page, but make it make sense
okay so bestie, welcome to the dcn20_split_stream_for_odm(9) page πΈ this is the Kernel API Manual entry for one very specific little helper function, and we're gonna go through it together, section by section, no cap.
β¨ NAME β¨
dcn20_split_stream_for_odm β literally just checking if a stream can be splited for ODM π¦ (yes, that's the original spelling, we don't touch the facts, we only touch the vibe).
π SYNOPSIS π
bool dcn20_split_stream_for_odm (const struct dc *dc , struct
resource_context *res_ctx , struct pipe_ctx *prev_odm_pipe , struct
pipe_ctx *next_odm_pipe );
it returns a bool, it takes four args, that's the whole shape of it, iconic behavior honestly π
π ARGUMENTS π
dcβ the DC object, and it's carrying the resource pool info that's required for the pipe split πres_ctxβ the persistent state of resources, she's in it for the long haul β¨prev_odm_pipeβ a reference to the previous ODM pipe π«Άnext_odm_pipeβ a reference to the next ODM pipe π«Ά
π DESCRIPTION π
so here's the tea π this function takes a logically active pipe and a logically free pipe, and it halves all the scaling parameters that need to be halved π while it populates the free pipe with the required resources and configures the next/previous ODM pipe pointers.
that's the whole job. halve the scaling params that need halving, fill in the free pipe's resources, wire up the pointers. main character energy for a helper function, ngl π
β RETURN β
it returns true if split stream for ODM is possible β and otherwise? false π that's it, that's the return value clause, periodt.
πΈ SEE ALSO πΈ
- Kernel file β
./drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.cπ₯ go read the source bestie, iykyk
and that's the page!! π cute little sign-off for you: this one's from the source/version line ./drivers/gpu/drm/amd/display/... and it's dated October 2026 ππ¦ so go forth, split those streams for ODM, and slay β¨π
π¦ 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