vcn_v4_0_3_s...errupt_state(9)
π vcn_v4_0_3_set_interrupt_state(9) β NAME β¨
okay bestie, so this page lives in the Kernel API Manual under the extremely aesthetic name vcn_v4_0_3_s...errupt_state(9) (yes the title is literally abbreviated like that, the header truncates it, we don't make the rules), and the function it's about is vcn_v4_0_3_set_interrupt_state β aka set VCN block interrupt state. that's the whole vibe. it sets the interrupt state. of the VCN block. slay. π¦
π SYNOPSIS π
int vcn_v4_0_3_set_interrupt_state (struct amdgpu_device *adev , struct
amdgpu_irq_src *source , unsigned int type , enum amdgpu_interrupt_state
state );
like, it returns an int, and it takes four things. that's it. that's the whole signature. no cap. β¨
πΈ ARGUMENTS πΈ
adevβ anamdgpu_devicepointer. it's the device. the main character, honestly. πsourceβ the interrupt sources. plural. yes bestie, sources. π«Άtypeβ the interrupt types. also plural-coded. πstateβ the interrupt states. we're setting it. that's the whole assignment. π
π₯ DESCRIPTION π₯
Set VCN block interrupt state.
that's genuinely it. like, the description is one (1) sentence and it ate. this function sets the interrupt state for the VCN block, and the manpage is not about to elaborate further, and honestly? respect. πβ¨
π SEE ALSO π
first up, the source itself, because reading the actual code is always the move:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
and then the whole friend group β the entire vcn_v4_0_3 cinematic universe, no cap:
vcn_v4_0_3_early_init(9)vcn_v4_0_3_sw_init(9)vcn_v4_0_3_sw_fini(9)vcn_v4_0_3_hw_init(9)vcn_v4_0_3_hw_fini(9)vcn_v4_0_3_suspend(9)vcn_v4_0_3_resume(9)vcn_v4_0_3_mc_resume(9)vcn_v4_0_3_mc_resume_dpg_mode(9)vcn_v4_0_3_disable_clock_gating(9)vcn_v4_0_3_disable_clock_gating_dpg_mode(9)vcn_v4_0_3_enable_clock_gating(9)vcn_v4_0_3_start_dpg_mode(9)vcn_v4_0_3_start(9)vcn_v4_0_3_stop_dpg_mode(9)vcn_v4_0_3_stop(9)vcn_v4_0_3_pause_dpg_mode(9)vcn_v4_0_3_unified_ring_get_rptr(9)vcn_v4_0_3_unified_ring_get_wptr(9)vcn_v4_0_3_unified_ring_set_wptr(9)vcn_v4_0_3_set_unified_ring_funcs(9)vcn_v4_0_3_is_idle(9)vcn_v4_0_3_wait_for_idle(9)vcn_v4_0_3_process_interrupt(9)vcn_v4_0_3_set_irq_funcs(9)
π«Ά reminder bestie: the file path above is exactly how it's written in the manual, ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c, so go read it if you want the real tea. i'm just the messenger. π
and that's the page!! πΈ sign-off time: this lil cutie comes from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, living under the Kernel API Manual as vcn_v4_0_3_s...errupt_state(9). mwah πβ¨
π¦ 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