optc1_set_vtg_params(9)
okay so bestie, welcome to optc1_set_vtg_params(9) from the Kernel API Manual π this is the page where we set Vertical Timing Generator (VTG) parameters, and yes it's giving very βgraphics pipe main character energyβ β¨
πΈ NAME πΈ
optc1_set_vtg_params β Set Vertical Timing Generator (VTG) parameters π
β¨ SYNOPSIS β¨
void optc1_set_vtg_params (struct timing_generator *optc , const struct
dc_crtc_timing *dc_crtc_timing , bool program_fp2 );
No cap, that's the whole signature π«Ά
π ARGUMENTS π
optcβ thetiming_generatorstruct used to extract the optc parameters. basically the little handle we pull the optc details from πdc_crtc_timingβ the timing parameters configured. yes bestie, the timing config goes here βprogram_fp2β a Boolean value indicating if FP2 will be programmed or not. the βare we programming FP2 or nahβ situation π
π¦ DESCRIPTION π¦
Okay so the OTG is responsible for generating the global sync signals, including vertical timing information for each HUBP in the dcfclk domain π Each VTG is associated with one OTG that provides HUBP with vertical timing information β i.e., there is a 1:1 correspondence between OTG and VTG π
This function is responsible for setting the OTG parameters to the VTG during the pipe programming π That's it, that's the vibe: pipe programming time, OTG params get set on the VTG β¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c apply_front_porch_workaround(9)optc1_program_timing(9)optc1_set_timing_double_buffer(9)optc1_unblank_crtc(9)optc1_blank_crtc(9)optc1_enable_crtc(9)optc1_set_drr(9)optc1_get_crc(9)
mwah π that's the whole page, bestie. this iconic little manual came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β source/version footer vibes, optc1_set_vtg_params(9) signed off with sparkle πβ¨
π¦ 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