dcn32_determ...det_override(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dcn32_determine_det_override β€” nope, full name: dcn32_determine_det_override πŸ’–

okay bestie so this is a page from the Kernel API Manual, and the function is dcn32_determine_det_override β€” say that five times fast, I dare you 🫢 it lives in the AMD display driver and it's literally about figuring out DET allocation for each pipe. Let's get into it ✨


✨ NAME ✨

dcn32_determine_det_override β€” Determine DET allocation for each pipe πŸŽ€


🌸 SYNOPSIS 🌸

void dcn32_determine_det_override (struct dc *dc , struct dc_state
*context , display_e2e_pipe_params_st *pipes );

like, it takes three things and gives back nothing, and honestly? iconic πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dc β€” the Current DC state, as in the one you've already got goin' on
  • context β€” the New DC state to be programmed, the fresh one, the main character πŸ‘‘
  • pipes β€” Array of DML pipes, yep, all of 'em

πŸ’œ DESCRIPTION πŸ’œ

So this function determines how much DET to allocate for each pipe. That's the whole vibe check. 🧚

Here's how the math goes down: the total number of DET segments gets split equally among each of the streams. Then, after that, the DET segments per stream get split equally among the planes for the given stream. Equal split, no favoritism, we love to see it ⭐

But wait β€” if there's a plane that's driven by more than 1 pipe (i.e. pipe split), then the number of DET for that given plane gets split among the pipes driving that plane. so it just keeps dividing, lowkey fractal energy 😭

πŸŽ€ High level algorithm πŸŽ€

  1. Split total DET among number of streams
  2. For each stream, split DET among the planes
  3. For each plane, check if there is a pipe split. If yes, split the DET allocation among those pipes.
  4. Assign the DET override to the DML pipes.

periodt. four steps, no notes. πŸ”₯


🌈 RETURN 🌈

void β€” that's it, that's the return. it returns nothing, bestie, it just does the thing and dips πŸ’€


⭐ SEE ALSO ⭐

all the subvp girlies in one place, we stan a linked list of friends πŸ“


and that's the whole page!! mwah πŸ’‹ this one's from ./drivers/gpu/drm/amd/display/..., dated October 2026 β€” so go forth and split your DET segments equally, you absolute DET-allocating legend, ily, bye πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from