optc301_set_drr(9)
πΈ optc301_set_drr β NAME πΈ
ok so this is optc301_set_drr and its whole vibe is programming the dynamic refresh rate registers β specifically the ones called m_OTGx_OTG_V_TOTAL_* π
like that's literally the job, bestie, that's what it does.
(also hi, you're reading a page from the Kernel API Manual β section 9, kernel-adjacent, very main character π)
β¨ SYNOPSIS β¨
void optc301_set_drr (struct timing_generator *optc , const struct
drr_params *params );
that's the whole signature, no cap β returns void, takes an optc and a params, and that's it π«Ά
π¦ ARGUMENTS π¦
optcβ atiming_generatorinstance. yes queen, that's the thing you're poking at πparamsβ the parameters used for Dynamic Refresh Rate. the DRR deets, the whole point of the function honestly π
π₯ SEE ALSO π₯
the kernel file where all of this actually lives, go read it iykyk:
./drivers/gpu/drm/amd/display/dc/optc/dcn301/dcn301_optc.c
lowkey a short page but every word slays π don't skip the m_OTGx_OTG_V_TOTAL_* registers, they're the moment.
ok bye bestie, go set some refresh rates β¨π¦π
β sourced from ./drivers/gpu/drm/amd/display/..., dated October 2026, and signed off on page optc301_set_drr(9) π
π
π¦ 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