optc1_set_drr(9)
π optc1_set_drr β Kernel API Manual β¨
okay so bestie, welcome to the optc1_set_drr(9) page π this one lives in the Kernel API Manual and it's honestly short and sweet β main character energy, minimal screen time, maximum impact π
πΈ NAME πΈ
optc1_set_drr β programs the dynamic refresh rate registers, specifically the m_OTGx_OTG_V_TOTAL_* ones π¦ like, that's the whole job. it sets those registers and it slays while doing it β¨
β SYNOPSIS β
void optc1_set_drr (struct timing_generator *optc , const struct
drr_params *params );
it returns void btw β no return value, no exit status, nothing to check, she just does the thing and leaves π periodt.
π ARGUMENTS π
optcβ atiming_generatorinstance π« that's your timing generator bestie right there.paramsβ the parameters used for Dynamic Refresh Rate π iykyk.
lowkey, that's it. two arguments. no cap, no hidden extras, no environment variables, no flags, no defaults to memorize π she's a simple icon.
π₯ SEE ALSO π₯
- the kernel file
./drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.cπ (go read the source, bestie, it's giving lore) apply_front_porch_workaround(9)optc1_program_timing(9)optc1_set_vtg_params(9)optc1_set_timing_double_buffer(9)optc1_unblank_crtc(9)optc1_blank_crtc(9)optc1_enable_crtc(9)optc1_get_crc(9)
all of these are fr fr worth a look β the whole optc1 squad ate π β¨
and that's the page!! π«Ά shoutout to the source/version line ./drivers/gpu/drm/amd/display/... and to October 2026 for the date πΈ consider this your cute lil sign-off β mwah πππ
π¦ 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