optc1_set_ti...ouble_buffer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” a timing_generator instance. your main character struct, fr fr.
  • enable β€” turn DRR double buffering control on if true, 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_TOTAL
  • H_TOTAL
  • VTOTAL_MIN
  • VTOTAL_MAX
  • VTOTAL_MIN_SEL
  • VTOTAL_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):


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