vcn_v4_0_ena...clock_gating(9)
π NAME π
vcn_v4_0_enable_clock_gating β bestie, this is the one that turns the VCN clock gating on β¨
Oh and real quick before we get into it β this whole page lives in the Kernel API Manual, section 9, under the very abbreviated name vcn_v4_0_ena...clock_gating(9) (yes the title got truncated mid-word, she's doing her best π).
πΈ SYNOPSIS πΈ
void vcn_v4_0_enable_clock_gating (struct amdgpu_vcn_inst *vinst );
Likeβ¦ that's it. That's the whole call. No return value, no drama, just vibes π
π ARGUMENTS π
vinstβ the VCN instance π¦ like, which VCN are we talking about here? This is thestruct amdgpu_vcn_inst *pointer that tells the function exactly which instance it's working with. iykyk.
π DESCRIPTION π
Okay so the whole entire job of this function is: enable clock gating for the VCN block π₯ That's the assignment. That's what she ate. Clock gating? Enabled. VCN block? The block in question. Periodt.
No extra params, no hidden surprises, no cap β you hand her the instance and she enables clock gating for VCN. Lowkey iconic of her honestly π«Ά
π SEE ALSO π
First up, the source file she actually lives in β Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c π (go read it, it's giving main character energy).
And then the whole squad of vcn_v4_0_* functions, all in section 9, all listed here so you can go meet her friends:
vcn_v4_0_early_init(9)vcn_v4_0_sw_init(9)vcn_v4_0_sw_fini(9)vcn_v4_0_hw_init(9)vcn_v4_0_hw_fini(9)vcn_v4_0_suspend(9)vcn_v4_0_resume(9)vcn_v4_0_mc_resume(9)vcn_v4_0_mc_resume_dpg_mode(9)vcn_v4_0_disable_static_power_gating(9)vcn_v4_0_enable_static_power_gating(9)vcn_v4_0_disable_clock_gating(9)vcn_v4_0_disable_clock_gating_dpg_mode(9)vcn_v4_0_start_dpg_mode(9)vcn_v4_0_start(9)vcn_v4_0_stop_dpg_mode(9)vcn_v4_0_stop(9)vcn_v4_0_pause_dpg_mode(9)vcn_v4_0_unified_ring_get_rptr(9)vcn_v4_0_unified_ring_get_wptr(9)vcn_v4_0_unified_ring_set_wptr(9)vcn_v4_0_set_unified_ring_funcs(9)vcn_v4_0_is_idle(9)vcn_v4_0_wait_for_idle(9)vcn_v4_0_set_clockgating_state(9)vcn_v4_0_set_ras_interrupt_state(9)vcn_v4_0_process_interrupt(9)vcn_v4_0_set_irq_funcs(9)
Note that vcn_v4_0_disable_clock_gating(9) is right there in the list too β she's got a counterpart, they're a matched set, we stan a balanced duo ππ
βΏγ»ο½‘οΎ mwah, that's the whole page οΎο½‘γ»βΏ
Sign-off time, bestie π§: this lil beauty comes from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and she answers to vcn_v4_0_ena...clock_gating(9) π Go forth and gate those clocks, queen πβ
π¦ 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