id
stringlengths
4
63
text
stringlengths
153
8.81M
sdma_v4_0_ring_emit_pipeline_sync(9)
NAME sdma_v4_0_ring_emit_pipeline_sync - sync the pipeline SYNOPSIS void sdma_v4_0_ring_emit_pipeline_sync (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Make sure all previous operations are completed (CIK). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ...
sdma_v4_0_ring_emit_vm_flush(9)
NAME sdma_v4_0_ring_emit_vm_flush - vm flush using sDMA SYNOPSIS void sdma_v4_0_ring_emit_vm_flush (struct amdgpu_ring *ring , unsigned vmid , uint64_t pd_addr ); ARGUMENTS ring amdgpu_ring pointer vmid vmid number to use pd_addr address DESCRIPTION Update the page table base and fl...
sdma_v4_0_ring_get_rptr(9)
NAME sdma_v4_0_ring_get_rptr - get the current read pointer SYNOPSIS uint64_t sdma_v4_0_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Get the current rptr from the hardware (VEGA10+). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c sdma_v4_0_...
sdma_v4_0_ring_get_wptr(9)
NAME sdma_v4_0_ring_get_wptr - get the current write pointer SYNOPSIS uint64_t sdma_v4_0_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Get the current wptr from the hardware (VEGA10+). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c sdma_v4_0...
sdma_v4_0_ring_pad_ib(9)
NAME sdma_v4_0_ring_pad_ib - pad the IB to the required number of dw SYNOPSIS void sdma_v4_0_ring_pad_ib (struct amdgpu_ring *ring , struct amdgpu_ib *ib ); ARGUMENTS ring amdgpu_ring structure holding ring information ib indirect buffer to fill with padding SEE ALSO Kernel file ./dri...
sdma_v4_0_ring_set_wptr(9)
NAME sdma_v4_0_ring_set_wptr - commit the write pointer SYNOPSIS void sdma_v4_0_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Write the wptr back to the hardware (VEGA10+). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c sdma_v4_0_init_microc...
sdma_v4_0_ring_test_ib(9)
NAME sdma_v4_0_ring_test_ib - test an IB on the DMA engine SYNOPSIS int sdma_v4_0_ring_test_ib (struct amdgpu_ring *ring , long timeout ); ARGUMENTS ring amdgpu_ring structure holding ring information timeout timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT DESCRIPTION Test a simple IB in the DMA...
sdma_v4_0_ring_test_ring(9)
NAME sdma_v4_0_ring_test_ring - simple async dma engine test SYNOPSIS int sdma_v4_0_ring_test_ring (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring structure holding ring information DESCRIPTION Test the DMA engine by writing using it to write an value to memory. (VEGA10). Returns 0 for success, error...
sdma_v4_0_rlc_resume(9)
NAME sdma_v4_0_rlc_resume - setup and start the async dma engines SYNOPSIS int sdma_v4_0_rlc_resume (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set up the compute DMA queues and enable them (VEGA10). Returns 0 for success, error for failure. SEE ALSO Kernel file ....
sdma_v4_0_rlc_stop(9)
NAME sdma_v4_0_rlc_stop - stop the compute async dma engines SYNOPSIS void sdma_v4_0_rlc_stop (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Stop the compute async dma queues (VEGA10). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c sdma_v4_0_init_mic...
sdma_v4_0_start(9)
NAME sdma_v4_0_start - setup and start the async dma engines SYNOPSIS int sdma_v4_0_start (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set up the DMA engines and enable them (VEGA10). Returns 0 for success, error for failure. SEE ALSO Kernel file ./drivers/gpu/drm/...
sdma_v4_0_vm_copy_pte(9)
NAME sdma_v4_0_vm_copy_pte - update PTEs by copying them from the GART SYNOPSIS void sdma_v4_0_vm_copy_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t src , unsigned count ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry src src addr to copy ...
sdma_v4_0_vm_set_pte_pde(9)
NAME sdma_v4_0_vm_set_pte_pde - update the page tables using sDMA SYNOPSIS void sdma_v4_0_vm_set_pte_pde (struct amdgpu_ib *ib , uint64_t pe , uint64_t addr , unsigned count , uint32_t incr , uint64_t flags ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry ...
sdma_v4_0_vm_write_pte(9)
NAME sdma_v4_0_vm_write_pte - update PTEs by writing them manually SYNOPSIS void sdma_v4_0_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t value , unsigned count , uint32_t incr ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry value ds...
sdma_v4_4_2_emit_copy_buffer(9)
NAME sdma_v4_4_2_emit_copy_buffer - copy buffer using the sDMA engine SYNOPSIS void sdma_v4_4_2_emit_copy_buffer (struct amdgpu_ib *ib , uint64_t src_offset , uint64_t dst_offset , uint32_t byte_count , uint32_t copy_flags ); ARGUMENTS ib indirect buffer to copy to src_offset src GPU address ...
sdma_v4_4_2_emit_fill_buffer(9)
NAME sdma_v4_4_2_emit_fill_buffer - fill buffer using the sDMA engine SYNOPSIS void sdma_v4_4_2_emit_fill_buffer (struct amdgpu_ib *ib , uint32_t src_data , uint64_t dst_offset , uint32_t byte_count ); ARGUMENTS ib indirect buffer to copy to src_data value to write to buffer dst_offset ds...
sdma_v4_4_2_gfx_resume(9)
NAME sdma_v4_4_2_gfx_resume - setup and start the async dma engines SYNOPSIS void sdma_v4_4_2_gfx_resume (struct amdgpu_device *adev , unsigned int i , bool restore ); ARGUMENTS adev amdgpu_device pointer i instance to resume restore used to restore wptr when restart DESCRIPTION ...
sdma_v4_4_2_init_microcode(9)
NAME sdma_v4_4_2_init_microcode - load ucode images from disk SYNOPSIS int sdma_v4_4_2_init_microcode (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Use the firmware interface to load the ucode images into the driver (not loaded into hw). Returns 0 on success, error on failur...
sdma_v4_4_2_inst_ctx_switch_enable(9)
NAME sdma_v4_4_2_inst_ctx_switch_enable - stop the async dma engines context switch SYNOPSIS void sdma_v4_4_2_inst_ctx_switch_enable (struct amdgpu_device *adev , bool enable , uint32_t inst_mask ); ARGUMENTS adev amdgpu_device pointer enable enable/disable the DMA MEs context switch. inst...
sdma_v4_4_2_inst_enable(9)
NAME sdma_v4_4_2_inst_enable - stop the async dma engines SYNOPSIS void sdma_v4_4_2_inst_enable (struct amdgpu_device *adev , bool enable , uint32_t inst_mask ); ARGUMENTS adev amdgpu_device pointer enable enable/disable the DMA MEs. inst_mask mask of dma engine instances to be enabled ...
sdma_v4_4_2_inst_gfx_stop(9)
NAME sdma_v4_4_2_inst_gfx_stop - stop the gfx async dma engines SYNOPSIS void sdma_v4_4_2_inst_gfx_stop (struct amdgpu_device *adev , uint32_t inst_mask ); ARGUMENTS adev amdgpu_device pointer inst_mask mask of dma engine instances to be disabled DESCRIPTION Stop the gfx async dma ring buffers. SEE...
sdma_v4_4_2_inst_load_microcode(9)
NAME sdma_v4_4_2_inst_load_microcode - load the sDMA ME ucode SYNOPSIS int sdma_v4_4_2_inst_load_microcode (struct amdgpu_device *adev , uint32_t inst_mask ); ARGUMENTS adev amdgpu_device pointer inst_mask mask of dma engine instances to be enabled DESCRIPTION Loads the sDMA0/1 ucode. Returns 0 for...
sdma_v4_4_2_inst_page_stop(9)
NAME sdma_v4_4_2_inst_page_stop - stop the page async dma engines SYNOPSIS void sdma_v4_4_2_inst_page_stop (struct amdgpu_device *adev , uint32_t inst_mask ); ARGUMENTS adev amdgpu_device pointer inst_mask mask of dma engine instances to be disabled DESCRIPTION Stop the page async dma ring buffers. ...
sdma_v4_4_2_inst_rlc_resume(9)
NAME sdma_v4_4_2_inst_rlc_resume - setup and start the async dma engines SYNOPSIS int sdma_v4_4_2_inst_rlc_resume (struct amdgpu_device *adev , uint32_t inst_mask ); ARGUMENTS adev amdgpu_device pointer inst_mask mask of dma engine instances to be enabled DESCRIPTION Set up the compute DMA queues an...
sdma_v4_4_2_inst_rlc_stop(9)
NAME sdma_v4_4_2_inst_rlc_stop - stop the compute async dma engines SYNOPSIS void sdma_v4_4_2_inst_rlc_stop (struct amdgpu_device *adev , uint32_t inst_mask ); ARGUMENTS adev amdgpu_device pointer inst_mask mask of dma engine instances to be disabled DESCRIPTION Stop the compute async dma queues. S...
sdma_v4_4_2_inst_start(9)
NAME sdma_v4_4_2_inst_start - setup and start the async dma engines SYNOPSIS int sdma_v4_4_2_inst_start (struct amdgpu_device *adev , uint32_t inst_mask , bool restore ); ARGUMENTS adev amdgpu_device pointer inst_mask mask of dma engine instances to be enabled restore boolean to say resto...
sdma_v4_4_2_page_resume(9)
NAME sdma_v4_4_2_page_resume - setup and start the async dma engines SYNOPSIS void sdma_v4_4_2_page_resume (struct amdgpu_device *adev , unsigned int i , bool restore ); ARGUMENTS adev amdgpu_device pointer i instance to resume restore boolean to say restore needed or not DESCRIP...
sdma_v4_4_2_page_ring_get_wptr(9)
NAME sdma_v4_4_2_page_ring_get_wptr - get the current write pointer SYNOPSIS uint64_t sdma_v4_4_2_page_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Get the current wptr from the hardware. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v...
sdma_v4_4_2_page_ring_set_wptr(9)
NAME sdma_v4_4_2_page_ring_set_wptr - commit the write pointer SYNOPSIS void sdma_v4_4_2_page_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Write the wptr back to the hardware. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_init_m...
sdma_v4_4_2_ring_emit_fence(9)
NAME sdma_v4_4_2_ring_emit_fence - emit a fence on the DMA ring SYNOPSIS void sdma_v4_4_2_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 flags...
sdma_v4_4_2_ring_emit_hdp_flush(9)
NAME sdma_v4_4_2_ring_emit_hdp_flush - emit an hdp flush on the DMA ring SYNOPSIS void sdma_v4_4_2_ring_emit_hdp_flush (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Emit an hdp flush packet on the requested DMA ring. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_...
sdma_v4_4_2_ring_emit_ib(9)
NAME sdma_v4_4_2_ring_emit_ib - Schedule an IB on the DMA engine SYNOPSIS void sdma_v4_4_2_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 IB object to...
sdma_v4_4_2_ring_emit_pipeline_sync(9)
NAME sdma_v4_4_2_ring_emit_pipeline_sync - sync the pipeline SYNOPSIS void sdma_v4_4_2_ring_emit_pipeline_sync (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Make sure all previous operations are completed (CIK). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c...
sdma_v4_4_2_ring_emit_vm_flush(9)
NAME sdma_v4_4_2_ring_emit_vm_flush - vm flush using sDMA SYNOPSIS void sdma_v4_4_2_ring_emit_vm_flush (struct amdgpu_ring *ring , unsigned vmid , uint64_t pd_addr ); ARGUMENTS ring amdgpu_ring pointer vmid vmid number to use pd_addr address DESCRIPTION Update the page table base an...
sdma_v4_4_2_ring_get_rptr(9)
NAME sdma_v4_4_2_ring_get_rptr - get the current read pointer SYNOPSIS uint64_t sdma_v4_4_2_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Get the current rptr from the hardware. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_init_mic...
sdma_v4_4_2_ring_get_wptr(9)
NAME sdma_v4_4_2_ring_get_wptr - get the current write pointer SYNOPSIS uint64_t sdma_v4_4_2_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Get the current wptr from the hardware. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_init_mi...
sdma_v4_4_2_ring_pad_ib(9)
NAME sdma_v4_4_2_ring_pad_ib - pad the IB to the required number of dw SYNOPSIS void sdma_v4_4_2_ring_pad_ib (struct amdgpu_ring *ring , struct amdgpu_ib *ib ); ARGUMENTS ring amdgpu_ring structure holding ring information ib indirect buffer to fill with padding SEE ALSO Kernel file ./dri...
sdma_v4_4_2_ring_set_wptr(9)
NAME sdma_v4_4_2_ring_set_wptr - commit the write pointer SYNOPSIS void sdma_v4_4_2_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Write the wptr back to the hardware. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_init_microcod...
sdma_v4_4_2_ring_test_ib(9)
NAME sdma_v4_4_2_ring_test_ib - test an IB on the DMA engine SYNOPSIS int sdma_v4_4_2_ring_test_ib (struct amdgpu_ring *ring , long timeout ); ARGUMENTS ring amdgpu_ring structure holding ring information timeout timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT DESCRIPTION Test a simple IB in the...
sdma_v4_4_2_ring_test_ring(9)
NAME sdma_v4_4_2_ring_test_ring - simple async dma engine test SYNOPSIS int sdma_v4_4_2_ring_test_ring (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring structure holding ring information DESCRIPTION Test the DMA engine by writing using it to write an value to memory. Returns 0 for success, error for f...
sdma_v4_4_2_update_reset_mask(9)
NAME sdma_v4_4_2_update_reset_mask - update reset mask for SDMA SYNOPSIS void sdma_v4_4_2_update_reset_mask (struct amdgpu_device *adev ); ARGUMENTS adev Pointer to the AMDGPU device structure DESCRIPTION This function update reset mask for SDMA and sets the supported reset types based on the IP version and f...
sdma_v4_4_2_vm_copy_pte(9)
NAME sdma_v4_4_2_vm_copy_pte - update PTEs by copying them from the GART SYNOPSIS void sdma_v4_4_2_vm_copy_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t src , unsigned count ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry src src addr to c...
sdma_v4_4_2_vm_set_pte_pde(9)
NAME sdma_v4_4_2_vm_set_pte_pde - update the page tables using sDMA SYNOPSIS void sdma_v4_4_2_vm_set_pte_pde (struct amdgpu_ib *ib , uint64_t pe , uint64_t addr , unsigned count , uint32_t incr , uint64_t flags ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry ...
sdma_v4_4_2_vm_write_pte(9)
NAME sdma_v4_4_2_vm_write_pte - update PTEs by writing them manually SYNOPSIS void sdma_v4_4_2_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t value , unsigned count , uint32_t incr ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry value ...
sdma_v5_0_ctx_switch_enable(9)
NAME sdma_v5_0_ctx_switch_enable - stop the async dma engines context switch SYNOPSIS void sdma_v5_0_ctx_switch_enable (struct amdgpu_device *adev , bool enable ); ARGUMENTS adev amdgpu_device pointer enable enable/disable the DMA MEs context switch. DESCRIPTION Halt or unhalt the async dma engin...
sdma_v5_0_emit_copy_buffer(9)
NAME sdma_v5_0_emit_copy_buffer - copy buffer using the sDMA engine SYNOPSIS void sdma_v5_0_emit_copy_buffer (struct amdgpu_ib *ib , uint64_t src_offset , uint64_t dst_offset , uint32_t byte_count , uint32_t copy_flags ); ARGUMENTS ib indirect buffer to copy to src_offset src GPU address dst...
sdma_v5_0_emit_fill_buffer(9)
NAME sdma_v5_0_emit_fill_buffer - fill buffer using the sDMA engine SYNOPSIS void sdma_v5_0_emit_fill_buffer (struct amdgpu_ib *ib , uint32_t src_data , uint64_t dst_offset , uint32_t byte_count ); ARGUMENTS ib indirect buffer to fill src_data value to write to buffer dst_offset dst GPU a...
sdma_v5_0_enable(9)
NAME sdma_v5_0_enable - stop the async dma engines SYNOPSIS void sdma_v5_0_enable (struct amdgpu_device *adev , bool enable ); ARGUMENTS adev amdgpu_device pointer enable enable/disable the DMA MEs. DESCRIPTION Halt or unhalt the async dma engines (NAVI10). SEE ALSO Kernel file ./driver...
sdma_v5_0_gfx_resume(9)
NAME sdma_v5_0_gfx_resume - setup and start the async dma engines SYNOPSIS int sdma_v5_0_gfx_resume (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set up the gfx DMA ring buffers and enable them (NAVI10). Returns 0 for success, error for failure. SEE ALSO Kernel file ...
sdma_v5_0_gfx_resume_instance(9)
NAME sdma_v5_0_gfx_resume_instance - start/restart a certain sdma engine SYNOPSIS int sdma_v5_0_gfx_resume_instance (struct amdgpu_device *adev , int i , bool restore ); ARGUMENTS adev amdgpu_device pointer i instance restore used to restore wptr when restart DESCRIPTION Set up t...
sdma_v5_0_gfx_stop(9)
NAME sdma_v5_0_gfx_stop - stop the gfx async dma engines SYNOPSIS void sdma_v5_0_gfx_stop (struct amdgpu_device *adev , uint32_t inst_mask ); ARGUMENTS adev amdgpu_device pointer inst_mask mask of dma engine instances to be disabled Stop the gfx async dma ring buffers (NAVI10). SEE ALSO Kernel ...
sdma_v5_0_init_microcode(9)
NAME sdma_v5_0_init_microcode - load ucode images from disk SYNOPSIS int sdma_v5_0_init_microcode (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Use the firmware interface to load the ucode images into the driver (not loaded into hw). Returns 0 on success, error on failure. ...
sdma_v5_0_load_microcode(9)
NAME sdma_v5_0_load_microcode - load the sDMA ME ucode SYNOPSIS int sdma_v5_0_load_microcode (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Loads the sDMA0/1 ucode. Returns 0 for success, -EINVAL if the ucode is not available. SEE ALSO Kernel file ./drivers/gpu/drm/...
sdma_v5_0_ring_emit_fence(9)
NAME sdma_v5_0_ring_emit_fence - emit a fence on the DMA ring SYNOPSIS void sdma_v5_0_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 flags DE...
sdma_v5_0_ring_emit_hdp_flush(9)
NAME sdma_v5_0_ring_emit_hdp_flush - emit an hdp flush on the DMA ring SYNOPSIS void sdma_v5_0_ring_emit_hdp_flush (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Emit an hdp flush packet on the requested DMA ring. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ...
sdma_v5_0_ring_emit_ib(9)
NAME sdma_v5_0_ring_emit_ib - Schedule an IB on the DMA engine SYNOPSIS void sdma_v5_0_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 IB object to sch...
sdma_v5_0_ring_emit_mem_sync(9)
NAME sdma_v5_0_ring_emit_mem_sync - flush the IB by graphics cache rinse SYNOPSIS void sdma_v5_0_ring_emit_mem_sync (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION flush the IB by graphics cache rinse. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c sdma...
sdma_v5_0_ring_emit_pipeline_sync(9)
NAME sdma_v5_0_ring_emit_pipeline_sync - sync the pipeline SYNOPSIS void sdma_v5_0_ring_emit_pipeline_sync (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Make sure all previous operations are completed (CIK). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c sdm...
sdma_v5_0_ring_emit_vm_flush(9)
NAME sdma_v5_0_ring_emit_vm_flush - vm flush using sDMA SYNOPSIS void sdma_v5_0_ring_emit_vm_flush (struct amdgpu_ring *ring , unsigned vmid , uint64_t pd_addr ); ARGUMENTS ring amdgpu_ring pointer vmid vmid number to use pd_addr address DESCRIPTION Update the page table base and fl...
sdma_v5_0_ring_get_rptr(9)
NAME sdma_v5_0_ring_get_rptr - get the current read pointer SYNOPSIS uint64_t sdma_v5_0_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Get the current rptr from the hardware (NAVI10+). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c sdma_v5...
sdma_v5_0_ring_get_wptr(9)
NAME sdma_v5_0_ring_get_wptr - get the current write pointer SYNOPSIS uint64_t sdma_v5_0_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Get the current wptr from the hardware (NAVI10+). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c sdma_v...
sdma_v5_0_ring_pad_ib(9)
NAME sdma_v5_0_ring_pad_ib - pad the IB SYNOPSIS void sdma_v5_0_ring_pad_ib (struct amdgpu_ring *ring , struct amdgpu_ib *ib ); ARGUMENTS ring amdgpu_ring structure holding ring information ib indirect buffer to fill with padding DESCRIPTION Pad the IB with NOPs to a boundary multiple of 8. ...
sdma_v5_0_ring_set_wptr(9)
NAME sdma_v5_0_ring_set_wptr - commit the write pointer SYNOPSIS void sdma_v5_0_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Write the wptr back to the hardware (NAVI10+). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c sdma_v5_0_init_mic...
sdma_v5_0_ring_test_ib(9)
NAME sdma_v5_0_ring_test_ib - test an IB on the DMA engine SYNOPSIS int sdma_v5_0_ring_test_ib (struct amdgpu_ring *ring , long timeout ); ARGUMENTS ring amdgpu_ring structure holding ring information timeout timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT DESCRIPTION Test a simple IB in the DMA...
sdma_v5_0_ring_test_ring(9)
NAME sdma_v5_0_ring_test_ring - simple async dma engine test SYNOPSIS int sdma_v5_0_ring_test_ring (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring structure holding ring information DESCRIPTION Test the DMA engine by writing using it to write an value to memory. (NAVI10). Returns 0 for success, error...
sdma_v5_0_rlc_resume(9)
NAME sdma_v5_0_rlc_resume - setup and start the async dma engines SYNOPSIS int sdma_v5_0_rlc_resume (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set up the compute DMA queues and enable them (NAVI10). Returns 0 for success, error for failure. SEE ALSO Kernel file ...
sdma_v5_0_rlc_stop(9)
NAME sdma_v5_0_rlc_stop - stop the compute async dma engines SYNOPSIS void sdma_v5_0_rlc_stop (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Stop the compute async dma queues (NAVI10). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c sdma_v5_0_init_m...
sdma_v5_0_start(9)
NAME sdma_v5_0_start - setup and start the async dma engines SYNOPSIS int sdma_v5_0_start (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set up the DMA engines and enable them (NAVI10). Returns 0 for success, error for failure. SEE ALSO Kernel file ./drivers/gpu/drm/amd/...
sdma_v5_0_vm_copy_pte(9)
NAME sdma_v5_0_vm_copy_pte - update PTEs by copying them from the GART SYNOPSIS void sdma_v5_0_vm_copy_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t src , unsigned count ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry src src addr to copy ...
sdma_v5_0_vm_set_pte_pde(9)
NAME sdma_v5_0_vm_set_pte_pde - update the page tables using sDMA SYNOPSIS void sdma_v5_0_vm_set_pte_pde (struct amdgpu_ib *ib , uint64_t pe , uint64_t addr , unsigned count , uint32_t incr , uint64_t flags ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry ...
sdma_v5_0_vm_write_pte(9)
NAME sdma_v5_0_vm_write_pte - update PTEs by writing them manually SYNOPSIS void sdma_v5_0_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t value , unsigned count , uint32_t incr ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry value ds...
sdma_v5_2_ctx_switch_enable(9)
NAME sdma_v5_2_ctx_switch_enable - stop the async dma engines context switch SYNOPSIS void sdma_v5_2_ctx_switch_enable (struct amdgpu_device *adev , bool enable ); ARGUMENTS adev amdgpu_device pointer enable enable/disable the DMA MEs context switch. DESCRIPTION Halt or unhalt the async dma engin...
sdma_v5_2_emit_copy_buffer(9)
NAME sdma_v5_2_emit_copy_buffer - copy buffer using the sDMA engine SYNOPSIS void sdma_v5_2_emit_copy_buffer (struct amdgpu_ib *ib , uint64_t src_offset , uint64_t dst_offset , uint32_t byte_count , uint32_t copy_flags ); ARGUMENTS ib indirect buffer to copy to src_offset src GPU address dst...
sdma_v5_2_emit_fill_buffer(9)
NAME sdma_v5_2_emit_fill_buffer - fill buffer using the sDMA engine SYNOPSIS void sdma_v5_2_emit_fill_buffer (struct amdgpu_ib *ib , uint32_t src_data , uint64_t dst_offset , uint32_t byte_count ); ARGUMENTS ib indirect buffer to fill src_data value to write to buffer dst_offset dst GPU a...
sdma_v5_2_enable(9)
NAME sdma_v5_2_enable - stop the async dma engines SYNOPSIS void sdma_v5_2_enable (struct amdgpu_device *adev , bool enable ); ARGUMENTS adev amdgpu_device pointer enable enable/disable the DMA MEs. DESCRIPTION Halt or unhalt the async dma engines. SEE ALSO Kernel file ./drivers/gpu/drm/...
sdma_v5_2_gfx_resume(9)
NAME sdma_v5_2_gfx_resume - setup and start the async dma engines SYNOPSIS int sdma_v5_2_gfx_resume (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set up the gfx DMA ring buffers and enable them. Returns 0 for success, error for failure. SEE ALSO Kernel file ./driver...
sdma_v5_2_gfx_resume_instance(9)
NAME sdma_v5_2_gfx_resume_instance - start/restart a certain sdma engine SYNOPSIS int sdma_v5_2_gfx_resume_instance (struct amdgpu_device *adev , int i , bool restore ); ARGUMENTS adev amdgpu_device pointer i instance restore used to restore wptr when restart DESCRIPTION Set up t...
sdma_v5_2_gfx_stop(9)
NAME sdma_v5_2_gfx_stop - stop the gfx async dma engines SYNOPSIS void sdma_v5_2_gfx_stop (struct amdgpu_device *adev , uint32_t inst_mask ); ARGUMENTS adev amdgpu_device pointer inst_mask mask of dma engine instances to be disabled Stop the gfx async dma ring buffers. SEE ALSO Kernel file ./drive...
sdma_v5_2_load_microcode(9)
NAME sdma_v5_2_load_microcode - load the sDMA ME ucode SYNOPSIS int sdma_v5_2_load_microcode (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Loads the sDMA0/1/2/3 ucode. Returns 0 for success, -EINVAL if the ucode is not available. SEE ALSO Kernel file ./drivers/gpu/d...
sdma_v5_2_ring_emit_fence(9)
NAME sdma_v5_2_ring_emit_fence - emit a fence on the DMA ring SYNOPSIS void sdma_v5_2_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 flags DE...
sdma_v5_2_ring_emit_hdp_flush(9)
NAME sdma_v5_2_ring_emit_hdp_flush - emit an hdp flush on the DMA ring SYNOPSIS void sdma_v5_2_ring_emit_hdp_flush (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Emit an hdp flush packet on the requested DMA ring. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_...
sdma_v5_2_ring_emit_ib(9)
NAME sdma_v5_2_ring_emit_ib - Schedule an IB on the DMA engine SYNOPSIS void sdma_v5_2_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 IB object to sch...
sdma_v5_2_ring_emit_mem_sync(9)
NAME sdma_v5_2_ring_emit_mem_sync - flush the IB by graphics cache rinse SYNOPSIS void sdma_v5_2_ring_emit_mem_sync (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION flush the IB by graphics cache rinse. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c sdma_...
sdma_v5_2_ring_emit_pipeline_sync(9)
NAME sdma_v5_2_ring_emit_pipeline_sync - sync the pipeline SYNOPSIS void sdma_v5_2_ring_emit_pipeline_sync (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring pointer DESCRIPTION Make sure all previous operations are completed (CIK). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c ...
sdma_v5_2_ring_emit_vm_flush(9)
NAME sdma_v5_2_ring_emit_vm_flush - vm flush using sDMA SYNOPSIS void sdma_v5_2_ring_emit_vm_flush (struct amdgpu_ring *ring , unsigned vmid , uint64_t pd_addr ); ARGUMENTS ring amdgpu_ring pointer vmid vmid number to use pd_addr address DESCRIPTION Update the page table base and fl...
sdma_v5_2_ring_get_rptr(9)
NAME sdma_v5_2_ring_get_rptr - get the current read pointer SYNOPSIS uint64_t sdma_v5_2_ring_get_rptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Get the current rptr from the hardware (NAVI10+). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c sdma_v5_2_...
sdma_v5_2_ring_get_wptr(9)
NAME sdma_v5_2_ring_get_wptr - get the current write pointer SYNOPSIS uint64_t sdma_v5_2_ring_get_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Get the current wptr from the hardware (NAVI10+). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c sdma_v5_2...
sdma_v5_2_ring_pad_ib(9)
NAME sdma_v5_2_ring_pad_ib - pad the IB SYNOPSIS void sdma_v5_2_ring_pad_ib (struct amdgpu_ring *ring , struct amdgpu_ib *ib ); ARGUMENTS ring amdgpu_ring structure holding ring information ib indirect buffer to fill with padding DESCRIPTION Pad the IB with NOPs to a boundary multiple of 8. ...
sdma_v5_2_ring_set_wptr(9)
NAME sdma_v5_2_ring_set_wptr - commit the write pointer SYNOPSIS void sdma_v5_2_ring_set_wptr (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu ring pointer DESCRIPTION Write the wptr back to the hardware (NAVI10+). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c sdma_v5_2_ring_get_rp...
sdma_v5_2_ring_test_ib(9)
NAME sdma_v5_2_ring_test_ib - test an IB on the DMA engine SYNOPSIS int sdma_v5_2_ring_test_ib (struct amdgpu_ring *ring , long timeout ); ARGUMENTS ring amdgpu_ring structure holding ring information timeout timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT DESCRIPTION Test a simple IB in the DMA...
sdma_v5_2_ring_test_ring(9)
NAME sdma_v5_2_ring_test_ring - simple async dma engine test SYNOPSIS int sdma_v5_2_ring_test_ring (struct amdgpu_ring *ring ); ARGUMENTS ring amdgpu_ring structure holding ring information DESCRIPTION Test the DMA engine by writing using it to write an value to memory. Returns 0 for success, error for failu...
sdma_v5_2_rlc_resume(9)
NAME sdma_v5_2_rlc_resume - setup and start the async dma engines SYNOPSIS int sdma_v5_2_rlc_resume (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set up the compute DMA queues and enable them. Returns 0 for success, error for failure. SEE ALSO Kernel file ./drivers/...
sdma_v5_2_rlc_stop(9)
NAME sdma_v5_2_rlc_stop - stop the compute async dma engines SYNOPSIS void sdma_v5_2_rlc_stop (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Stop the compute async dma queues. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c sdma_v5_2_ring_get_rptr(9)...
sdma_v5_2_start(9)
NAME sdma_v5_2_start - setup and start the async dma engines SYNOPSIS int sdma_v5_2_start (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Set up the DMA engines and enable them. Returns 0 for success, error for failure. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma...
sdma_v5_2_vm_copy_pte(9)
NAME sdma_v5_2_vm_copy_pte - update PTEs by copying them from the GART SYNOPSIS void sdma_v5_2_vm_copy_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t src , unsigned count ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry src src addr to copy ...
sdma_v5_2_vm_set_pte_pde(9)
NAME sdma_v5_2_vm_set_pte_pde - update the page tables using sDMA SYNOPSIS void sdma_v5_2_vm_set_pte_pde (struct amdgpu_ib *ib , uint64_t pe , uint64_t addr , unsigned count , uint32_t incr , uint64_t flags ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry ...
sdma_v5_2_vm_write_pte(9)
NAME sdma_v5_2_vm_write_pte - update PTEs by writing them manually SYNOPSIS void sdma_v5_2_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t value , unsigned count , uint32_t incr ); ARGUMENTS ib indirect buffer to fill with commands pe addr of the page entry value ds...
sdma_v6_0_ctxempty_int_enable(9)
NAME sdma_v6_0_ctxempty_int_enable - enable or disable context empty interrupts SYNOPSIS void sdma_v6_0_ctxempty_int_enable (struct amdgpu_device *adev , bool enable ); ARGUMENTS adev amdgpu_device pointer enable enable/disable context switching due to queue empty conditions DESCRIPTION Enable or...
sdma_v6_0_emit_copy_buffer(9)
NAME sdma_v6_0_emit_copy_buffer - copy buffer using the sDMA engine SYNOPSIS void sdma_v6_0_emit_copy_buffer (struct amdgpu_ib *ib , uint64_t src_offset , uint64_t dst_offset , uint32_t byte_count , uint32_t copy_flags ); ARGUMENTS ib indirect buffer to fill with commands src_offset src GPU address ...
sdma_v6_0_emit_fill_buffer(9)
NAME sdma_v6_0_emit_fill_buffer - fill buffer using the sDMA engine SYNOPSIS void sdma_v6_0_emit_fill_buffer (struct amdgpu_ib *ib , uint32_t src_data , uint64_t dst_offset , uint32_t byte_count ); ARGUMENTS ib indirect buffer to fill src_data value to write to buffer dst_offset dst GPU a...