optc1_set_ti...ouble_buffer(9)
π optc1_set_timing_double_buffer
okay so real talk β this page lives in the Kernel API Manual, and it's about DRR double buffering control. yes bestie, we're in the display core, we're touching timing generators, we're being iconic about it. π
β¨ SYNOPSIS β¨
void optc1_set_timing_double_buffer (struct timing_generator *optc ,
bool enable );
like that's it. that's the whole vibe. two args, no return, she just does the thing. π
πΈ ARGUMENTS πΈ
optcβ atiming_generatorinstance. your main character struct, fr fr.enableβ turn DRR double buffering control on iftrue, off otherwise. simple as that. π¦
π₯ DESCRIPTION π₯
So what she actually does: she sets the double buffer point for these registers β memorize them, there's six:
V_TOTALH_TOTALVTOTAL_MINVTOTAL_MAXVTOTAL_MIN_SELVTOTAL_MAX_SEL
and the options for when that double buffer point lands are literally:
- any time
- start of frame
- dp start of frame (range timing)
that's the whole menu. pick your moment, slay. β¨
ngl this is one of those tiny functions that lowkey holds the whole display pipeline together. respect her. π
π SEE ALSO π
the kernel file herself lives right here, no cap:
./drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
and her friend group (the whole optc1 squad, obsessed with them honestly):
apply_front_porch_workaround(9)optc1_program_timing(9)optc1_set_vtg_params(9)optc1_unblank_crtc(9)optc1_blank_crtc(9)optc1_enable_crtc(9)optc1_set_drr(9)optc1_get_crc(9)
and that's the page!! π«Ά sourced from ./drivers/gpu/drm/amd/display/..., dated October 2026 β so like, future girlboss behavior honestly. go read the others, 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