vcn_v3_0_ena...clock_gating(9)
π vcn_v3_0_enable_clock_gating β kernel API manual, but make it make sense
okay bestie so you're poking around the vcn_v3_0_ena...clock_gating(9) page (yes the title is literally truncated like that, that's just how the man page header renders it, don't come for me π) and honestly? it's a tiny one. one function, one pointer, one job. let's get into it β¨
πΈ NAME πΈ
vcn_v3_0_enable_clock_gating β literally just: turn on VCN clock gating. that's the whole vibe π
π¦ SYNOPSIS π¦
void vcn_v3_0_enable_clock_gating (struct amdgpu_vcn_inst *vinst );
no return value, it's a void girlie β she does the thing and she leaves, periodt π
π ARGUMENTS π
vinstβ pointer to the VCN instance structure. that's it. she needs to know which VCN instance she's clock-gating, so hand her the pointer and step back π«Ά
β¨ DESCRIPTION β¨
enable clock gating for the VCN block. like, for real, that's the entire description. she turns clock gating on for VCN and minds her own business. main character energy, zero drama π
lowkey the most important thing here: she's the on switch. if you were looking for the off switch, that's a whole other function and yes she's in SEE ALSO, keep scrolling π
π₯ SEE ALSO π₯
bestie the friend group is LONG, buckle up π
the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c β that's home base π
and the whole squad:
vcn_v3_0_early_init(9)vcn_v3_0_sw_init(9)vcn_v3_0_sw_fini(9)vcn_v3_0_hw_init(9)vcn_v3_0_hw_fini(9)vcn_v3_0_suspend(9)vcn_v3_0_resume(9)vcn_v3_0_mc_resume(9)vcn_v3_0_disable_clock_gating(9)vcn_v3_0_dec_ring_get_rptr(9)vcn_v3_0_dec_ring_get_wptr(9)vcn_v3_0_dec_ring_set_wptr(9)vcn_v3_0_enc_ring_get_rptr(9)vcn_v3_0_enc_ring_get_wptr(9)vcn_v3_0_enc_ring_set_wptr(9)
like I said. the whole squad. dec_ring and enc_ring girls are both here, get rptr'd, get wptr'd, get set_wptr'd, the full rotation π
and that's the page!! π this little cutie is served fresh from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, also filed under that same vcn_v3_0_ena...clock_gating(9) name because man pages love an abbreviation moment. k byeee, go clock gate responsibly ππ§π
π¦ 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