optc301_set_drr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 β€” a timing_generator instance. 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