id
stringlengths
4
63
text
stringlengths
153
8.81M
vcn_v4_0_3_stop(9)
NAME vcn_v4_0_3_stop - VCN stop SYNOPSIS int vcn_v4_0_3_stop (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Stop VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c 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(...
vcn_v4_0_3_stop_dpg_mode(9)
NAME vcn_v4_0_3_stop_dpg_mode - VCN stop with dpg mode SYNOPSIS int vcn_v4_0_3_stop_dpg_mode (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Stop VCN block with dpg mode SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c vcn_v4_0_3_early_init(9), vcn_v4_0_3_sw_init(9...
vcn_v4_0_3_suspend(9)
NAME vcn_v4_0_3_suspend - suspend VCN block SYNOPSIS int vcn_v4_0_3_suspend (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION HW fini and suspend VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c vcn_v4_0_3_early_init(9...
vcn_v4_0_3_sw_fini(9)
NAME vcn_v4_0_3_sw_fini - sw fini for VCN block SYNOPSIS int vcn_v4_0_3_sw_fini (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION VCN suspend and free up sw allocation SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c vcn_v4_0...
vcn_v4_0_3_sw_init(9)
NAME vcn_v4_0_3_sw_init - sw init for VCN block SYNOPSIS int vcn_v4_0_3_sw_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Load firmware and sw initialization SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c vcn_v4_0_3...
vcn_v4_0_3_unified_ring_get_rptr(9)
NAME vcn_v4_0_3_unified_ring_get_rptr - get unified read pointer SYNOPSIS uint64_t vcn_v4_0_3_unified_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware unified read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c v...
vcn_v4_0_3_unified_ring_get_wptr(9)
NAME vcn_v4_0_3_unified_ring_get_wptr - get unified write pointer SYNOPSIS uint64_t vcn_v4_0_3_unified_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware unified write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c ...
vcn_v4_0_3_unified_ring_set_wptr(9)
NAME vcn_v4_0_3_unified_ring_set_wptr - set enc write pointer SYNOPSIS void vcn_v4_0_3_unified_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Commits the enc write pointer to the hardware SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c vcn_v4_0_3_e...
vcn_v4_0_3_wait_for_idle(9)
NAME vcn_v4_0_3_wait_for_idle - wait for VCN block idle SYNOPSIS int vcn_v4_0_3_wait_for_idle (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Wait for VCN block idle SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c vcn_v4_0_...
vcn_v4_0_5_disable_clock_gating(9)
NAME vcn_v4_0_5_disable_clock_gating - disable VCN clock gating SYNOPSIS void vcn_v4_0_5_disable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Disable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early_init(9)...
vcn_v4_0_5_disable_clock_gating_dpg_mode(9)
NAME vcn_v4_0_5_disable_clock_gating_dpg_mode - disable VCN clock gating dpg mode SYNOPSIS void vcn_v4_0_5_disable_clock_gating_dpg_mode (struct amdgpu_vcn_inst *vinst , uint8_t sram_sel , uint8_t indirect ); ARGUMENTS vinst VCN instance sram_sel sram select indirect indirectly write sram ...
vcn_v4_0_5_disable_static_power_gating(9)
NAME vcn_v4_0_5_disable_static_power_gating - disable VCN static power gating SYNOPSIS void vcn_v4_0_5_disable_static_power_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Disable static power gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5...
vcn_v4_0_5_early_init(9)
NAME vcn_v4_0_5_early_init - set function pointers and load microcode SYNOPSIS int vcn_v4_0_5_early_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Set ring and irq function pointers Load microcode from filesystem SEE ALSO Kernel file...
vcn_v4_0_5_enable_clock_gating(9)
NAME vcn_v4_0_5_enable_clock_gating - enable VCN clock gating SYNOPSIS void vcn_v4_0_5_enable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Enable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early_init(9), v...
vcn_v4_0_5_enable_static_power_gating(9)
NAME vcn_v4_0_5_enable_static_power_gating - enable VCN static power gating SYNOPSIS void vcn_v4_0_5_enable_static_power_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Enable static power gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c ...
vcn_v4_0_5_hw_fini(9)
NAME vcn_v4_0_5_hw_fini - stop the hardware block SYNOPSIS int vcn_v4_0_5_hw_fini (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Stop the VCN block, mark ring as not ready any more SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4...
vcn_v4_0_5_hw_init(9)
NAME vcn_v4_0_5_hw_init - start and test VCN block SYNOPSIS int vcn_v4_0_5_hw_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Initialize the hardware, boot up the VCPU and do some testing SEE ALSO Kernel file ./drivers/gpu/drm/amd/am...
vcn_v4_0_5_is_idle(9)
NAME vcn_v4_0_5_is_idle - check VCN block is idle SYNOPSIS bool vcn_v4_0_5_is_idle (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block structure DESCRIPTION Check whether VCN block is idle SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early_init(9...
vcn_v4_0_5_mc_resume(9)
NAME vcn_v4_0_5_mc_resume - memory controller programming SYNOPSIS void vcn_v4_0_5_mc_resume (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Let the VCN memory controller know it's offsets SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early_init(9), v...
vcn_v4_0_5_mc_resume_dpg_mode(9)
NAME vcn_v4_0_5_mc_resume_dpg_mode - memory controller programming for dpg mode SYNOPSIS void vcn_v4_0_5_mc_resume_dpg_mode (struct amdgpu_vcn_inst *vinst , bool indirect ); ARGUMENTS vinst VCN instance indirect indirectly write sram DESCRIPTION Let the VCN memory controller know it's offsets with d...
vcn_v4_0_5_pause_dpg_mode(9)
NAME vcn_v4_0_5_pause_dpg_mode - VCN pause with dpg mode SYNOPSIS int vcn_v4_0_5_pause_dpg_mode (struct amdgpu_vcn_inst *vinst , struct dpg_pause_state *new_state ); ARGUMENTS vinst VCN instance new_state pause state DESCRIPTION Pause dpg mode for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/a...
vcn_v4_0_5_process_interrupt(9)
NAME vcn_v4_0_5_process_interrupt - process VCN block interrupt SYNOPSIS int vcn_v4_0_5_process_interrupt (struct amdgpu_device *adev , struct amdgpu_irq_src *source , struct amdgpu_iv_entry *entry ); ARGUMENTS adev amdgpu_device pointer source interrupt sources entry interrupt entry...
vcn_v4_0_5_resume(9)
NAME vcn_v4_0_5_resume - resume VCN block SYNOPSIS int vcn_v4_0_5_resume (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Resume firmware and hw init VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early...
vcn_v4_0_5_set_clockgating_state(9)
NAME vcn_v4_0_5_set_clockgating_state - set VCN block clockgating state SYNOPSIS int vcn_v4_0_5_set_clockgating_state (struct amdgpu_ip_block *ip_block , enum amd_clockgating_state state ); ARGUMENTS ip_block amdgpu_ip_block pointer state clock gating state DESCRIPTION Set VCN block clockgating stat...
vcn_v4_0_5_set_irq_funcs(9)
NAME vcn_v4_0_5_set_irq_funcs - set VCN block interrupt irq functions SYNOPSIS void vcn_v4_0_5_set_irq_funcs (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set VCN block interrupt irq functions SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early...
vcn_v4_0_5_set_unified_ring_funcs(9)
NAME vcn_v4_0_5_set_unified_ring_funcs - set unified ring functions SYNOPSIS void vcn_v4_0_5_set_unified_ring_funcs (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set unified ring functions SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early_ini...
vcn_v4_0_5_start(9)
NAME vcn_v4_0_5_start - VCN start SYNOPSIS int vcn_v4_0_5_start (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Start VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early_init(9), vcn_v4_0_5_sw_init(9), vcn_v4_0_5_sw_fini(9), vcn_v4_0_5_hw_i...
vcn_v4_0_5_start_dpg_mode(9)
NAME vcn_v4_0_5_start_dpg_mode - VCN start with dpg mode SYNOPSIS int vcn_v4_0_5_start_dpg_mode (struct amdgpu_vcn_inst *vinst , bool indirect ); ARGUMENTS vinst VCN instance indirect indirectly write sram DESCRIPTION Start VCN block with dpg mode SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu...
vcn_v4_0_5_stop(9)
NAME vcn_v4_0_5_stop - VCN stop SYNOPSIS int vcn_v4_0_5_stop (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Stop VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early_init(9), vcn_v4_0_5_sw_init(9), vcn_v4_0_5_sw_fini(9), vcn_v4_0_5_hw_init(...
vcn_v4_0_5_stop_dpg_mode(9)
NAME vcn_v4_0_5_stop_dpg_mode - VCN stop with dpg mode SYNOPSIS void vcn_v4_0_5_stop_dpg_mode (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Stop VCN block with dpg mode SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early_init(9), vcn_v4_0_5_sw_init(...
vcn_v4_0_5_suspend(9)
NAME vcn_v4_0_5_suspend - suspend VCN block SYNOPSIS int vcn_v4_0_5_suspend (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION HW fini and suspend VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_early_ini...
vcn_v4_0_5_sw_fini(9)
NAME vcn_v4_0_5_sw_fini - sw fini for VCN block SYNOPSIS int vcn_v4_0_5_sw_fini (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION VCN suspend and free up sw allocation SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0...
vcn_v4_0_5_sw_init(9)
NAME vcn_v4_0_5_sw_init - sw init for VCN block SYNOPSIS int vcn_v4_0_5_sw_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Load firmware and sw initialization SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5...
vcn_v4_0_5_unified_ring_get_rptr(9)
NAME vcn_v4_0_5_unified_ring_get_rptr - get unified read pointer SYNOPSIS uint64_t vcn_v4_0_5_unified_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware unified read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vc...
vcn_v4_0_5_unified_ring_get_wptr(9)
NAME vcn_v4_0_5_unified_ring_get_wptr - get unified write pointer SYNOPSIS uint64_t vcn_v4_0_5_unified_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware unified write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c ...
vcn_v4_0_5_unified_ring_set_wptr(9)
NAME vcn_v4_0_5_unified_ring_set_wptr - set enc write pointer SYNOPSIS void vcn_v4_0_5_unified_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Commits the enc write pointer to the hardware SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0_5_e...
vcn_v4_0_5_wait_for_idle(9)
NAME vcn_v4_0_5_wait_for_idle - wait for VCN block idle SYNOPSIS int vcn_v4_0_5_wait_for_idle (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Wait for VCN block idle SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c vcn_v4_0...
vcn_v4_0_disable_clock_gating(9)
NAME vcn_v4_0_disable_clock_gating - disable VCN clock gating SYNOPSIS void vcn_v4_0_disable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Disable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_init(9), vcn_v...
vcn_v4_0_disable_clock_gating_dpg_mode(9)
NAME vcn_v4_0_disable_clock_gating_dpg_mode - disable VCN clock gating dpg mode SYNOPSIS void vcn_v4_0_disable_clock_gating_dpg_mode (struct amdgpu_vcn_inst *vinst , uint8_t sram_sel , uint8_t indirect ); ARGUMENTS vinst VCN instance sram_sel sram select indirect indirectly write sram DES...
vcn_v4_0_disable_static_power_gating(9)
NAME vcn_v4_0_disable_static_power_gating - disable VCN static power gating SYNOPSIS void vcn_v4_0_disable_static_power_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Disable static power gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vc...
vcn_v4_0_early_init(9)
NAME vcn_v4_0_early_init - set function pointers and load microcode SYNOPSIS int vcn_v4_0_early_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Set ring and irq function pointers Load microcode from filesystem SEE ALSO Kernel file ./...
vcn_v4_0_enable_clock_gating(9)
NAME vcn_v4_0_enable_clock_gating - enable VCN clock gating SYNOPSIS void vcn_v4_0_enable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Enable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_init(9), vcn_v4_0_...
vcn_v4_0_enable_static_power_gating(9)
NAME vcn_v4_0_enable_static_power_gating - enable VCN static power gating SYNOPSIS void vcn_v4_0_enable_static_power_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Enable static power gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4...
vcn_v4_0_hw_fini(9)
NAME vcn_v4_0_hw_fini - stop the hardware block SYNOPSIS int vcn_v4_0_hw_fini (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Stop the VCN block, mark ring as not ready any more SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c...
vcn_v4_0_hw_init(9)
NAME vcn_v4_0_hw_init - start and test VCN block SYNOPSIS int vcn_v4_0_hw_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Initialize the hardware, boot up the VCPU and do some testing SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu...
vcn_v4_0_is_idle(9)
NAME vcn_v4_0_is_idle - check VCN block is idle SYNOPSIS bool vcn_v4_0_is_idle (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block structure DESCRIPTION Check whether VCN block is idle SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_init(9), vcn_...
vcn_v4_0_mc_resume(9)
NAME vcn_v4_0_mc_resume - memory controller programming SYNOPSIS void vcn_v4_0_mc_resume (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Let the VCN memory controller know it's offsets SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_init(9), vcn_v4_0_...
vcn_v4_0_mc_resume_dpg_mode(9)
NAME vcn_v4_0_mc_resume_dpg_mode - memory controller programming for dpg mode SYNOPSIS void vcn_v4_0_mc_resume_dpg_mode (struct amdgpu_vcn_inst *vinst , bool indirect ); ARGUMENTS vinst VCN instance indirect indirectly write sram DESCRIPTION Let the VCN memory controller know it's offsets with dpg m...
vcn_v4_0_pause_dpg_mode(9)
NAME vcn_v4_0_pause_dpg_mode - VCN pause with dpg mode SYNOPSIS int vcn_v4_0_pause_dpg_mode (struct amdgpu_vcn_inst *vinst , struct dpg_pause_state *new_state ); ARGUMENTS vinst VCN instance new_state pause state DESCRIPTION Pause dpg mode for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/a...
vcn_v4_0_process_interrupt(9)
NAME vcn_v4_0_process_interrupt - process VCN block interrupt SYNOPSIS int vcn_v4_0_process_interrupt (struct amdgpu_device *adev , struct amdgpu_irq_src *source , struct amdgpu_iv_entry *entry ); ARGUMENTS adev amdgpu_device pointer source interrupt sources entry interrupt entry fro...
vcn_v4_0_resume(9)
NAME vcn_v4_0_resume - resume VCN block SYNOPSIS int vcn_v4_0_resume (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Resume firmware and hw init VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_init(9)...
vcn_v4_0_set_clockgating_state(9)
NAME vcn_v4_0_set_clockgating_state - set VCN block clockgating state SYNOPSIS int vcn_v4_0_set_clockgating_state (struct amdgpu_ip_block *ip_block , enum amd_clockgating_state state ); ARGUMENTS ip_block amdgpu_ip_block pointer state clock gating state DESCRIPTION Set VCN block clockgating state S...
vcn_v4_0_set_irq_funcs(9)
NAME vcn_v4_0_set_irq_funcs - set VCN block interrupt irq functions SYNOPSIS void vcn_v4_0_set_irq_funcs (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set VCN block interrupt irq functions SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_init(9)...
vcn_v4_0_set_ras_interrupt_state(9)
NAME vcn_v4_0_set_ras_interrupt_state - set VCN block RAS interrupt state SYNOPSIS int vcn_v4_0_set_ras_interrupt_state (struct amdgpu_device *adev , struct amdgpu_irq_src *source , unsigned int type , enum amdgpu_interrupt_state state ); ARGUMENTS adev amdgpu_device pointer source interrupt sourc...
vcn_v4_0_set_unified_ring_funcs(9)
NAME vcn_v4_0_set_unified_ring_funcs - set unified ring functions SYNOPSIS void vcn_v4_0_set_unified_ring_funcs (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set unified ring functions SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_init(9), v...
vcn_v4_0_start(9)
NAME vcn_v4_0_start - VCN start SYNOPSIS int vcn_v4_0_start (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Start VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c 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...
vcn_v4_0_start_dpg_mode(9)
NAME vcn_v4_0_start_dpg_mode - VCN start with dpg mode SYNOPSIS int vcn_v4_0_start_dpg_mode (struct amdgpu_vcn_inst *vinst , bool indirect ); ARGUMENTS vinst VCN instance indirect indirectly write sram DESCRIPTION Start VCN block with dpg mode SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn...
vcn_v4_0_stop(9)
NAME vcn_v4_0_stop - VCN stop SYNOPSIS int vcn_v4_0_stop (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Stop VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c 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_h...
vcn_v4_0_stop_dpg_mode(9)
NAME vcn_v4_0_stop_dpg_mode - VCN stop with dpg mode SYNOPSIS void vcn_v4_0_stop_dpg_mode (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Stop VCN block with dpg mode SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_init(9), vcn_v4_0_sw_init(9), vcn_v...
vcn_v4_0_suspend(9)
NAME vcn_v4_0_suspend - suspend VCN block SYNOPSIS int vcn_v4_0_suspend (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION HW fini and suspend VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_init(9), vc...
vcn_v4_0_sw_fini(9)
NAME vcn_v4_0_sw_fini - sw fini for VCN block SYNOPSIS int vcn_v4_0_sw_fini (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION VCN suspend and free up sw allocation SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early...
vcn_v4_0_sw_init(9)
NAME vcn_v4_0_sw_init - sw init for VCN block SYNOPSIS int vcn_v4_0_sw_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Load firmware and sw initialization SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_i...
vcn_v4_0_unified_ring_get_rptr(9)
NAME vcn_v4_0_unified_ring_get_rptr - get unified read pointer SYNOPSIS uint64_t vcn_v4_0_unified_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware unified read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_...
vcn_v4_0_unified_ring_get_wptr(9)
NAME vcn_v4_0_unified_ring_get_wptr - get unified write pointer SYNOPSIS uint64_t vcn_v4_0_unified_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware unified write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v...
vcn_v4_0_unified_ring_set_wptr(9)
NAME vcn_v4_0_unified_ring_set_wptr - set enc write pointer SYNOPSIS void vcn_v4_0_unified_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Commits the enc write pointer to the hardware SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early_ini...
vcn_v4_0_wait_for_idle(9)
NAME vcn_v4_0_wait_for_idle - wait for VCN block idle SYNOPSIS int vcn_v4_0_wait_for_idle (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Wait for VCN block idle SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_early...
vcn_v5_0_0_disable_clock_gating(9)
NAME vcn_v5_0_0_disable_clock_gating - disable VCN clock gating SYNOPSIS void vcn_v5_0_0_disable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Disable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early_init(9)...
vcn_v5_0_0_disable_clock_gating_dpg_mode(9)
NAME vcn_v5_0_0_disable_clock_gating_dpg_mode - disable VCN clock gating dpg mode SYNOPSIS void vcn_v5_0_0_disable_clock_gating_dpg_mode (struct amdgpu_vcn_inst *vinst , uint8_t sram_sel , uint8_t indirect ); ARGUMENTS vinst VCN instance sram_sel sram select indirect indirectly write sram ...
vcn_v5_0_0_disable_static_power_gating(9)
NAME vcn_v5_0_0_disable_static_power_gating - disable VCN static power gating SYNOPSIS void vcn_v5_0_0_disable_static_power_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Disable static power gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0...
vcn_v5_0_0_early_init(9)
NAME vcn_v5_0_0_early_init - set function pointers and load microcode SYNOPSIS int vcn_v5_0_0_early_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Set ring and irq function pointers Load microcode from filesystem SEE ALSO Kernel file...
vcn_v5_0_0_enable_clock_gating(9)
NAME vcn_v5_0_0_enable_clock_gating - enable VCN clock gating SYNOPSIS void vcn_v5_0_0_enable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Enable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early_init(9), v...
vcn_v5_0_0_enable_static_power_gating(9)
NAME vcn_v5_0_0_enable_static_power_gating - enable VCN static power gating SYNOPSIS void vcn_v5_0_0_enable_static_power_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Enable static power gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c ...
vcn_v5_0_0_hw_fini(9)
NAME vcn_v5_0_0_hw_fini - stop the hardware block SYNOPSIS int vcn_v5_0_0_hw_fini (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Stop the VCN block, mark ring as not ready any more SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5...
vcn_v5_0_0_hw_init(9)
NAME vcn_v5_0_0_hw_init - start and test VCN block SYNOPSIS int vcn_v5_0_0_hw_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Initialize the hardware, boot up the VCPU and do some testing SEE ALSO Kernel file ./drivers/gpu/drm/amd/am...
vcn_v5_0_0_is_idle(9)
NAME vcn_v5_0_0_is_idle - check VCN block is idle SYNOPSIS bool vcn_v5_0_0_is_idle (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block structure DESCRIPTION Check whether VCN block is idle SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early_init(9...
vcn_v5_0_0_mc_resume(9)
NAME vcn_v5_0_0_mc_resume - memory controller programming SYNOPSIS void vcn_v5_0_0_mc_resume (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Let the VCN memory controller know it's offsets SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early_init(9), v...
vcn_v5_0_0_mc_resume_dpg_mode(9)
NAME vcn_v5_0_0_mc_resume_dpg_mode - memory controller programming for dpg mode SYNOPSIS void vcn_v5_0_0_mc_resume_dpg_mode (struct amdgpu_vcn_inst *vinst , bool indirect ); ARGUMENTS vinst VCN instance indirect indirectly write sram DESCRIPTION Let the VCN memory controller know it's offsets with d...
vcn_v5_0_0_pause_dpg_mode(9)
NAME vcn_v5_0_0_pause_dpg_mode - VCN pause with dpg mode SYNOPSIS int vcn_v5_0_0_pause_dpg_mode (struct amdgpu_vcn_inst *vinst , struct dpg_pause_state *new_state ); ARGUMENTS vinst VCN instance new_state pause state DESCRIPTION Pause dpg mode for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/a...
vcn_v5_0_0_process_interrupt(9)
NAME vcn_v5_0_0_process_interrupt - process VCN block interrupt SYNOPSIS int vcn_v5_0_0_process_interrupt (struct amdgpu_device *adev , struct amdgpu_irq_src *source , struct amdgpu_iv_entry *entry ); ARGUMENTS adev amdgpu_device pointer source interrupt sources entry interrupt entry...
vcn_v5_0_0_resume(9)
NAME vcn_v5_0_0_resume - resume VCN block SYNOPSIS int vcn_v5_0_0_resume (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Resume firmware and hw init VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early...
vcn_v5_0_0_set_clockgating_state(9)
NAME vcn_v5_0_0_set_clockgating_state - set VCN block clockgating state SYNOPSIS int vcn_v5_0_0_set_clockgating_state (struct amdgpu_ip_block *ip_block , enum amd_clockgating_state state ); ARGUMENTS ip_block amdgpu_ip_block pointer state clock gating state DESCRIPTION Set VCN block clockgating stat...
vcn_v5_0_0_set_irq_funcs(9)
NAME vcn_v5_0_0_set_irq_funcs - set VCN block interrupt irq functions SYNOPSIS void vcn_v5_0_0_set_irq_funcs (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set VCN block interrupt irq functions SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early...
vcn_v5_0_0_set_unified_ring_funcs(9)
NAME vcn_v5_0_0_set_unified_ring_funcs - set unified ring functions SYNOPSIS void vcn_v5_0_0_set_unified_ring_funcs (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set unified ring functions SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early_ini...
vcn_v5_0_0_start(9)
NAME vcn_v5_0_0_start - VCN start SYNOPSIS int vcn_v5_0_0_start (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Start VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early_init(9), vcn_v5_0_0_sw_init(9), vcn_v5_0_0_sw_fini(9), vcn_v5_0_0_hw_i...
vcn_v5_0_0_start_dpg_mode(9)
NAME vcn_v5_0_0_start_dpg_mode - VCN start with dpg mode SYNOPSIS int vcn_v5_0_0_start_dpg_mode (struct amdgpu_vcn_inst *vinst , bool indirect ); ARGUMENTS vinst VCN instance indirect indirectly write sram DESCRIPTION Start VCN block with dpg mode SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu...
vcn_v5_0_0_stop(9)
NAME vcn_v5_0_0_stop - VCN stop SYNOPSIS int vcn_v5_0_0_stop (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Stop VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early_init(9), vcn_v5_0_0_sw_init(9), vcn_v5_0_0_sw_fini(9), vcn_v5_0_0_hw_init(...
vcn_v5_0_0_stop_dpg_mode(9)
NAME vcn_v5_0_0_stop_dpg_mode - VCN stop with dpg mode SYNOPSIS void vcn_v5_0_0_stop_dpg_mode (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Stop VCN block with dpg mode SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early_init(9), vcn_v5_0_0_sw_init(...
vcn_v5_0_0_suspend(9)
NAME vcn_v5_0_0_suspend - suspend VCN block SYNOPSIS int vcn_v5_0_0_suspend (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION HW fini and suspend VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_early_ini...
vcn_v5_0_0_sw_fini(9)
NAME vcn_v5_0_0_sw_fini - sw fini for VCN block SYNOPSIS int vcn_v5_0_0_sw_fini (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION VCN suspend and free up sw allocation SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0...
vcn_v5_0_0_sw_init(9)
NAME vcn_v5_0_0_sw_init - sw init for VCN block SYNOPSIS int vcn_v5_0_0_sw_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Load firmware and sw initialization SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0...
vcn_v5_0_0_unified_ring_get_rptr(9)
NAME vcn_v5_0_0_unified_ring_get_rptr - get unified read pointer SYNOPSIS uint64_t vcn_v5_0_0_unified_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware unified read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c v...
vcn_v5_0_0_unified_ring_get_wptr(9)
NAME vcn_v5_0_0_unified_ring_get_wptr - get unified write pointer SYNOPSIS uint64_t vcn_v5_0_0_unified_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware unified write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c ...
vcn_v5_0_0_unified_ring_set_wptr(9)
NAME vcn_v5_0_0_unified_ring_set_wptr - set enc write pointer SYNOPSIS void vcn_v5_0_0_unified_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Commits the enc write pointer to the hardware SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0_0_e...
vcn_v5_0_0_wait_for_idle(9)
NAME vcn_v5_0_0_wait_for_idle - wait for VCN block idle SYNOPSIS int vcn_v5_0_0_wait_for_idle (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Wait for VCN block idle SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c vcn_v5_0...
vcn_v5_0_1_disable_clock_gating(9)
NAME vcn_v5_0_1_disable_clock_gating - disable VCN clock gating SYNOPSIS void vcn_v5_0_1_disable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Disable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early_init(9)...
vcn_v5_0_1_early_init(9)
NAME vcn_v5_0_1_early_init - set function pointers and load microcode SYNOPSIS int vcn_v5_0_1_early_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Set ring and irq function pointers Load microcode from filesystem SEE ALSO Kernel file...
vcn_v5_0_1_enable_clock_gating(9)
NAME vcn_v5_0_1_enable_clock_gating - enable VCN clock gating SYNOPSIS void vcn_v5_0_1_enable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Enable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early_init(9), v...
vcn_v5_0_1_hw_fini(9)
NAME vcn_v5_0_1_hw_fini - stop the hardware block SYNOPSIS int vcn_v5_0_1_hw_fini (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Stop the VCN block, mark ring as not ready any more SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5...
vcn_v5_0_1_hw_init(9)
NAME vcn_v5_0_1_hw_init - start and test VCN block SYNOPSIS int vcn_v5_0_1_hw_init (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block for this hw instance. DESCRIPTION Initialize the hardware, boot up the VCPU and do some testing SEE ALSO Kernel file ./drivers/gpu/drm/amd/am...
vcn_v5_0_1_is_idle(9)
NAME vcn_v5_0_1_is_idle - check VCN block is idle SYNOPSIS bool vcn_v5_0_1_is_idle (struct amdgpu_ip_block *ip_block ); ARGUMENTS ip_block Pointer to the amdgpu_ip_block structure DESCRIPTION Check whether VCN block is idle SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_early_init(9...