id
stringlengths
4
63
text
stringlengths
153
8.81M
vchan_synchronize(9)
NAME vchan_synchronize - synchronize callback execution to the current context SYNOPSIS void vchan_synchronize (struct virt_dma_chan *vc ); ARGUMENTS vc virtual channel to synchronize DESCRIPTION Makes sure that all scheduled or active callbacks have finished running. For proper operation the caller has to ...
vchan_terminate_vdesc(9)
NAME vchan_terminate_vdesc - Disable pending cyclic callback SYNOPSIS void vchan_terminate_vdesc (struct virt_dma_desc *vd ); ARGUMENTS vd virtual descriptor to be terminated DESCRIPTION vc.lock must be held by caller SEE ALSO Kernel file ./drivers/dma/virt-dma.h vchan_tx_prep(9), vchan_issue_pending(9...
vchan_tx_desc_free(9)
NAME vchan_tx_desc_free - free a reusable descriptor SYNOPSIS int vchan_tx_desc_free (struct dma_async_tx_descriptor *tx ); ARGUMENTS tx the transfer DESCRIPTION This function frees a previously allocated reusable descriptor. The only other way is to clear the DMA_CTRL_REUSE flag and submit one last time th...
vchan_tx_prep(9)
NAME vchan_tx_prep - prepare a descriptor SYNOPSIS struct dma_async_tx_descriptor * vchan_tx_prep (struct virt_dma_chan *vc , struct virt_dma_desc *vd , unsigned long tx_flags ); ARGUMENTS vc virtual channel allocating this descriptor vd virtual descriptor to prepare tx_flags flag...
vchan_vdesc_fini(9)
NAME vchan_vdesc_fini - Free or reuse a descriptor SYNOPSIS void vchan_vdesc_fini (struct virt_dma_desc *vd ); ARGUMENTS vd virtual descriptor to free/reuse SEE ALSO Kernel file ./drivers/dma/virt-dma.h vchan_tx_prep(9), vchan_issue_pending(9), vchan_cookie_complete(9), vchan_cyclic_callback(9), vchan_termi...
vchiq_deregister_chrdev(9)
NAME vchiq_deregister_chrdev - Deregister and cleanup the vchiq char driver and device files SYNOPSIS void vchiq_deregister_chrdev (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c vchiq_register_chrdev(9) April 2026 ...
vchiq_register_chrdev(9)
NAME vchiq_register_chrdev - Register the char driver for vchiq and create the necessary class and device files in userspace. SYNOPSIS int vchiq_register_chrdev (struct device *parent ); ARGUMENTS parent The parent of the char device. DESCRIPTION Returns 0 on success else returns the error code. SEE ALSO Kerne...
vcn_set_powergating_state(9)
NAME vcn_set_powergating_state - set VCN block powergating state SYNOPSIS int vcn_set_powergating_state (struct amdgpu_ip_block *ip_block , enum amd_powergating_state state ); ARGUMENTS ip_block amdgpu_ip_block pointer state power gating state DESCRIPTION Set VCN block powergating state SEE ALSO Ke...
vcn_v1_0_dec_ring_emit_fence(9)
NAME vcn_v1_0_dec_ring_emit_fence - emit an fence & trap command SYNOPSIS void vcn_v1_0_dec_ring_emit_fence (struct amdgpu_ring *ring , u64 addr , u64 seq , unsigned flags ); ARGUMENTS ring amdgpu_ring pointer addr address seq sequence number flags fence related fla...
vcn_v1_0_dec_ring_emit_ib(9)
NAME vcn_v1_0_dec_ring_emit_ib - execute indirect buffer SYNOPSIS void vcn_v1_0_dec_ring_emit_ib (struct amdgpu_ring *ring , struct amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags ); ARGUMENTS ring amdgpu_ring pointer job job to retrieve vmid from ib indirect buffer to ...
vcn_v1_0_dec_ring_get_rptr(9)
NAME vcn_v1_0_dec_ring_get_rptr - get read pointer SYNOPSIS uint64_t vcn_v1_0_dec_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_early_init(9), vcn_v1...
vcn_v1_0_dec_ring_get_wptr(9)
NAME vcn_v1_0_dec_ring_get_wptr - get write pointer SYNOPSIS uint64_t vcn_v1_0_dec_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_early_init(9), vcn_...
vcn_v1_0_dec_ring_insert_end(9)
NAME vcn_v1_0_dec_ring_insert_end - insert a end command SYNOPSIS void vcn_v1_0_dec_ring_insert_end (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Write a end command to the ring. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_early_init(9), vcn_v1_0_sw...
vcn_v1_0_dec_ring_insert_start(9)
NAME vcn_v1_0_dec_ring_insert_start - insert a start command SYNOPSIS void vcn_v1_0_dec_ring_insert_start (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Write a start command to the ring. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_early_init(9), vcn...
vcn_v1_0_dec_ring_set_wptr(9)
NAME vcn_v1_0_dec_ring_set_wptr - set write pointer SYNOPSIS void vcn_v1_0_dec_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Commits the write pointer to the hardware SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_early_init(9), vcn_v1_0_...
vcn_v1_0_disable_clock_gating(9)
NAME vcn_v1_0_disable_clock_gating - disable VCN clock gating SYNOPSIS void vcn_v1_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_v1_0.c vcn_v1_0_early_init(9), vcn_v...
vcn_v1_0_early_init(9)
NAME vcn_v1_0_early_init - set function pointers and load microcode SYNOPSIS int vcn_v1_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_v1_0_enable_clock_gating(9)
NAME vcn_v1_0_enable_clock_gating - enable VCN clock gating SYNOPSIS void vcn_v1_0_enable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst Pointer to the VCN instance structure DESCRIPTION Enable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_...
vcn_v1_0_enc_ring_emit_fence(9)
NAME vcn_v1_0_enc_ring_emit_fence - emit an enc fence & trap command SYNOPSIS void vcn_v1_0_enc_ring_emit_fence (struct amdgpu_ring *ring , u64 addr , u64 seq , unsigned flags ); ARGUMENTS ring amdgpu_ring pointer addr address seq sequence number flags fence related...
vcn_v1_0_enc_ring_emit_ib(9)
NAME vcn_v1_0_enc_ring_emit_ib - enc execute indirect buffer SYNOPSIS void vcn_v1_0_enc_ring_emit_ib (struct amdgpu_ring *ring , struct amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags ); ARGUMENTS ring amdgpu_ring pointer job job to retrive vmid from ib indirect buffer ...
vcn_v1_0_enc_ring_get_rptr(9)
NAME vcn_v1_0_enc_ring_get_rptr - get enc read pointer SYNOPSIS uint64_t vcn_v1_0_enc_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware enc read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_early_init(9),...
vcn_v1_0_hw_fini(9)
NAME vcn_v1_0_hw_fini - stop the hardware block SYNOPSIS int vcn_v1_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_v1_0....
vcn_v1_0_hw_init(9)
NAME vcn_v1_0_hw_init - start and test VCN block SYNOPSIS int vcn_v1_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/amdgp...
vcn_v1_0_mc_resume_spg_mode(9)
NAME vcn_v1_0_mc_resume_spg_mode - memory controller programming SYNOPSIS void vcn_v1_0_mc_resume_spg_mode (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_v1_0.c vcn_v1_0_early_i...
vcn_v1_0_resume(9)
NAME vcn_v1_0_resume - resume VCN block SYNOPSIS int vcn_v1_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_v1_0.c vcn_v1_0_early_init(9...
vcn_v1_0_start_spg_mode(9)
NAME vcn_v1_0_start_spg_mode - start VCN block SYNOPSIS int vcn_v1_0_start_spg_mode (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION Setup and start the VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_early_init(9), vcn_v1_0_sw_init(9), vcn_v1_0_s...
vcn_v1_0_stop_spg_mode(9)
NAME vcn_v1_0_stop_spg_mode - stop VCN block SYNOPSIS int vcn_v1_0_stop_spg_mode (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst VCN instance DESCRIPTION stop the VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_early_init(9), vcn_v1_0_sw_init(9), vcn_v1_0_sw_fini(9), vcn...
vcn_v1_0_suspend(9)
NAME vcn_v1_0_suspend - suspend VCN block SYNOPSIS int vcn_v1_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_v1_0.c vcn_v1_0_early_init(9), ...
vcn_v1_0_sw_fini(9)
NAME vcn_v1_0_sw_fini - sw fini for VCN block SYNOPSIS int vcn_v1_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_v1_0.c vcn_v1_0_earl...
vcn_v1_0_sw_init(9)
NAME vcn_v1_0_sw_init - sw init for VCN block SYNOPSIS int vcn_v1_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_v1_0.c vcn_v1_0_early_...
vcn_v2_0_dec_ring_emit_fence(9)
NAME vcn_v2_0_dec_ring_emit_fence - emit an fence & trap command SYNOPSIS void vcn_v2_0_dec_ring_emit_fence (struct amdgpu_ring *ring , u64 addr , u64 seq , unsigned flags ); ARGUMENTS ring amdgpu_ring pointer addr address seq sequence number flags fence related fla...
vcn_v2_0_dec_ring_emit_ib(9)
NAME vcn_v2_0_dec_ring_emit_ib - execute indirect buffer SYNOPSIS void vcn_v2_0_dec_ring_emit_ib (struct amdgpu_ring *ring , struct amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags ); ARGUMENTS ring amdgpu_ring pointer job job to retrieve vmid from ib indirect buffer to ...
vcn_v2_0_dec_ring_get_rptr(9)
NAME vcn_v2_0_dec_ring_get_rptr - get read pointer SYNOPSIS uint64_t vcn_v2_0_dec_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c vcn_v2_0_early_init(9), vcn_v2...
vcn_v2_0_dec_ring_get_wptr(9)
NAME vcn_v2_0_dec_ring_get_wptr - get write pointer SYNOPSIS uint64_t vcn_v2_0_dec_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c vcn_v2_0_early_init(9), vcn_...
vcn_v2_0_dec_ring_insert_end(9)
NAME vcn_v2_0_dec_ring_insert_end - insert a end command SYNOPSIS void vcn_v2_0_dec_ring_insert_end (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Write a end command to the ring. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c vcn_v2_0_early_init(9), vcn_v2_0_sw...
vcn_v2_0_dec_ring_insert_nop(9)
NAME vcn_v2_0_dec_ring_insert_nop - insert a nop command SYNOPSIS void vcn_v2_0_dec_ring_insert_nop (struct amdgpu_ring *ring , uint32_t count ); ARGUMENTS ring amdgpu_ring pointer count the number of NOP packets to insert DESCRIPTION Write a nop command to the ring. SEE ALSO Kernel file ./dr...
vcn_v2_0_dec_ring_insert_start(9)
NAME vcn_v2_0_dec_ring_insert_start - insert a start command SYNOPSIS void vcn_v2_0_dec_ring_insert_start (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Write a start command to the ring. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c vcn_v2_0_early_init(9), vcn...
vcn_v2_0_dec_ring_set_wptr(9)
NAME vcn_v2_0_dec_ring_set_wptr - set write pointer SYNOPSIS void vcn_v2_0_dec_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Commits the write pointer to the hardware SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c vcn_v2_0_early_init(9), vcn_v2_0_...
vcn_v2_0_disable_clock_gating(9)
NAME vcn_v2_0_disable_clock_gating - disable VCN clock gating SYNOPSIS void vcn_v2_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_v2_0.c vcn_v2_0_early_init(9), vcn_v...
vcn_v2_0_early_init(9)
NAME vcn_v2_0_early_init - set function pointers and load microcode SYNOPSIS int vcn_v2_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_v2_0_enable_clock_gating(9)
NAME vcn_v2_0_enable_clock_gating - enable VCN clock gating SYNOPSIS void vcn_v2_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_v2_0.c vcn_v2_0_early_init(9), vcn_v2_0_...
vcn_v2_0_enc_ring_emit_fence(9)
NAME vcn_v2_0_enc_ring_emit_fence - emit an enc fence & trap command SYNOPSIS void vcn_v2_0_enc_ring_emit_fence (struct amdgpu_ring *ring , u64 addr , u64 seq , unsigned flags ); ARGUMENTS ring amdgpu_ring pointer addr address seq sequence number flags fence related...
vcn_v2_0_enc_ring_emit_ib(9)
NAME vcn_v2_0_enc_ring_emit_ib - enc execute indirect buffer SYNOPSIS void vcn_v2_0_enc_ring_emit_ib (struct amdgpu_ring *ring , struct amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags ); ARGUMENTS ring amdgpu_ring pointer job job to retrive vmid from ib indirect buffer ...
vcn_v2_0_enc_ring_get_rptr(9)
NAME vcn_v2_0_enc_ring_get_rptr - get enc read pointer SYNOPSIS uint64_t vcn_v2_0_enc_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware enc read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c vcn_v2_0_early_init(9),...
vcn_v2_0_hw_fini(9)
NAME vcn_v2_0_hw_fini - stop the hardware block SYNOPSIS int vcn_v2_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_v2_0.c...
vcn_v2_0_hw_init(9)
NAME vcn_v2_0_hw_init - start and test VCN block SYNOPSIS int vcn_v2_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_v2_0_mc_resume(9)
NAME vcn_v2_0_mc_resume - memory controller programming SYNOPSIS void vcn_v2_0_mc_resume (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst Pointer to the VCN instance structure DESCRIPTION Let the VCN memory controller know it's offsets SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c vcn_v2_0_...
vcn_v2_0_resume(9)
NAME vcn_v2_0_resume - resume VCN block SYNOPSIS int vcn_v2_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_v2_0.c vcn_v2_0_early_init(9...
vcn_v2_0_suspend(9)
NAME vcn_v2_0_suspend - suspend VCN block SYNOPSIS int vcn_v2_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_v2_0.c vcn_v2_0_early_init(9), v...
vcn_v2_0_sw_fini(9)
NAME vcn_v2_0_sw_fini - sw fini for VCN block SYNOPSIS int vcn_v2_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_v2_0.c vcn_v2_0_early...
vcn_v2_0_sw_init(9)
NAME vcn_v2_0_sw_init - sw init for VCN block SYNOPSIS int vcn_v2_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_v2_0.c vcn_v2_0_early_i...
vcn_v2_5_dec_ring_get_rptr(9)
NAME vcn_v2_5_dec_ring_get_rptr - get read pointer SYNOPSIS uint64_t vcn_v2_5_dec_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c vcn_v2_5_early_init(9), vcn_v2...
vcn_v2_5_dec_ring_get_wptr(9)
NAME vcn_v2_5_dec_ring_get_wptr - get write pointer SYNOPSIS uint64_t vcn_v2_5_dec_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c vcn_v2_5_early_init(9), vcn_...
vcn_v2_5_dec_ring_set_wptr(9)
NAME vcn_v2_5_dec_ring_set_wptr - set write pointer SYNOPSIS void vcn_v2_5_dec_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Commits the write pointer to the hardware SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c vcn_v2_5_early_init(9), vcn_v2_5_...
vcn_v2_5_disable_clock_gating(9)
NAME vcn_v2_5_disable_clock_gating - disable VCN clock gating SYNOPSIS void vcn_v2_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_v2_5.c vcn_v2_5_early_init(9), vcn_v...
vcn_v2_5_early_init(9)
NAME vcn_v2_5_early_init - set function pointers and load microcode SYNOPSIS int vcn_v2_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_v2_5_enable_clock_gating(9)
NAME vcn_v2_5_enable_clock_gating - enable VCN clock gating SYNOPSIS void vcn_v2_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_v2_5.c vcn_v2_5_early_init(9), vcn_v2_5_...
vcn_v2_5_enc_ring_get_rptr(9)
NAME vcn_v2_5_enc_ring_get_rptr - get enc read pointer SYNOPSIS uint64_t vcn_v2_5_enc_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware enc read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c vcn_v2_5_early_init(9),...
vcn_v2_5_enc_ring_get_wptr(9)
NAME vcn_v2_5_enc_ring_get_wptr - get enc write pointer SYNOPSIS uint64_t vcn_v2_5_enc_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware enc write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c vcn_v2_5_early_init(9...
vcn_v2_5_enc_ring_set_wptr(9)
NAME vcn_v2_5_enc_ring_set_wptr - set enc write pointer SYNOPSIS void vcn_v2_5_enc_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_v2_5.c vcn_v2_5_early_init(9), v...
vcn_v2_5_hw_fini(9)
NAME vcn_v2_5_hw_fini - stop the hardware block SYNOPSIS int vcn_v2_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_v2_5.c...
vcn_v2_5_hw_init(9)
NAME vcn_v2_5_hw_init - start and test VCN block SYNOPSIS int vcn_v2_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/amdgpu...
vcn_v2_5_mc_resume(9)
NAME vcn_v2_5_mc_resume - memory controller programming SYNOPSIS void vcn_v2_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_v2_5.c vcn_v2_5_early_init(9), vcn_v2_5_...
vcn_v2_5_resume(9)
NAME vcn_v2_5_resume - resume VCN block SYNOPSIS int vcn_v2_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_v2_5.c vcn_v2_5_early_init(9...
vcn_v2_5_suspend(9)
NAME vcn_v2_5_suspend - suspend VCN block SYNOPSIS int vcn_v2_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_v2_5.c vcn_v2_5_early_init(9), v...
vcn_v2_5_sw_fini(9)
NAME vcn_v2_5_sw_fini - sw fini for VCN block SYNOPSIS int vcn_v2_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_v2_5.c vcn_v2_5_early...
vcn_v2_5_sw_init(9)
NAME vcn_v2_5_sw_init - sw init for VCN block SYNOPSIS int vcn_v2_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_v2_5.c vcn_v2_5_early_i...
vcn_v3_0_dec_ring_get_rptr(9)
NAME vcn_v3_0_dec_ring_get_rptr - get read pointer SYNOPSIS uint64_t vcn_v3_0_dec_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c vcn_v3_0_early_init(9), vcn_v3...
vcn_v3_0_dec_ring_get_wptr(9)
NAME vcn_v3_0_dec_ring_get_wptr - get write pointer SYNOPSIS uint64_t vcn_v3_0_dec_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c vcn_v3_0_early_init(9), vcn_...
vcn_v3_0_dec_ring_set_wptr(9)
NAME vcn_v3_0_dec_ring_set_wptr - set write pointer SYNOPSIS void vcn_v3_0_dec_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Commits the write pointer to the hardware SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c vcn_v3_0_early_init(9), vcn_v3_0_...
vcn_v3_0_disable_clock_gating(9)
NAME vcn_v3_0_disable_clock_gating - disable VCN clock gating SYNOPSIS void vcn_v3_0_disable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst Pointer to the VCN instance structure DESCRIPTION Disable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c vcn_v...
vcn_v3_0_early_init(9)
NAME vcn_v3_0_early_init - set function pointers and load microcode SYNOPSIS int vcn_v3_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_v3_0_enable_clock_gating(9)
NAME vcn_v3_0_enable_clock_gating - enable VCN clock gating SYNOPSIS void vcn_v3_0_enable_clock_gating (struct amdgpu_vcn_inst *vinst ); ARGUMENTS vinst Pointer to the VCN instance structure DESCRIPTION Enable clock gating for VCN block SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c vcn_v3_0_...
vcn_v3_0_enc_ring_get_rptr(9)
NAME vcn_v3_0_enc_ring_get_rptr - get enc read pointer SYNOPSIS uint64_t vcn_v3_0_enc_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware enc read pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c vcn_v3_0_early_init(9),...
vcn_v3_0_enc_ring_get_wptr(9)
NAME vcn_v3_0_enc_ring_get_wptr - get enc write pointer SYNOPSIS uint64_t vcn_v3_0_enc_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Returns the current hardware enc write pointer SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c vcn_v3_0_early_init(9...
vcn_v3_0_enc_ring_set_wptr(9)
NAME vcn_v3_0_enc_ring_set_wptr - set enc write pointer SYNOPSIS void vcn_v3_0_enc_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_v3_0.c vcn_v3_0_early_init(9), v...
vcn_v3_0_hw_fini(9)
NAME vcn_v3_0_hw_fini - stop the hardware block SYNOPSIS int vcn_v3_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_v3_0.c...
vcn_v3_0_hw_init(9)
NAME vcn_v3_0_hw_init - start and test VCN block SYNOPSIS int vcn_v3_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_v3_0_mc_resume(9)
NAME vcn_v3_0_mc_resume - memory controller programming SYNOPSIS void vcn_v3_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_v3_0.c vcn_v3_0_early_init(9), vcn_v3_0_...
vcn_v3_0_resume(9)
NAME vcn_v3_0_resume - resume VCN block SYNOPSIS int vcn_v3_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_v3_0.c vcn_v3_0_early_init(9...
vcn_v3_0_suspend(9)
NAME vcn_v3_0_suspend - suspend VCN block SYNOPSIS int vcn_v3_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_v3_0.c vcn_v3_0_early_init(9), v...
vcn_v3_0_sw_fini(9)
NAME vcn_v3_0_sw_fini - sw fini for VCN block SYNOPSIS int vcn_v3_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_v3_0.c vcn_v3_0_early...
vcn_v3_0_sw_init(9)
NAME vcn_v3_0_sw_init - sw init for VCN block SYNOPSIS int vcn_v3_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_v3_0.c vcn_v3_0_early_i...
vcn_v4_0_3_disable_clock_gating(9)
NAME vcn_v4_0_3_disable_clock_gating - disable VCN clock gating SYNOPSIS void vcn_v4_0_3_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_3.c vcn_v4_0_3_early_init(9)...
vcn_v4_0_3_disable_clock_gating_dpg_mode(9)
NAME vcn_v4_0_3_disable_clock_gating_dpg_mode - disable VCN clock gating dpg mode SYNOPSIS void vcn_v4_0_3_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_3_early_init(9)
NAME vcn_v4_0_3_early_init - set function pointers SYNOPSIS int vcn_v4_0_3_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 SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c vcn_v...
vcn_v4_0_3_enable_clock_gating(9)
NAME vcn_v4_0_3_enable_clock_gating - enable VCN clock gating SYNOPSIS void vcn_v4_0_3_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_3.c vcn_v4_0_3_early_init(9), v...
vcn_v4_0_3_hw_fini(9)
NAME vcn_v4_0_3_hw_fini - stop the hardware block SYNOPSIS int vcn_v4_0_3_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_3_hw_init(9)
NAME vcn_v4_0_3_hw_init - start and test VCN block SYNOPSIS int vcn_v4_0_3_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_3_is_idle(9)
NAME vcn_v4_0_3_is_idle - check VCN block is idle SYNOPSIS bool vcn_v4_0_3_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_3.c vcn_v4_0_3_early_init(9...
vcn_v4_0_3_mc_resume(9)
NAME vcn_v4_0_3_mc_resume - memory controller programming SYNOPSIS void vcn_v4_0_3_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_3.c vcn_v4_0_3_early_init(9), v...
vcn_v4_0_3_mc_resume_dpg_mode(9)
NAME vcn_v4_0_3_mc_resume_dpg_mode - memory controller programming for dpg mode SYNOPSIS void vcn_v4_0_3_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_3_pause_dpg_mode(9)
NAME vcn_v4_0_3_pause_dpg_mode - VCN pause with dpg mode SYNOPSIS int vcn_v4_0_3_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_3_process_interrupt(9)
NAME vcn_v4_0_3_process_interrupt - process VCN block interrupt SYNOPSIS int vcn_v4_0_3_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_3_resume(9)
NAME vcn_v4_0_3_resume - resume VCN block SYNOPSIS int vcn_v4_0_3_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_3.c vcn_v4_0_3_early...
vcn_v4_0_3_set_interrupt_state(9)
NAME vcn_v4_0_3_set_interrupt_state - set VCN block interrupt state 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 ); ARGUMENTS adev amdgpu_device pointer source interrupt sources ...
vcn_v4_0_3_set_irq_funcs(9)
NAME vcn_v4_0_3_set_irq_funcs - set VCN block interrupt irq functions SYNOPSIS void vcn_v4_0_3_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_3.c vcn_v4_0_3_early...
vcn_v4_0_3_set_unified_ring_funcs(9)
NAME vcn_v4_0_3_set_unified_ring_funcs - set unified ring functions SYNOPSIS void vcn_v4_0_3_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_3.c vcn_v4_0_3_early_ini...
vcn_v4_0_3_start(9)
NAME vcn_v4_0_3_start - VCN start SYNOPSIS int vcn_v4_0_3_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_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_i...
vcn_v4_0_3_start_dpg_mode(9)
NAME vcn_v4_0_3_start_dpg_mode - VCN start with dpg mode SYNOPSIS int vcn_v4_0_3_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...