dcn20_split_stream_for_odm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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