dcn35_hw_block_power_down(9)
π dcn35_hw_block_power_down β the "okay everybody go night-night" era
So this is a page from the Kernel API Manual, and bestie, it's a whole function about putting hardware blocks to sleep in a very specific order. Let's get into it β¨
β¨ NAME β¨
dcn35_hw_block_power_down β the power down sequence. That's it, that's the whole vibe. It turns things off. In order. Respect the order. π
πΈ SYNOPSIS πΈ
void dcn35_hw_block_power_down (struct dc *dc, struct pg_block_update *update_state);
Returns void, so likeβ¦ no return value, no feedback, no "did I do a good job?" It just does the thing. Iconic, honestly. π
π¦ ARGUMENTS π¦
dcβ the current DC state. Like, the whole situation right now. Current. DC. State. π«Άupdate_stateβ this one updates the PG sequence states for the HW block. That's literally the job description, no cap.
π₯ DESCRIPTION π₯
Okay so here's the tea: this function runs the ON-OFF (ONO) sequence for power down. The order is not a suggestion, it's the itinerary, and everyone hits their stop in the right order, periodt.
Here's the itinerary, exactly as written:
ONO Region 3,DCPG 25:hpoβ SKIPPEDONO Region 4,DCPG 0:dchubp0,dpp0ONO Region 6,DCPG 1:dchubp1,dpp1ONO Region 8,DCPG 2:dchubp2,dpp2ONO Region 10,DCPG 3:dchubp3,dpp3ONO Region 1,DCPG 23:dchubbub,dchvm,dchubbubmemβ SKIPPED. Why? Because PMFW will pwr dwn at IPS2 entry. Not our problem, they got it πONO Region 5,DCPG 16:dsc0ONO Region 7,DCPG 17:dsc1ONO Region 9,DCPG 18:dsc2ONO Region 11,DCPG 19:dsc3ONO Region 2,DCPG 24:mpc,opp,optc,dwbONO Region 0,DCPG 22:dccg,dio,dcioβ SKIPPED. Because it'll be pwr dwn after the lono timer is armed. Timing queen behavior β°
And here's the plot twist, bestie: if sequential ONO is specified, the order gets modified. It goes fromONO Region 11βONO Region 0descending. So the whole middle section flips around. Don't say I didn't warn you π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.cβ go read the source, iykyk π§ dcn35_hw_block_power_up(9)β the sequel. The glow-up. The "we're so back" to this page's "it's over" π
Okay that's the whole page, you ate it up fr fr π This was the Kernel API Manual energy, sourced from ./drivers/gpu/drm/amd/display/..., dated October 2026 β love that for us. Go forth and power down responsibly, bestie πβ¨π
π¦ 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