dpp401_dscl_set_recout(9)
π 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 aconst 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:
dpp401_dscl_program_easf_v(9)dpp401_dscl_program_easf_h(9)dpp401_dscl_program_easf(9)dpp401_dscl_disable_easf(9)dpp401_dscl_program_isharp(9)dpp401_dscl_set_scaler_manual_scale(9)
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
- 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