vcn_v2_5_di...clock_gating(9)
β¨ NAME β¨
vcn_v2_5_disable_clock_gating β bestie, this is the one that turns VCN clock gating off π
This is a page from the Kernel API Manual, and honestly? It's a short one, but it ate. No cap.
πΈ SYNOPSIS πΈ
void vcn_v2_5_disable_clock_gating (struct amdgpu_vcn_inst *vinst );
Likeβ¦ that's it. That's the whole signature. Void return, one pointer, zero drama. β¨
π ARGUMENTS π
vinstβ the VCN instance, iykyk. It's astruct amdgpu_vcn_inst *and it's literally the only thing you have to hand over π«Ά
π¦ DESCRIPTION π¦
It disables clock gating for the VCN block. That's the whole vibe check.
Disable clock gating for VCN block β periodt. If you came here looking for a plot twist, there isn't one, and honestly that's iconic of it π
π SEE ALSO π
Okay so this function does not exist in a vacuum, bestie β it's part of a whole little friend group in the kernel:
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/vcn_v2_5.cπ vcn_v2_5_early_init(9)vcn_v2_5_sw_init(9)vcn_v2_5_sw_fini(9)vcn_v2_5_hw_init(9)vcn_v2_5_hw_fini(9)vcn_v2_5_suspend(9)vcn_v2_5_resume(9)vcn_v2_5_mc_resume(9)vcn_v2_5_enable_clock_gating(9)β yes, the opposite one, they're giving sibling energy πvcn_v2_5_dec_ring_get_rptr(9)vcn_v2_5_dec_ring_get_wptr(9)vcn_v2_5_dec_ring_set_wptr(9)vcn_v2_5_enc_ring_get_rptr(9)vcn_v2_5_enc_ring_get_wptr(9)vcn_v2_5_enc_ring_set_wptr(9)
Like, go read those too, they're all right there π
Go off, vcn_v2_5.c. You're the main character file of this whole page fr fr π§
So yeah β that's the whole page, from the Kernel API Manual, dated October 2026, living its best life over in ./drivers/gpu/drm/amd/amdgpu. Stay slay, stay gated (or don't, that's literally the point) π
β¨π
π¦ 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