dpp401_dscl_set_recout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpp401_dscl_set_recout β€” the Kernel API Manual, section 9, bestie

okay so we're in the <pink>9</pink> section of the Kernel API Manual today and the star of the show is dpp401_dscl_set_recout β€” literally the function whose whole job is setting the first pixel of RECOUT in the OTG active area. iconic behavior, no cap πŸŽ€


✨ SYNOPSIS ✨

void dpp401_dscl_set_recout (struct dcn401_dpp *dpp , const struct rect
*recout );

that's it. that's the whole signature. two args, returns nothing, gets straight to business πŸ’…


🫢 ARGUMENTS 🫢

  • dpp β€” the DPP data struct, aka the little guy holding all the state πŸ¦‹
  • recout β€” rectangle information. it's a const struct rect *, so we're looking at it, not touching it, periodt ✨

🌸 DESCRIPTION 🌸

so what does it actually do? it sets the MPC RECOUT_START and RECOUT_SIZE registers based on the values you specified in the recount parameter. (and yes bestie, it's spelled recount in the original β€” I don't make the rules, I just relay them πŸ™ˆ)

registers get written, the rectangle gets described, everyone goes home happy. the way that this function just... does its one thing πŸ’–


πŸ’€ NOTE πŸ’€

this function only has effect if AutoCal is disabled. if AutoCal is on, congrats, you've written to the void. lowkey tragic but fr fr that's the deal πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file, right here in all its glory:

./drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c

and the whole friend group:

go read them, they're all slaying in their own way 🌈


shoutout to ./drivers/gpu/drm/amd/display/... for hosting this whole situation, and to October 2026 for the timestamp β€” this page is a lil time capsule and I'm obsessed πŸ•°οΈβœ¨ mwah, bye bestie πŸ’œ

πŸ“¦ where this page comes from