id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
pvr_ioctl_create_context(9) | NAME pvr_ioctl_create_context - IOCTL to create a context
SYNOPSIS int pvr_ioctl_create_context (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN/OUT] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_create_c... |
pvr_ioctl_create_free_list(9) | NAME pvr_ioctl_create_free_list - IOCTL to create a free list
SYNOPSIS int pvr_ioctl_create_free_list (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN/OUT] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_cr... |
pvr_ioctl_create_hwrt_dataset(9) | NAME pvr_ioctl_create_hwrt_dataset - IOCTL to create a HWRT dataset
SYNOPSIS int pvr_ioctl_create_hwrt_dataset (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN/OUT] Arguments passed to this IOCTL. This must be of type struct drm_pvr... |
pvr_ioctl_create_vm_context(9) | NAME pvr_ioctl_create_vm_context - IOCTL to create a VM context
SYNOPSIS int pvr_ioctl_create_vm_context (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN/OUT] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl... |
pvr_ioctl_destroy_context(9) | NAME pvr_ioctl_destroy_context - IOCTL to destroy a context
SYNOPSIS int pvr_ioctl_destroy_context (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN/OUT] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_destr... |
pvr_ioctl_destroy_free_list(9) | NAME pvr_ioctl_destroy_free_list - IOCTL to destroy a free list
SYNOPSIS int pvr_ioctl_destroy_free_list (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_des... |
pvr_ioctl_destroy_hwrt_dataset(9) | NAME pvr_ioctl_destroy_hwrt_dataset - IOCTL to destroy a HWRT dataset
SYNOPSIS int pvr_ioctl_destroy_hwrt_dataset (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN] Arguments passed to this IOCTL. This must be of type struct drm_pvr_... |
pvr_ioctl_destroy_vm_context(9) | NAME pvr_ioctl_destroy_vm_context - IOCTL to destroy a VM context
SYNOPSIS int pvr_ioctl_destroy_vm_context (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_... |
pvr_ioctl_dev_query(9) | NAME pvr_ioctl_dev_query - IOCTL to copy information about a device
SYNOPSIS int pvr_ioctl_dev_query (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN/OUT] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_dev... |
pvr_ioctl_get_bo_mmap_offset(9) | NAME pvr_ioctl_get_bo_mmap_offset - IOCTL to generate a "fake" offset to be used when calling mmap() from userspace to map the given GEM buffer object
SYNOPSIS int pvr_ioctl_get_bo_mmap_offset (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device (unused).
... |
pvr_ioctl_union_padding_check(9) | NAME pvr_ioctl_union_padding_check - Validate that the implicit padding between the end of a union member and the end of the union itself is zeroed.
SYNOPSIS bool pvr_ioctl_union_padding_check (void *instance , size_t union_offset , size_t union_size , size_t member_size );
ARGUMENTS instance Pointer to the instan... |
pvr_ioctl_vm_map(9) | NAME pvr_ioctl_vm_map - IOCTL to map buffer to GPU address space.
SYNOPSIS int pvr_ioctl_vm_map (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_vm_map_args.... |
pvr_ioctl_vm_unmap(9) | NAME pvr_ioctl_vm_unmap - IOCTL to unmap buffer from GPU address space.
SYNOPSIS int pvr_ioctl_vm_unmap (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
raw_args [IN] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_vm_u... |
pvr_job_data_fini(9) | NAME pvr_job_data_fini - Cleanup all allocs used to set up job submission.
SYNOPSIS void pvr_job_data_fini (struct pvr_job_data *job_data , u32 job_count );
ARGUMENTS job_data Job data array.
job_count Number of members of job_data.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_job.c pvr_job_pu... |
pvr_job_data_init(9) | NAME pvr_job_data_init - Init an array of created jobs, associating them with the appropriate sync_ops args, which will be copied in.
SYNOPSIS int pvr_job_data_init (struct pvr_device *pvr_dev , struct pvr_file *pvr_file , struct drm_pvr_job *job_args , u32 *job_count , struct pvr_job_data *job_data_out );
ARGUMENTS ... |
pvr_job_get(9) | NAME pvr_job_get - Take additional reference on job.
SYNOPSIS struct pvr_job * pvr_job_get (struct pvr_job *job );
ARGUMENTS job Job pointer.
DESCRIPTION Call pvr_job_put to release.
RETURN * The requested job on success, or * NULL if no job pointer passed.
SEE ALSO Kernel file ./drivers/gpu/drm/imaginatio... |
pvr_job_get_pm_ref(9) | NAME pvr_job_get_pm_ref - Get a PM ref and attach it to the job.
SYNOPSIS int pvr_job_get_pm_ref (struct pvr_job *job );
ARGUMENTS job The job to attach the PM ref to.
RETURN * 0 on success, or * Any error returned by pvr_power_get otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_job.h pvr_... |
pvr_job_process_stream(9) | NAME pvr_job_process_stream - Build job FW structure from stream
SYNOPSIS int pvr_job_process_stream (struct pvr_device *pvr_dev , const struct pvr_stream_cmd_defs *cmd_defs , void *stream , u32 stream_size , struct pvr_job *job );
ARGUMENTS pvr_dev Device pointer.
cmd_defs Stream definition.
s... |
pvr_job_put(9) | NAME pvr_job_put - Release reference on job
SYNOPSIS void pvr_job_put (struct pvr_job *job );
ARGUMENTS job Target job.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_job.c pvr_job_process_stream(9), struct pvr_job_data(9), prepare_job_syncs(9), prepare_job_syncs_for_each(9), pvr_job_data_fini(9), pv... |
pvr_job_release_pm_ref(9) | NAME pvr_job_release_pm_ref - Release the PM ref if the job acquired it.
SYNOPSIS void pvr_job_release_pm_ref (struct pvr_job *job );
ARGUMENTS job The job to release the PM ref on.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_job.h pvr_job_get(9), pvr_job_get_pm_ref(9)
April 2026 ... |
pvr_kccb_capacity(9) | NAME pvr_kccb_capacity - Returns the maximum number of usable KCCB slots.
SYNOPSIS u32 pvr_kccb_capacity (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device
RETURN * The maximum number of active slots.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_ccb.c pvr_ccb_init(9), pvr_ccb_f... |
pvr_kccb_fence_alloc(9) | NAME pvr_kccb_fence_alloc - Allocate a pvr_kccb_fence object
SYNOPSIS struct dma_fence * pvr_kccb_fence_alloc (void );
ARGUMENTS void no arguments
RETURN * NULL if the allocation fails, or * A valid dma_fence pointer otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_ccb.c pvr_ccb_init(9), pvr... |
pvr_kccb_fence_put(9) | NAME pvr_kccb_fence_put - Drop a KCCB fence reference
SYNOPSIS void pvr_kccb_fence_put (struct dma_fence *fence );
ARGUMENTS fence The fence to drop the reference on.
DESCRIPTION If the fence hasn't been initialized yet, dma_fence_free is called. This way we have a single function taking care of both cases.
S... |
pvr_kccb_fini(9) | NAME pvr_kccb_fini - Cleanup device KCCB
SYNOPSIS void pvr_kccb_fini (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_ccb.c pvr_ccb_init(9), pvr_ccb_fini(9), pvr_ccb_slot_available_locked(9), pvr_fwccb_process(9), pvr_kccb_capacity(9), ... |
pvr_kccb_init(9) | NAME pvr_kccb_init - Initialise device KCCB
SYNOPSIS int pvr_kccb_init (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device
RETURN * 0 on success, or * Any error returned by pvr_ccb_init.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_ccb.c pvr_ccb_init(9), pvr_ccb_fini(9), pvr_ccb_slo... |
pvr_kccb_is_idle(9) | NAME pvr_kccb_is_idle - Returns whether the device's KCCB is idle
SYNOPSIS bool pvr_kccb_is_idle (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Device pointer
RETURN * true if the KCCB is idle (contains no commands), or * false if the KCCB contains pending commands.
SEE ALSO Kernel file ./drivers/gpu/drm/imag... |
pvr_kccb_release_slot(9) | NAME pvr_kccb_release_slot - Release a KCCB slot reserved with pvr_kccb_reserve_slot()
SYNOPSIS void pvr_kccb_release_slot (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device
DESCRIPTION Should only be called if something failed after the pvr_kccb_reserve_slot call and you know you won't call ... |
pvr_kccb_reserve_slot(9) | NAME pvr_kccb_reserve_slot - Reserve a KCCB slot for later use
SYNOPSIS struct dma_fence * pvr_kccb_reserve_slot (struct pvr_device *pvr_dev , struct dma_fence *f );
ARGUMENTS pvr_dev Target PowerVR device
f KCCB fence object previously allocated with pvr_kccb_fence_alloc
DESCRIPTION Try to r... |
pvr_kccb_reserve_slot_sync(9) | NAME pvr_kccb_reserve_slot_sync - Try to reserve a slot synchronously
SYNOPSIS int pvr_kccb_reserve_slot_sync (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Device pointer.
RETURN * 0 on success, or * -EBUSY if no slots were reserved after RESERVE_SLOT_TIMEOUT, with a minimum of RESERVE_SLOT_MIN_RETRIES retrie... |
pvr_kccb_send_cmd(9) | NAME pvr_kccb_send_cmd - Send command to the KCCB
SYNOPSIS int pvr_kccb_send_cmd (struct pvr_device *pvr_dev , struct rogue_fwif_kccb_cmd *cmd , u32 *kccb_slot );
ARGUMENTS pvr_dev Device pointer.
cmd Command to sent.
kccb_slot Address to store the KCCB slot for this command. May be NULL... |
pvr_kccb_send_cmd_powered(9) | NAME pvr_kccb_send_cmd_powered - Send command to the KCCB, with a PM ref held
SYNOPSIS int pvr_kccb_send_cmd_powered (struct pvr_device *pvr_dev , struct rogue_fwif_kccb_cmd *cmd , u32 *kccb_slot );
ARGUMENTS pvr_dev Device pointer.
cmd Command to sent.
kccb_slot Address to store the KCC... |
pvr_kccb_send_cmd_reserved_powered(9) | NAME pvr_kccb_send_cmd_reserved_powered - Send command to the KCCB, with the PM ref held and a slot pre-reserved
SYNOPSIS void pvr_kccb_send_cmd_reserved_powered (struct pvr_device *pvr_dev , struct rogue_fwif_kccb_cmd *cmd , u32 *kccb_slot );
ARGUMENTS pvr_dev Device pointer.
cmd Command to sent.... |
pvr_kccb_try_reserve_slot(9) | NAME pvr_kccb_try_reserve_slot - Try to reserve a KCCB slot
SYNOPSIS bool pvr_kccb_try_reserve_slot (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Device pointer.
RETURN * true if a KCCB slot was reserved, or * false otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_ccb.c pvr_ccb_init(9), pvr_... |
pvr_kccb_used_slot_count_locked(9) | NAME pvr_kccb_used_slot_count_locked - Get the number of used slots
SYNOPSIS u32 pvr_kccb_used_slot_count_locked (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Device pointer.
DESCRIPTION KCCB lock must be held.
RETURN * The number of slots currently used.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination... |
pvr_kccb_wait_for_completion(9) | NAME pvr_kccb_wait_for_completion - Wait for a KCCB command to complete
SYNOPSIS int pvr_kccb_wait_for_completion (struct pvr_device *pvr_dev , u32 slot_nr , u32 timeout , u32 *rtn_out );
ARGUMENTS pvr_dev Device pointer.
slot_nr KCCB slot to wait on.
timeout Timeout length (in jiffies).
... |
pvr_kccb_wake_up_waiters(9) | NAME pvr_kccb_wake_up_waiters - Check the KCCB waiters
SYNOPSIS void pvr_kccb_wake_up_waiters (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device
DESCRIPTION Signal as many KCCB fences as we have slots available.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_ccb.c pvr_ccb_init(9), pv... |
pvr_load_gpu_id(9) | NAME pvr_load_gpu_id - Load a PowerVR device's GPU ID (BVNC) from control registers or input parameter. The input parameter is processed instead of the GPU register if provided.
SYNOPSIS int pvr_load_gpu_id (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
DESCRIPTION Sets the arch field of... |
pvr_meta_cr_read32(9) | NAME pvr_meta_cr_read32 - Read a META register via the Slave Port
SYNOPSIS int pvr_meta_cr_read32 (struct pvr_device *pvr_dev , u32 reg_addr , u32 *reg_value_out );
ARGUMENTS pvr_dev Device pointer.
reg_addr Address of register to read.
reg_value_out
Pointer to location to st... |
pvr_mmu_backing_page_fini(9) | NAME pvr_mmu_backing_page_fini - Teardown a MMU backing page.
SYNOPSIS void pvr_mmu_backing_page_fini (struct pvr_mmu_backing_page *page );
ARGUMENTS page Target backing page.
DESCRIPTION This function performs the mirror operations to pvr_mmu_backing_page_init, in reverse order: 1. Unmap the page from DMA-... |
pvr_mmu_backing_page_init(9) | NAME pvr_mmu_backing_page_init - Initialize a MMU backing page.
SYNOPSIS int pvr_mmu_backing_page_init (struct pvr_mmu_backing_page *page , struct pvr_device *pvr_dev );
ARGUMENTS page Target backing page.
pvr_dev Target PowerVR device.
DESCRIPTION This function performs three distinct operations... |
pvr_mmu_backing_page_sync(9) | NAME pvr_mmu_backing_page_sync - Flush a MMU backing page from the CPU to the device.
SYNOPSIS void pvr_mmu_backing_page_sync (struct pvr_mmu_backing_page *page , u32 flags );
ARGUMENTS page Target backing page.
flags MMU flush flags. Must be one of PVR_MMU_SYNC_LEVEL_*_FLAGS.
DESCRIPTION .. cau... |
pvr_mmu_context_create(9) | NAME pvr_mmu_context_create - Create an MMU context.
SYNOPSIS struct pvr_mmu_context * pvr_mmu_context_create (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev PVR device associated with owning VM context.
RETURN * Newly created MMU context object on success, or * -ENOMEM if no memory is available, * Any error co... |
pvr_mmu_context_destroy(9) | NAME pvr_mmu_context_destroy - Destroy an MMU context.
SYNOPSIS void pvr_mmu_context_destroy (struct pvr_mmu_context *ctx );
ARGUMENTS ctx Target MMU context.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_mmu.c pvr_mmu_set_flush_flags(9), pvr_mmu_flush_request_all(9), pvr_mmu_flush_exec(9), Ke... |
pvr_mmu_flush_exec(9) | NAME pvr_mmu_flush_exec - Execute a flush of all MMU caches previously requested.
SYNOPSIS int pvr_mmu_flush_exec (struct pvr_device *pvr_dev , bool wait );
ARGUMENTS pvr_dev Target PowerVR device.
wait Do not return until the flush is completed.
DESCRIPTION This function must be called prior to ... |
pvr_mmu_flush_request_all(9) | NAME pvr_mmu_flush_request_all - Request flush of all MMU caches when subsequently calling pvr_mmu_flush_exec().
SYNOPSIS void pvr_mmu_flush_request_all (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
DESCRIPTION This function must be called following any possible change to the MMU page t... |
pvr_mmu_get_root_table_dma_addr(9) | NAME pvr_mmu_get_root_table_dma_addr - Get the DMA address of the root of the page table structure behind a VM context.
SYNOPSIS dma_addr_t pvr_mmu_get_root_table_dma_addr (struct pvr_mmu_context *ctx );
ARGUMENTS ctx Target MMU context.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_mmu.c pvr_mmu... |
pvr_mmu_map(9) | NAME pvr_mmu_map - Map an object's virtual memory to physical memory.
SYNOPSIS int pvr_mmu_map (struct pvr_mmu_op_context *op_ctx , u64 size , u64 flags , u64 device_addr );
ARGUMENTS op_ctx Target MMU op context.
size Size of memory to be mapped in bytes. Must be a non-zero multiple of the device... |
pvr_mmu_map_sgl(9) | NAME pvr_mmu_map_sgl - Map part of a scatter-gather table entry to device-virtual memory.
SYNOPSIS int pvr_mmu_map_sgl (struct pvr_mmu_op_context *op_ctx , struct scatterlist *sgl , u64 offset , u64 size , struct pvr_page_flags_raw page_flags );
ARGUMENTS op_ctx Target MMU op context pointing to the first page t... |
pvr_mmu_op_context_create(9) | NAME pvr_mmu_op_context_create - Create an MMU op context.
SYNOPSIS struct pvr_mmu_op_context * pvr_mmu_op_context_create (struct pvr_mmu_context *ctx , struct sg_table *sgt , u64 sgt_offset , u64 size );
ARGUMENTS ctx MMU context associated with owning VM context.
sgt Scatter gather table con... |
pvr_mmu_op_context_destroy(9) | NAME pvr_mmu_op_context_destroy - Destroy an MMU op context.
SYNOPSIS void pvr_mmu_op_context_destroy (struct pvr_mmu_op_context *op_ctx );
ARGUMENTS op_ctx Target MMU op context.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_mmu.c pvr_mmu_set_flush_flags(9), pvr_mmu_flush_request_all(9), pvr_mmu_... |
pvr_mmu_op_context_load_tables(9) | NAME pvr_mmu_op_context_load_tables - Load pointers to tables in each level of the page table tree structure needed to reference the physical page referenced by a MMU op context.
SYNOPSIS int pvr_mmu_op_context_load_tables (struct pvr_mmu_op_context *op_ctx , bool should_create , enum pvr_mmu_sync_level load_level_req... |
pvr_mmu_op_context_next_page(9) | NAME pvr_mmu_op_context_next_page - Advance the current page of an MMU op context.
SYNOPSIS int pvr_mmu_op_context_next_page (struct pvr_mmu_op_context *op_ctx , bool should_create );
ARGUMENTS op_ctx Target MMU op context.
should_create
Specify whether new page tables should be create... |
pvr_mmu_op_context_require_sync(9) | NAME pvr_mmu_op_context_require_sync - Mark an MMU op context as requiring a sync operation for the referenced page tables up to a specified level.
SYNOPSIS void pvr_mmu_op_context_require_sync (struct pvr_mmu_op_context *op_ctx , enum pvr_mmu_sync_level level );
ARGUMENTS op_ctx Target MMU op context.
l... |
pvr_mmu_op_context_set_curr_page(9) | NAME pvr_mmu_op_context_set_curr_page - Reassign the current page of an MMU op context, syncing any page tables previously assigned to it which are no longer relevant.
SYNOPSIS int pvr_mmu_op_context_set_curr_page (struct pvr_mmu_op_context *op_ctx , u64 device_addr , bool should_create );
ARGUMENTS op_ctx Targe... |
pvr_mmu_op_context_sync(9) | NAME pvr_mmu_op_context_sync - Trigger a sync of every page table referenced by a MMU op context.
SYNOPSIS void pvr_mmu_op_context_sync (struct pvr_mmu_op_context *op_ctx );
ARGUMENTS op_ctx Target MMU op context.
DESCRIPTION The maximum level marked internally as requiring a sync will be reset so that subseque... |
pvr_mmu_op_context_sync_manual(9) | NAME pvr_mmu_op_context_sync_manual - Trigger a sync of some or all of the page tables referenced by a MMU op context.
SYNOPSIS void pvr_mmu_op_context_sync_manual (struct pvr_mmu_op_context *op_ctx , enum pvr_mmu_sync_level level );
ARGUMENTS op_ctx Target MMU op context.
level Maximum page table ... |
pvr_mmu_op_context_sync_partial(9) | NAME pvr_mmu_op_context_sync_partial - Trigger a sync of some or all of the page tables referenced by a MMU op context.
SYNOPSIS void pvr_mmu_op_context_sync_partial (struct pvr_mmu_op_context *op_ctx , enum pvr_mmu_sync_level level );
ARGUMENTS op_ctx Target MMU op context.
level Requested page ta... |
pvr_mmu_op_context_unmap_curr_page(9) | NAME pvr_mmu_op_context_unmap_curr_page - Unmap pages from a memory context starting from the current page of an MMU op context.
SYNOPSIS int pvr_mmu_op_context_unmap_curr_page (struct pvr_mmu_op_context *op_ctx , u64 nr_pages );
ARGUMENTS op_ctx Target MMU op context pointing at the first page to unmap.
... |
pvr_mmu_set_flush_flags(9) | NAME pvr_mmu_set_flush_flags - Set MMU cache flush flags for next call to pvr_mmu_flush_exec().
SYNOPSIS void pvr_mmu_set_flush_flags (struct pvr_device *pvr_dev , u32 flags );
ARGUMENTS pvr_dev Target PowerVR device.
flags MMU flush flags. Must be one of PVR_MMU_SYNC_LEVEL_*_FLAGS.
DESCRIPTION Thi... |
pvr_mmu_unmap(9) | NAME pvr_mmu_unmap - Unmap pages from a memory context.
SYNOPSIS int pvr_mmu_unmap (struct pvr_mmu_op_context *op_ctx , u64 device_addr , u64 size );
ARGUMENTS op_ctx Target MMU op context.
device_addr First device-virtual address to unmap.
size Size in bytes to unmap.
DESCRIPTION The tot... |
pvr_page_create(9) | NAME pvr_page_create - Create a device-virtual memory page and insert it into a level 0 page table.
SYNOPSIS int pvr_page_create (struct pvr_mmu_op_context *op_ctx , dma_addr_t dma_addr , struct pvr_page_flags_raw flags );
ARGUMENTS op_ctx Target MMU op context pointing at the device-virtual address of the targe... |
pvr_page_destroy(9) | NAME pvr_page_destroy - Destroy a device page after removing it from its parent level 0 page table.
SYNOPSIS void pvr_page_destroy (struct pvr_mmu_op_context *op_ctx );
ARGUMENTS op_ctx Target MMU op context.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_mmu.c pvr_mmu_set_flush_flags(9), pvr_mmu_fl... |
pvr_page_flags_raw_create(9) | NAME pvr_page_flags_raw_create - Initialize the flag bits of a raw level 0 page table entry.
SYNOPSIS struct pvr_page_flags_raw pvr_page_flags_raw_create (bool read_only , bool cache_coherent , bool slc_bypass , bool pm_fw_protect );
ARGUMENTS read_only This page is read-only (see: Read Only).
cache_coheren... |
pvr_page_table_l0_alloc(9) | NAME pvr_page_table_l0_alloc - Allocate a l0 page_table object.
SYNOPSIS struct pvr_page_table_l0 * pvr_page_table_l0_alloc (struct pvr_mmu_context *ctx );
ARGUMENTS ctx MMU context of owning VM context.
RETURN * Newly created page table object on success, or * -ENOMEM if no memory is available, * Any error ... |
pvr_page_table_l0_entry_is_valid(9) | NAME pvr_page_table_l0_entry_is_valid - Check if a level 0 page table entry is marked as valid.
SYNOPSIS bool pvr_page_table_l0_entry_is_valid (struct pvr_page_table_l0 *table , u16 idx );
ARGUMENTS table Target level 0 page table.
idx Index of the entry to check.
DESCRIPTION The value of idx i... |
pvr_page_table_l0_entry_raw_set(9) | NAME pvr_page_table_l0_entry_raw_set - Write a valid entry into a raw level 0 page table.
SYNOPSIS void pvr_page_table_l0_entry_raw_set (struct pvr_page_table_l0_entry_raw *entry , dma_addr_t dma_addr , struct pvr_page_flags_raw flags );
ARGUMENTS entry Target raw level 0 page table entry.
dma_addr D... |
pvr_page_table_l0_free(9) | NAME pvr_page_table_l0_free - Teardown a level 0 page table.
SYNOPSIS void pvr_page_table_l0_free (struct pvr_page_table_l0 *table );
ARGUMENTS table Target level 0 page table.
DESCRIPTION It is an error to attempt to use table after calling this function, even indirectly. This includes calling pvr_page_table_... |
pvr_page_table_l0_get_entry_raw(9) | NAME pvr_page_table_l0_get_entry_raw - Access an entry from the raw equivalent of a mirror level 0 page table.
SYNOPSIS struct pvr_page_table_l0_entry_raw * pvr_page_table_l0_get_entry_raw (struct pvr_page_table_l0 *table , u16 idx );
ARGUMENTS table Target level 0 page table.
idx Index of the e... |
pvr_page_table_l0_get_or_insert(9) | NAME pvr_page_table_l0_get_or_insert - Retrieves (optionally inserting if necessary) a level 0 page table from the specified level 1 page table entry.
SYNOPSIS int pvr_page_table_l0_get_or_insert (struct pvr_mmu_op_context *op_ctx , bool should_insert );
ARGUMENTS op_ctx Target MMU op context.
should_ins... |
pvr_page_table_l0_get_raw(9) | NAME pvr_page_table_l0_get_raw - Access the raw equivalent of a mirror level 0 page table.
SYNOPSIS struct pvr_page_table_l0_raw * pvr_page_table_l0_get_raw (struct pvr_page_table_l0 *table );
ARGUMENTS table Target level 0 page table.
DESCRIPTION Essentially returns the CPU address of the raw equivalent of ta... |
pvr_page_table_l0_idx(9) | NAME pvr_page_table_l0_idx - Calculate the level 0 page table index for a device-virtual address.
SYNOPSIS u16 pvr_page_table_l0_idx (u64 device_addr );
ARGUMENTS device_addr Target device-virtual address.
DESCRIPTION This function does not perform any bounds checking - it is the caller's responsibility to ensure th... |
pvr_page_table_l0_init(9) | NAME pvr_page_table_l0_init - Initialize a level 0 page table.
SYNOPSIS int pvr_page_table_l0_init (struct pvr_page_table_l0 *table , struct pvr_device *pvr_dev );
ARGUMENTS table Target level 0 page table.
pvr_dev Target PowerVR device
DESCRIPTION When this function returns successfully, table is... |
pvr_page_table_l0_insert(9) | NAME pvr_page_table_l0_insert - Insert an entry referring to a physical page into a level 0 page table.
SYNOPSIS void pvr_page_table_l0_insert (struct pvr_mmu_op_context *op_ctx , dma_addr_t dma_addr , struct pvr_page_flags_raw flags );
ARGUMENTS op_ctx Target MMU op context pointing at the L0 entry to insert.
... |
pvr_page_table_l0_remove(9) | NAME pvr_page_table_l0_remove - Remove a physical page from a level 0 page table.
SYNOPSIS void pvr_page_table_l0_remove (struct pvr_mmu_op_context *op_ctx );
ARGUMENTS op_ctx Target MMU op context pointing at the L0 entry to remove.
DESCRIPTION If this function results in the L0 table becoming empty, it will b... |
pvr_page_table_l0_sync(9) | NAME pvr_page_table_l0_sync - Flush a level 0 page table from the CPU to the device.
SYNOPSIS void pvr_page_table_l0_sync (struct pvr_page_table_l0 *table );
ARGUMENTS table Target level 0 page table.
DESCRIPTION This is just a thin wrapper around pvr_mmu_backing_page_sync, so the warning there applies here ... |
pvr_page_table_l1_alloc(9) | NAME pvr_page_table_l1_alloc - Allocate a l1 page_table object.
SYNOPSIS struct pvr_page_table_l1 * pvr_page_table_l1_alloc (struct pvr_mmu_context *ctx );
ARGUMENTS ctx MMU context of owning VM context.
RETURN * Newly created page table object on success, or * -ENOMEM if no memory is available, * Any error ... |
pvr_page_table_l1_entry_is_valid(9) | NAME pvr_page_table_l1_entry_is_valid - Check if a level 1 page table entry is marked as valid.
SYNOPSIS bool pvr_page_table_l1_entry_is_valid (struct pvr_page_table_l1 *table , u16 idx );
ARGUMENTS table Target level 1 page table.
idx Index of the entry to check.
DESCRIPTION The value of idx i... |
pvr_page_table_l1_entry_raw_set(9) | NAME pvr_page_table_l1_entry_raw_set - Write a valid entry into a raw level 1 page table.
SYNOPSIS void pvr_page_table_l1_entry_raw_set (struct pvr_page_table_l1_entry_raw *entry , dma_addr_t child_table_dma_addr );
ARGUMENTS entry Target raw level 1 page table entry.
child_table_dma_addr
... |
pvr_page_table_l1_free(9) | NAME pvr_page_table_l1_free - Teardown a level 1 page table.
SYNOPSIS void pvr_page_table_l1_free (struct pvr_page_table_l1 *table );
ARGUMENTS table Target level 1 page table.
DESCRIPTION It is an error to attempt to use table after calling this function, even indirectly. This includes calling pvr_page_table_... |
pvr_page_table_l1_get_entry_raw(9) | NAME pvr_page_table_l1_get_entry_raw - Access an entry from the raw equivalent of a mirror level 1 page table.
SYNOPSIS struct pvr_page_table_l1_entry_raw * pvr_page_table_l1_get_entry_raw (struct pvr_page_table_l1 *table , u16 idx );
ARGUMENTS table Target level 1 page table.
idx Index of the e... |
pvr_page_table_l1_get_or_insert(9) | NAME pvr_page_table_l1_get_or_insert - Retrieves (optionally inserting if necessary) a level 1 page table from the specified level 2 page table entry.
SYNOPSIS int pvr_page_table_l1_get_or_insert (struct pvr_mmu_op_context *op_ctx , bool should_insert );
ARGUMENTS op_ctx Target MMU op context.
should_ins... |
pvr_page_table_l1_get_raw(9) | NAME pvr_page_table_l1_get_raw - Access the raw equivalent of a mirror level 1 page table.
SYNOPSIS struct pvr_page_table_l1_raw * pvr_page_table_l1_get_raw (struct pvr_page_table_l1 *table );
ARGUMENTS table Target level 1 page table.
DESCRIPTION Essentially returns the CPU address of the raw equivalent of ta... |
pvr_page_table_l1_idx(9) | NAME pvr_page_table_l1_idx - Calculate the level 1 page table index for a device-virtual address.
SYNOPSIS u16 pvr_page_table_l1_idx (u64 device_addr );
ARGUMENTS device_addr Target device-virtual address.
DESCRIPTION This function does not perform any bounds checking - it is the caller's responsibility to ensure th... |
pvr_page_table_l1_init(9) | NAME pvr_page_table_l1_init - Initialize a level 1 page table.
SYNOPSIS int pvr_page_table_l1_init (struct pvr_page_table_l1 *table , struct pvr_device *pvr_dev );
ARGUMENTS table Target level 1 page table.
pvr_dev Target PowerVR device
DESCRIPTION When this function returns successfully, table ... |
pvr_page_table_l1_insert(9) | NAME pvr_page_table_l1_insert - Insert an entry referring to a level 0 page table into a level 1 page table.
SYNOPSIS void pvr_page_table_l1_insert (struct pvr_mmu_op_context *op_ctx , struct pvr_page_table_l0 *child_table );
ARGUMENTS op_ctx Target MMU op context pointing at the entry to insert the L0 page tabl... |
pvr_page_table_l1_remove(9) | NAME pvr_page_table_l1_remove - Remove a level 0 page table from a level 1 page table.
SYNOPSIS void pvr_page_table_l1_remove (struct pvr_mmu_op_context *op_ctx );
ARGUMENTS op_ctx Target MMU op context pointing at the L1 entry to remove.
DESCRIPTION If this function results in the L1 table becoming empty, it w... |
pvr_page_table_l1_sync(9) | NAME pvr_page_table_l1_sync - Flush a level 1 page table from the CPU to the device.
SYNOPSIS void pvr_page_table_l1_sync (struct pvr_page_table_l1 *table );
ARGUMENTS table Target level 1 page table.
DESCRIPTION This is just a thin wrapper around pvr_mmu_backing_page_sync, so the warning there applies here ... |
pvr_page_table_l2_entry_is_valid(9) | NAME pvr_page_table_l2_entry_is_valid - Check if a level 2 page table entry is marked as valid.
SYNOPSIS bool pvr_page_table_l2_entry_is_valid (struct pvr_page_table_l2 *table , u16 idx );
ARGUMENTS table Target level 2 page table.
idx Index of the entry to check.
DESCRIPTION The value of idx i... |
pvr_page_table_l2_entry_raw_set(9) | NAME pvr_page_table_l2_entry_raw_set - Write a valid entry into a raw level 2 page table.
SYNOPSIS void pvr_page_table_l2_entry_raw_set (struct pvr_page_table_l2_entry_raw *entry , dma_addr_t child_table_dma_addr );
ARGUMENTS entry Target raw level 2 page table entry.
child_table_dma_addr
... |
pvr_page_table_l2_fini(9) | NAME pvr_page_table_l2_fini - Teardown a level 2 page table.
SYNOPSIS void pvr_page_table_l2_fini (struct pvr_page_table_l2 *table );
ARGUMENTS table Target level 2 page table.
DESCRIPTION It is an error to attempt to use table after calling this function.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/... |
pvr_page_table_l2_get_entry_raw(9) | NAME pvr_page_table_l2_get_entry_raw - Access an entry from the raw equivalent of a mirror level 2 page table.
SYNOPSIS struct pvr_page_table_l2_entry_raw * pvr_page_table_l2_get_entry_raw (struct pvr_page_table_l2 *table , u16 idx );
ARGUMENTS table Target level 2 page table.
idx Index of the e... |
pvr_page_table_l2_get_raw(9) | NAME pvr_page_table_l2_get_raw - Access the raw equivalent of a mirror level 2 page table.
SYNOPSIS struct pvr_page_table_l2_raw * pvr_page_table_l2_get_raw (struct pvr_page_table_l2 *table );
ARGUMENTS table Target level 2 page table.
DESCRIPTION Essentially returns the CPU address of the raw equivalent of ta... |
pvr_page_table_l2_idx(9) | NAME pvr_page_table_l2_idx - Calculate the level 2 page table index for a device-virtual address.
SYNOPSIS u16 pvr_page_table_l2_idx (u64 device_addr );
ARGUMENTS device_addr Target device-virtual address.
DESCRIPTION This function does not perform any bounds checking - it is the caller's responsibility to ensure th... |
pvr_page_table_l2_init(9) | NAME pvr_page_table_l2_init - Initialize a level 2 page table.
SYNOPSIS int pvr_page_table_l2_init (struct pvr_page_table_l2 *table , struct pvr_device *pvr_dev );
ARGUMENTS table Target level 2 page table.
pvr_dev Target PowerVR device
DESCRIPTION It is expected that table be zeroed (e.g. from kza... |
pvr_page_table_l2_insert(9) | NAME pvr_page_table_l2_insert - Insert an entry referring to a level 1 page table into a level 2 page table.
SYNOPSIS void pvr_page_table_l2_insert (struct pvr_mmu_op_context *op_ctx , struct pvr_page_table_l1 *child_table );
ARGUMENTS op_ctx Target MMU op context pointing at the entry to insert the L1 page tabl... |
pvr_page_table_l2_remove(9) | NAME pvr_page_table_l2_remove - Remove a level 1 page table from a level 2 page table.
SYNOPSIS void pvr_page_table_l2_remove (struct pvr_mmu_op_context *op_ctx );
ARGUMENTS op_ctx Target MMU op context pointing at the L2 entry to remove.
DESCRIPTION It is the caller's responsibility to ensure op_ctx.curr_page ... |
pvr_page_table_l2_sync(9) | NAME pvr_page_table_l2_sync - Flush a level 2 page table from the CPU to the device.
SYNOPSIS void pvr_page_table_l2_sync (struct pvr_page_table_l2 *table );
ARGUMENTS table Target level 2 page table.
DESCRIPTION This is just a thin wrapper around pvr_mmu_backing_page_sync, so the warning there applies here ... |
pvr_power_get_clear(9) | NAME pvr_power_get_clear - Acquire a power reference, correcting any errors
SYNOPSIS int pvr_power_get_clear (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Device pointer
DESCRIPTION Attempt to acquire a power reference on the device. If the runtime PM is in error state, attempt to clear the error and retry.
... |
pvr_power_reset(9) | NAME pvr_power_reset - Reset the GPU
SYNOPSIS int pvr_power_reset (struct pvr_device *pvr_dev , bool hard_reset );
ARGUMENTS pvr_dev Device pointer
hard_reset true for hard reset, false for soft reset
DESCRIPTION If hard_reset is false and the FW processor fails to respond during the reset process, this... |
pvr_queue_cccb_fence_init(9) | NAME pvr_queue_cccb_fence_init - Initializes a CCCB fence object.
SYNOPSIS void pvr_queue_cccb_fence_init (struct dma_fence *fence , struct pvr_queue *queue );
ARGUMENTS fence The fence to initialize.
queue The queue this fence belongs to.
DESCRIPTION Initializes a fence that can be used to wait ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.