id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
pvr_ccb_init(9) | NAME pvr_ccb_init - Initialise a CCB
SYNOPSIS int pvr_ccb_init (struct pvr_device *pvr_dev , struct pvr_ccb *pvr_ccb , u32 num_cmds_log2 , size_t cmd_size );
ARGUMENTS pvr_dev Device pointer.
pvr_ccb Pointer to CCB structure to initialise.
num_cmds_log2
Log2 of number of com... |
pvr_ccb_slot_available_locked(9) | NAME pvr_ccb_slot_available_locked - Test whether any slots are available in CCB
SYNOPSIS bool pvr_ccb_slot_available_locked (struct pvr_ccb *pvr_ccb , u32 *write_offset );
ARGUMENTS pvr_ccb CCB to test.
write_offset
Address to store number of next available slot. May be NULL.
DESCRIPT... |
pvr_cccb_cmdseq_can_fit(9) | NAME pvr_cccb_cmdseq_can_fit - Check if a command sequence can fit in the CCCB.
SYNOPSIS bool pvr_cccb_cmdseq_can_fit (struct pvr_cccb *pvr_cccb , size_t size );
ARGUMENTS pvr_cccb Target Client CCB.
size Command sequence size.
RETURN * true it the CCCB is big enough to contain a command sequence, ... |
pvr_cccb_cmdseq_fits(9) | NAME pvr_cccb_cmdseq_fits - Check if a command sequence fits in the CCCB
SYNOPSIS bool pvr_cccb_cmdseq_fits (struct pvr_cccb *pvr_cccb , size_t size );
ARGUMENTS pvr_cccb Target Client CCB.
size Size of the command sequence.
DESCRIPTION Check if a command sequence fits in the CCCB we have at hand.
... |
pvr_cccb_fini(9) | NAME pvr_cccb_fini - Release Client CCB structure
SYNOPSIS void pvr_cccb_fini (struct pvr_cccb *pvr_cccb );
ARGUMENTS pvr_cccb Client CCB to release.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_cccb.c pvr_cccb_init(9), pvr_cccb_cmdseq_fits(9), pvr_cccb_write_command_with_header(9), pvr_cccb_send_kccb_k... |
pvr_cccb_get_size_of_cmd_with_hdr(9) | NAME pvr_cccb_get_size_of_cmd_with_hdr - Get the size of a command and its header.
SYNOPSIS u32 pvr_cccb_get_size_of_cmd_with_hdr (u32 cmd_size );
ARGUMENTS cmd_size Command size.
DESCRIPTION Returns the size of the command and its header.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_cccb.h pvr_cccb_cm... |
pvr_cccb_init(9) | NAME pvr_cccb_init - Initialise a Client CCB
SYNOPSIS int pvr_cccb_init (struct pvr_device *pvr_dev , struct pvr_cccb *pvr_cccb , u32 size_log2 , const char *name );
ARGUMENTS pvr_dev Device pointer.
pvr_cccb Pointer to Client CCB structure to initialise.
size_log2 Log2 size of Client CCB in ... |
pvr_cccb_send_kccb_kick(9) | NAME pvr_cccb_send_kccb_kick - Send KCCB kick to trigger command processing
SYNOPSIS void pvr_cccb_send_kccb_kick (struct pvr_device *pvr_dev , struct pvr_cccb *pvr_cccb , u32 cctx_fw_addr , struct pvr_hwrt_data *hwrt );
ARGUMENTS pvr_dev Device pointer.
pvr_cccb Pointer to CCCB to process.
cct... |
pvr_cccb_write_command_with_header(9) | NAME pvr_cccb_write_command_with_header - Write a command + command header to a Client CCB
SYNOPSIS void pvr_cccb_write_command_with_header (struct pvr_cccb *pvr_cccb , u32 cmd_type , u32 cmd_size , void *cmd_data , u32 ext_job_ref , u32 int_job_ref );
ARGUMENTS pvr_cccb Target Client CCB.
cmd_type Clie... |
pvr_context_create(9) | NAME pvr_context_create - Create a context.
SYNOPSIS int pvr_context_create (struct pvr_file *pvr_file , struct drm_pvr_ioctl_create_context_args *args );
ARGUMENTS pvr_file File to attach the created context to.
args Context creation arguments.
RETURN * 0 on success, or * A negative error code on ... |
pvr_context_create_queues(9) | NAME pvr_context_create_queues - Create all queues attached to a context.
SYNOPSIS int pvr_context_create_queues (struct pvr_context *ctx , struct drm_pvr_ioctl_create_context_args *args , void *fw_ctx_map );
ARGUMENTS ctx Context to create queues on.
args Context creation arguments passed by u... |
pvr_context_destroy(9) | NAME pvr_context_destroy - Destroy context
SYNOPSIS int pvr_context_destroy (struct pvr_file *pvr_file , u32 handle );
ARGUMENTS pvr_file Pointer to pvr_file structure.
handle Userspace context handle.
DESCRIPTION Removes context from context list and drops initial reference. Context will then be des... |
pvr_context_destroy_queues(9) | NAME pvr_context_destroy_queues - Destroy all queues attached to a context.
SYNOPSIS void pvr_context_destroy_queues (struct pvr_context *ctx );
ARGUMENTS ctx Context to destroy queues on.
DESCRIPTION Should be called when the last reference to a context object is dropped. It releases all resources attached... |
pvr_context_device_fini(9) | NAME pvr_context_device_fini - Device level cleanup for queue related resources.
SYNOPSIS void pvr_context_device_fini (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev The device to cleanup.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_context.c pvr_context_destroy_queues(9), pvr_context_create_queue... |
pvr_context_device_init(9) | NAME pvr_context_device_init - Device level initialization for queue related resources.
SYNOPSIS void pvr_context_device_init (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev The device to initialize.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_context.c pvr_context_destroy_queues(9), pvr_context_cr... |
pvr_context_get(9) | NAME pvr_context_get - Take additional reference on context.
SYNOPSIS struct pvr_context * pvr_context_get (struct pvr_context *ctx );
ARGUMENTS ctx Context pointer.
DESCRIPTION Call pvr_context_put to release.
RETURN * The requested context on success, or * NULL if no context pointer passed.
SEE ALSO Kern... |
pvr_context_get_if_referenced(9) | NAME pvr_context_get_if_referenced - Take an additional reference on a still referenced context.
SYNOPSIS bool pvr_context_get_if_referenced (struct pvr_context *ctx );
ARGUMENTS ctx Context pointer.
DESCRIPTION Call pvr_context_put to release.
RETURN * True on success, or * false if no context pointer pass... |
pvr_context_kill_queues(9) | NAME pvr_context_kill_queues - Kill queues attached to context.
SYNOPSIS void pvr_context_kill_queues (struct pvr_context *ctx );
ARGUMENTS ctx Context to kill queues on.
DESCRIPTION Killing the queues implies making them unusable for future jobs, while still letting the currently submitted jobs a chance to ... |
pvr_context_lookup(9) | NAME pvr_context_lookup - Lookup context pointer from handle and file.
SYNOPSIS struct pvr_context * pvr_context_lookup (struct pvr_file *pvr_file , u32 handle );
ARGUMENTS pvr_file Pointer to pvr_file structure.
handle Context handle.
DESCRIPTION Takes reference on context. Call pvr_context_put to r... |
pvr_context_lookup_id(9) | NAME pvr_context_lookup_id - Lookup context pointer from ID.
SYNOPSIS struct pvr_context * pvr_context_lookup_id (struct pvr_device *pvr_dev , u32 id );
ARGUMENTS pvr_dev Device pointer.
id FW context ID.
DESCRIPTION Takes reference on context. Call pvr_context_put to release.
RETURN * The requ... |
pvr_context_put(9) | NAME pvr_context_put - Release reference on context
SYNOPSIS void pvr_context_put (struct pvr_context *ctx );
ARGUMENTS ctx Target context.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_context.c pvr_context_destroy_queues(9), pvr_context_create_queues(9), pvr_context_kill_queues(9), pvr_... |
pvr_cr_poll_reg32(9) | NAME pvr_cr_poll_reg32 - Wait for a 32-bit register to match a given value by polling
SYNOPSIS int pvr_cr_poll_reg32 (struct pvr_device *pvr_dev , u32 reg_addr , u32 reg_value , u32 reg_mask , u64 timeout_usec );
ARGUMENTS pvr_dev Target PowerVR device.
reg_addr Address of register.
reg_value ... |
pvr_cr_poll_reg64(9) | NAME pvr_cr_poll_reg64 - Wait for a 64-bit register to match a given value by polling
SYNOPSIS int pvr_cr_poll_reg64 (struct pvr_device *pvr_dev , u32 reg_addr , u64 reg_value , u64 reg_mask , u64 timeout_usec );
ARGUMENTS pvr_dev Target PowerVR device.
reg_addr Address of register.
reg_value ... |
pvr_cr_read32(9) | NAME pvr_cr_read32 - Read a 32-bit register from a PowerVR device
SYNOPSIS u32 pvr_cr_read32 (const struct pvr_device *pvr_dev , u32 reg );
ARGUMENTS pvr_dev Target PowerVR device.
reg Target register.
RETURN The value of the requested register.
SEE ALSO Kernel file ./drivers/gpu/drm/imaginati... |
pvr_cr_read64(9) | NAME pvr_cr_read64 - Read a 64-bit register from a PowerVR device
SYNOPSIS u64 pvr_cr_read64 (const struct pvr_device *pvr_dev , u32 reg );
ARGUMENTS pvr_dev Target PowerVR device.
reg Target register.
RETURN The value of the requested register.
SEE ALSO Kernel file ./drivers/gpu/drm/imaginati... |
pvr_cr_write32(9) | NAME pvr_cr_write32 - Write to a 32-bit register in a PowerVR device
SYNOPSIS void pvr_cr_write32 (struct pvr_device *pvr_dev , u32 reg , u32 val );
ARGUMENTS pvr_dev Target PowerVR device.
reg Target register.
val Value to write.
SEE ALSO Kernel file ./drivers/gpu/drm/imaginati... |
pvr_cr_write64(9) | NAME pvr_cr_write64 - Write to a 64-bit register in a PowerVR device
SYNOPSIS void pvr_cr_write64 (struct pvr_device *pvr_dev , u32 reg , u64 val );
ARGUMENTS pvr_dev Target PowerVR device.
reg Target register.
val Value to write.
SEE ALSO Kernel file ./drivers/gpu/drm/imaginati... |
pvr_destroy_contexts_for_file(9) | NAME pvr_destroy_contexts_for_file - Destroy any contexts associated with the given file
SYNOPSIS void pvr_destroy_contexts_for_file (struct pvr_file *pvr_file );
ARGUMENTS pvr_file Pointer to pvr_file structure.
DESCRIPTION Removes all contexts associated with pvr_file from the device context list and drops init... |
pvr_destroy_free_lists_for_file(9) | NAME pvr_destroy_free_lists_for_file - Destroy any free lists associated with the given file.
SYNOPSIS void pvr_destroy_free_lists_for_file (struct pvr_file *pvr_file );
ARGUMENTS pvr_file Pointer to pvr_file structure.
DESCRIPTION Removes all free lists associated with pvr_file from the device free_list list and... |
pvr_destroy_hwrt_datasets_for_file(9) | NAME pvr_destroy_hwrt_datasets_for_file - Destroy any HWRT datasets associated with the given file.
SYNOPSIS void pvr_destroy_hwrt_datasets_for_file (struct pvr_file *pvr_file );
ARGUMENTS pvr_file Pointer to pvr_file structure.
DESCRIPTION Removes all HWRT datasets associated with pvr_file from the device hwrt_d... |
pvr_destroy_vm_contexts_for_file(9) | NAME pvr_destroy_vm_contexts_for_file - Destroy any VM contexts associated with the given file.
SYNOPSIS void pvr_destroy_vm_contexts_for_file (struct pvr_file *pvr_file );
ARGUMENTS pvr_file Pointer to pvr_file structure.
DESCRIPTION Removes all vm_contexts associated with pvr_file from the device VM context lis... |
pvr_dev_query_enhancements_get(9) | NAME pvr_dev_query_enhancements_get - Unpack array of enhancements at the address given in a struct drm_pvr_dev_query_enhancements, or gets the amount of space required for it.
SYNOPSIS int pvr_dev_query_enhancements_get (struct pvr_device *pvr_dev , struct drm_pvr_ioctl_dev_query_args *args );
ARGUMENTS pvr_dev ... |
pvr_dev_query_gpu_info_get(9) | NAME pvr_dev_query_gpu_info_get -
SYNOPSIS int pvr_dev_query_gpu_info_get (struct pvr_device *pvr_dev , struct drm_pvr_ioctl_dev_query_args *args );
ARGUMENTS pvr_dev Device pointer.
args [IN] Device query arguments containing a pointer to a userspace struct drm_pvr_dev_query_gpu_info.
DESCRIPTION... |
pvr_dev_query_quirks_get(9) | NAME pvr_dev_query_quirks_get - Unpack array of quirks at the address given in a struct drm_pvr_dev_query_quirks, or gets the amount of space required for it.
SYNOPSIS int pvr_dev_query_quirks_get (struct pvr_device *pvr_dev , struct drm_pvr_ioctl_dev_query_args *args );
ARGUMENTS pvr_dev Device pointer.
... |
pvr_dev_query_runtime_info_get(9) | NAME pvr_dev_query_runtime_info_get -
SYNOPSIS int pvr_dev_query_runtime_info_get (struct pvr_device *pvr_dev , struct drm_pvr_ioctl_dev_query_args *args );
ARGUMENTS pvr_dev Device pointer.
args [IN] Device query arguments containing a pointer to a userspace struct drm_pvr_dev_query_runtime_info.
... |
pvr_device_addr_and_size_are_valid(9) | NAME pvr_device_addr_and_size_are_valid - Tests whether a device-virtual address and associated size are both valid.
SYNOPSIS bool pvr_device_addr_and_size_are_valid (struct pvr_vm_context *vm_ctx , u64 device_addr , u64 size );
ARGUMENTS vm_ctx Target VM context.
device_addr Virtual device address to te... |
pvr_device_addr_is_valid(9) | NAME pvr_device_addr_is_valid - Tests whether a device-virtual address is valid.
SYNOPSIS bool pvr_device_addr_is_valid (u64 device_addr );
ARGUMENTS device_addr Virtual device address to test.
RETURN * true if device_addr is within the valid range for a device page table and is aligned to the device page size, or *... |
pvr_device_clk_init(9) | NAME pvr_device_clk_init - Initialize clocks required by a PowerVR device
SYNOPSIS int pvr_device_clk_init (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
DESCRIPTION Sets struct pvr_device->core_clk, struct pvr_device->sys_clk and struct pvr_device->mem_clk. Three clocks are required b... |
pvr_device_fini(9) | NAME pvr_device_fini - Deinitialize a PowerVR device
SYNOPSIS void pvr_device_fini (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_device.c pvr_device_reg_init(9), pvr_device_clk_init(9), pvr_device_process_active_queues(9), pvr_dev... |
pvr_device_gpu_fini(9) | NAME pvr_device_gpu_fini - GPU-specific deinitialization for a PowerVR device
SYNOPSIS void pvr_device_gpu_fini (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_device.c pvr_device_reg_init(9), pvr_device_clk_init(9), pvr_device_proc... |
pvr_device_gpu_init(9) | NAME pvr_device_gpu_init - GPU-specific initialization for a PowerVR device
SYNOPSIS int pvr_device_gpu_init (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
DESCRIPTION The following steps are taken to ensure the device is ready: 1. Read the hardware version information from control reg... |
pvr_device_has_feature(9) | NAME pvr_device_has_feature - Look up device feature based on feature definition
SYNOPSIS bool pvr_device_has_feature (struct pvr_device *pvr_dev , u32 feature );
ARGUMENTS pvr_dev Device pointer.
feature Feature to look up. Should be one of PVR_FEATURE_*.
RETURN * true if feature is present on devic... |
pvr_device_info_set_enhancements(9) | NAME pvr_device_info_set_enhancements - Set device enhancements from device information in firmware
SYNOPSIS void pvr_device_info_set_enhancements (struct pvr_device *pvr_dev , const u64 *enhancements , u32 enhancements_size );
ARGUMENTS pvr_dev Device pointer.
enhancements
Pointer to e... |
pvr_device_info_set_features(9) | NAME pvr_device_info_set_features - Set device features from device information in firmware
SYNOPSIS int pvr_device_info_set_features (struct pvr_device *pvr_dev , const u64 *features , u32 features_size , u32 feature_param_size );
ARGUMENTS pvr_dev Device pointer.
features Pointer to features mask in ... |
pvr_device_info_set_quirks(9) | NAME pvr_device_info_set_quirks - Set device quirks from device information in firmware
SYNOPSIS void pvr_device_info_set_quirks (struct pvr_device *pvr_dev , const u64 *quirks , u32 quirks_size );
ARGUMENTS pvr_dev Device pointer.
quirks Pointer to quirks mask in device information.
quirks_s... |
pvr_device_init(9) | NAME pvr_device_init - Initialize a PowerVR device
SYNOPSIS int pvr_device_init (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
DESCRIPTION If this function returns successfully, the device will have been fully initialized. Otherwise, any parts of the device initialized before an error oc... |
pvr_device_irq_fini(9) | NAME pvr_device_irq_fini - Deinitialise IRQ required by a PowerVR device
SYNOPSIS void pvr_device_irq_fini (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_device.c pvr_device_reg_init(9), pvr_device_clk_init(9), pvr_device_process_ac... |
pvr_device_irq_init(9) | NAME pvr_device_irq_init - Initialise IRQ required by a PowerVR device
SYNOPSIS int pvr_device_irq_init (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
RETURN * 0 on success, * Any error returned by platform_get_irq_byname, or * Any error returned by request_irq.
SEE ALSO Kernel file .... |
pvr_device_lost(9) | NAME pvr_device_lost - Mark GPU device as lost
SYNOPSIS void pvr_device_lost (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
DESCRIPTION This will cause the DRM device to be unplugged.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_power.c pvr_watchdog_init(9), pvr_power_get_clea... |
pvr_device_process_active_queues(9) | NAME pvr_device_process_active_queues - Process all queue related events.
SYNOPSIS void pvr_device_process_active_queues (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev PowerVR device to check
DESCRIPTION This is called any time we receive a FW event. It iterates over all active queues and calls pvr_queue_proce... |
pvr_device_reg_init(9) | NAME pvr_device_reg_init - Initialize kernel access to a PowerVR device's control registers.
SYNOPSIS int pvr_device_reg_init (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
DESCRIPTION Sets struct pvr_device->regs. This method of mapping the device control registers into memory ensures ... |
pvr_drm_driver_open(9) | NAME pvr_drm_driver_open - Driver callback when a new &struct drm_file is opened
SYNOPSIS int pvr_drm_driver_open (struct drm_device *drm_dev , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device.
file [IN] DRM file private data.
DESCRIPTION Allocates powervr-specific file private data (str... |
pvr_drm_driver_postclose(9) | NAME pvr_drm_driver_postclose - One of the driver callbacks when a &struct drm_file is closed.
SYNOPSIS void pvr_drm_driver_postclose (struct drm_device *drm_dev , struct drm_file *file );
ARGUMENTS drm_dev [IN] DRM device (unused).
file [IN] DRM file private data.
DESCRIPTION Frees powervr-specif... |
pvr_find_heap_containing(9) | NAME pvr_find_heap_containing - Find a heap which contains the specified device-virtual address range.
SYNOPSIS const struct drm_pvr_heap * pvr_find_heap_containing (struct pvr_device *pvr_dev , u64 start , u64 size );
ARGUMENTS pvr_dev Target PowerVR device.
start Start of the target range.
... |
pvr_free_list_create(9) | NAME pvr_free_list_create - Create a new free list and return an object pointer
SYNOPSIS struct pvr_free_list * pvr_free_list_create (struct pvr_file *pvr_file , struct drm_pvr_ioctl_create_free_list_args *args );
ARGUMENTS pvr_file Pointer to pvr_file structure.
args Creation arguments from userspa... |
pvr_free_list_lookup(9) | NAME pvr_free_list_lookup - Lookup free list pointer from handle and file
SYNOPSIS struct pvr_free_list * pvr_free_list_lookup (struct pvr_file *pvr_file , u32 handle );
ARGUMENTS pvr_file Pointer to pvr_file structure.
handle Object handle.
DESCRIPTION Takes reference on free list object. Call pvr_f... |
pvr_free_list_lookup_id(9) | NAME pvr_free_list_lookup_id - Lookup free list pointer from FW ID
SYNOPSIS struct pvr_free_list * pvr_free_list_lookup_id (struct pvr_device *pvr_dev , u32 id );
ARGUMENTS pvr_dev Device pointer.
id FW object ID.
DESCRIPTION Takes reference on free list object. Call pvr_free_list_put to release... |
pvr_free_list_put(9) | NAME pvr_free_list_put - Release reference on free list
SYNOPSIS void pvr_free_list_put (struct pvr_free_list *free_list );
ARGUMENTS free_list Pointer to list to release reference on
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_free_list.c pvr_get_free_list_min_pages(9), calculate_free_list_ready_pages_... |
pvr_fw_fini(9) | NAME pvr_fw_fini - Shutdown firmware processor and free associated memory
SYNOPSIS void pvr_fw_fini (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_fw.c pvr_fw_validate(9), pvr_fw_process(9), pvr_wait_for_fw_boot(9), pvr_fw_validate_i... |
pvr_fw_init(9) | NAME pvr_fw_init - Initialise and boot firmware
SYNOPSIS int pvr_fw_init (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device
DESCRIPTION On successful completion of the function the PowerVR device will be initialised and ready to use.
RETURN * 0 on success, * -EINVAL on invalid firmware image... |
pvr_fw_mts_schedule(9) | NAME pvr_fw_mts_schedule - Schedule work via an MTS kick
SYNOPSIS void pvr_fw_mts_schedule (struct pvr_device *pvr_dev , u32 val );
ARGUMENTS pvr_dev Target PowerVR device
val Kick mask. Should be a combination of ROGUE_CR_MTS_SCHEDULE_*
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_fw... |
pvr_fw_object_create(9) | NAME pvr_fw_object_create - Create a FW object and map to firmware
SYNOPSIS int pvr_fw_object_create (struct pvr_device *pvr_dev , size_t size , u64 flags , void (*init)(void *cpu_ptr, void *priv) , void *init_priv , struct pvr_fw_object **fw_obj_out );
ARGUMENTS pvr_dev PowerVR device pointer.
size ... |
pvr_fw_object_create_and_map(9) | NAME pvr_fw_object_create_and_map - Create a FW object and map to firmware and CPU
SYNOPSIS void * pvr_fw_object_create_and_map (struct pvr_device *pvr_dev , size_t size , u64 flags , void (*init)(void *cpu_ptr, void *priv) , void *init_priv , struct pvr_fw_object **fw_obj_out );
ARGUMENTS pvr_dev PowerVR device ... |
pvr_fw_object_create_and_map_offset(9) | NAME pvr_fw_object_create_and_map_offset - Create a FW object and map to firmware at the provided offset and to the CPU.
SYNOPSIS void * pvr_fw_object_create_and_map_offset (struct pvr_device *pvr_dev , u32 dev_offset , size_t size , u64 flags , void (*init)(void *cpu_ptr, void *priv) , void *init_priv , struct pvr_fw... |
pvr_fw_object_destroy(9) | NAME pvr_fw_object_destroy - Destroy a pvr_fw_object
SYNOPSIS void pvr_fw_object_destroy (struct pvr_fw_object *fw_obj );
ARGUMENTS fw_obj Pointer to object to destroy.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_fw.c pvr_fw_validate(9), pvr_fw_process(9), pvr_wait_for_fw_boot(9), pvr_fw_validate_ini... |
pvr_fw_object_fw_map(9) | NAME pvr_fw_object_fw_map - Map a FW object in firmware address space
SYNOPSIS int pvr_fw_object_fw_map (struct pvr_device *pvr_dev , struct pvr_fw_object *fw_obj , u64 dev_addr );
ARGUMENTS pvr_dev Device pointer.
fw_obj FW object to map.
dev_addr Desired address in device space, if a spe... |
pvr_fw_object_fw_unmap(9) | NAME pvr_fw_object_fw_unmap - Unmap a previously mapped FW object
SYNOPSIS int pvr_fw_object_fw_unmap (struct pvr_fw_object *fw_obj );
ARGUMENTS fw_obj FW object to unmap.
RETURN * 0 on success, or * -EINVAL if object is not currently mapped.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_fw.c pvr_fw_v... |
pvr_fw_object_get_dma_addr(9) | NAME pvr_fw_object_get_dma_addr - Get DMA address for given offset in firmware object.
SYNOPSIS int pvr_fw_object_get_dma_addr (struct pvr_fw_object *fw_obj , u32 offset , dma_addr_t *dma_addr_out );
ARGUMENTS fw_obj Pointer to object to lookup address in.
offset Offset within object to lookup addre... |
pvr_fw_object_get_fw_addr_offset(9) | NAME pvr_fw_object_get_fw_addr_offset - Return address of object in firmware address space, with given offset.
SYNOPSIS void pvr_fw_object_get_fw_addr_offset (struct pvr_fw_object *fw_obj , u32 offset , u32 *fw_addr_out );
ARGUMENTS fw_obj Pointer to object.
offset Desired offset from start of objec... |
pvr_fw_process(9) | NAME pvr_fw_process - Process firmware image, allocate FW memory and create boot arguments
SYNOPSIS int pvr_fw_process (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Device pointer.
RETURN * 0 on success, or * Any error returned by pvr_fw_object_create_and_map_offset, or * Any error returned by pvr_fw_object_c... |
pvr_fw_process_elf_command_stream(9) | NAME pvr_fw_process_elf_command_stream - Process ELF firmware image and populate firmware sections
SYNOPSIS int pvr_fw_process_elf_command_stream (struct pvr_device *pvr_dev , const u8 *fw , u8 *fw_code_ptr , u8 *fw_data_ptr , u8 *fw_core_code_ptr , u8 *fw_core_data_ptr );
ARGUMENTS pvr_dev Device pointer.
... |
pvr_fw_start(9) | NAME pvr_fw_start - Start FW processor and boot firmware
SYNOPSIS int pvr_fw_start (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
RETURN * 0 on success, or * Any error returned by rogue_slc_init.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_fw_startstop.c pvr_fw_stop(9)
April... |
pvr_fw_stop(9) | NAME pvr_fw_stop - Stop FW processor
SYNOPSIS int pvr_fw_stop (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
RETURN * 0 on success, or * Any error returned by pvr_cr_poll_reg32.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_fw_startstop.c pvr_fw_start(9)
April 2026 ... |
pvr_fw_structure_cleanup(9) | NAME pvr_fw_structure_cleanup - Send FW cleanup request for an object
SYNOPSIS int pvr_fw_structure_cleanup (struct pvr_device *pvr_dev , u32 type , struct pvr_fw_object *fw_obj , u32 offset );
ARGUMENTS pvr_dev Target PowerVR device.
type Type of object to cleanup. Must be one of enum rogue_fwif_c... |
pvr_fw_validate(9) | NAME pvr_fw_validate - Parse firmware header and check compatibility
SYNOPSIS int pvr_fw_validate (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Device pointer.
RETURN * 0 on success, or * -EINVAL if firmware is incompatible.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_fw.c pvr_fw_process(9), p... |
pvr_fw_validate_init_device_info(9) | NAME pvr_fw_validate_init_device_info - Validate firmware and initialise device information
SYNOPSIS int pvr_fw_validate_init_device_info (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Target PowerVR device.
DESCRIPTION This function must be called before querying device information.
RETURN * 0 on success, or... |
pvr_fwccb_init(9) | NAME pvr_fwccb_init - Initialise device FWCCB
SYNOPSIS int pvr_fwccb_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_... |
pvr_fwccb_process(9) | NAME pvr_fwccb_process - Process any pending FWCCB commands
SYNOPSIS void pvr_fwccb_process (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_kccb_capacit... |
pvr_gem_create_object(9) | NAME pvr_gem_create_object - Allocate and pre-initializes a pvr_gem_object
SYNOPSIS struct drm_gem_object * pvr_gem_create_object (struct drm_device *drm_dev , size_t size );
ARGUMENTS drm_dev DRM device creating this object.
size Size of the object to allocate in bytes.
RETURN * The new pre-initi... |
pvr_gem_get_dma_addr(9) | NAME pvr_gem_get_dma_addr - Get DMA address for given offset in object
SYNOPSIS int pvr_gem_get_dma_addr (struct pvr_gem_object *pvr_obj , u32 offset , dma_addr_t *dma_addr_out );
ARGUMENTS pvr_obj Pointer to object to lookup address in.
offset Offset within object to lookup address at.
dma_a... |
pvr_gem_object_create(9) | NAME pvr_gem_object_create - Creates a PowerVR-specific buffer object.
SYNOPSIS struct pvr_gem_object * pvr_gem_object_create (struct pvr_device *pvr_dev , size_t size , u64 flags );
ARGUMENTS pvr_dev Target PowerVR device.
size Size of the object to allocate in bytes. Must be greater than zero. A... |
pvr_gem_object_flags_validate(9) | NAME pvr_gem_object_flags_validate - Verify that a collection of PowerVR GEM mapping and/or creation flags form a valid combination.
SYNOPSIS bool pvr_gem_object_flags_validate (u64 flags );
ARGUMENTS flags PowerVR GEM mapping/creation flags to validate.
DESCRIPTION This function explicitly allows kernel-only ... |
pvr_gem_object_from_handle(9) | NAME pvr_gem_object_from_handle - Obtain a reference to an object from a userspace handle.
SYNOPSIS struct pvr_gem_object * pvr_gem_object_from_handle (struct pvr_file *pvr_file , u32 handle );
ARGUMENTS pvr_file PowerVR-specific file to which handle is associated.
handle Userspace handle referencing ... |
pvr_gem_object_get(9) | NAME pvr_gem_object_get - Acquire reference on pvr_gem_object
SYNOPSIS void pvr_gem_object_get (struct pvr_gem_object *pvr_obj );
ARGUMENTS pvr_obj Pointer to object to acquire reference on.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_gem.h Kernel API(9), struct pvr_gem_object(9), pvr_gem_object_put(9... |
pvr_gem_object_into_handle(9) | NAME pvr_gem_object_into_handle - Convert a reference to an object into a userspace-accessible handle.
SYNOPSIS int pvr_gem_object_into_handle (struct pvr_gem_object *pvr_obj , struct pvr_file *pvr_file , u32 *handle );
ARGUMENTS pvr_obj [IN] Target PowerVR-specific object.
pvr_file [IN] File to associ... |
pvr_gem_object_put(9) | NAME pvr_gem_object_put - Release reference on pvr_gem_object
SYNOPSIS void pvr_gem_object_put (struct pvr_gem_object *pvr_obj );
ARGUMENTS pvr_obj Pointer to object to release reference on.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_gem.h Kernel API(9), struct pvr_gem_object(9), pvr_gem_object_get(9... |
pvr_gem_object_vmap(9) | NAME pvr_gem_object_vmap - Map a PowerVR GEM object into CPU virtual address space.
SYNOPSIS void * pvr_gem_object_vmap (struct pvr_gem_object *pvr_obj );
ARGUMENTS pvr_obj Target PowerVR GEM object.
DESCRIPTION Once the caller is finished with the CPU mapping, they must call pvr_gem_object_vunmap on pvr_obj. I... |
pvr_gem_object_vunmap(9) | NAME pvr_gem_object_vunmap - Unmap a PowerVR memory object from CPU virtual address space.
SYNOPSIS void pvr_gem_object_vunmap (struct pvr_gem_object *pvr_obj );
ARGUMENTS pvr_obj Target PowerVR GEM object.
DESCRIPTION If pvr_obj is CPU-cached, dma_sync_sgtable_for_device is called to make sure the GPU mapping i... |
pvr_gem_object_zero(9) | NAME pvr_gem_object_zero - Zeroes the physical memory behind an object.
SYNOPSIS int pvr_gem_object_zero (struct pvr_gem_object *pvr_obj );
ARGUMENTS pvr_obj Target PowerVR GEM object.
RETURN * 0 on success, or * Any error encountered while attempting to map pvr_obj to the CPU (see pvr_gem_object_vmap).
SEE ALS... |
pvr_get_free_list_min_pages(9) | NAME pvr_get_free_list_min_pages - Get minimum free list size for this device
SYNOPSIS u32 pvr_get_free_list_min_pages (struct pvr_device *pvr_dev );
ARGUMENTS pvr_dev Device pointer.
RETURN * Minimum free list size, in PM physical pages.
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_free_list.c calcul... |
pvr_gpu_id_to_packed_bvnc(9) | NAME pvr_gpu_id_to_packed_bvnc - Packs B, V, N and C values into a 64-bit unsigned integer
SYNOPSIS u64 pvr_gpu_id_to_packed_bvnc (const struct pvr_gpu_id *gpu_id );
ARGUMENTS gpu_id GPU ID.
DESCRIPTION The packed layout is as follows: +--------+--------+--------+-------+ | 63..48 | 47..32 | 31..16 | 15..0 ... |
pvr_gpuid_decode_reg(9) | NAME pvr_gpuid_decode_reg - Decode the GPU ID from GPU register
SYNOPSIS void pvr_gpuid_decode_reg (const struct pvr_device *pvr_dev , struct pvr_gpu_id *gpu_id );
ARGUMENTS pvr_dev Target PowerVR device.
gpu_id Output to be updated with the GPU ID.
DESCRIPTION Sets the b, v, n, c fields of struct p... |
pvr_gpuid_decode_string(9) | NAME pvr_gpuid_decode_string - Decode the GPU ID from a module input string
SYNOPSIS VISIBLE_IF_KUNIT int pvr_gpuid_decode_string (const struct pvr_device *pvr_dev , const char *param_bvnc , struct pvr_gpu_id *gpu_id );
ARGUMENTS pvr_dev Target PowerVR device.
param_bvnc GPU ID (BVNC) module parameter.
... |
pvr_heap_contains_range(9) | NAME pvr_heap_contains_range - Determine if a given heap contains the specified device-virtual address range.
SYNOPSIS bool pvr_heap_contains_range (const struct drm_pvr_heap *pvr_heap , u64 start , u64 end );
ARGUMENTS pvr_heap Target heap.
start Inclusive start of the target range.
end ... |
pvr_hwrt_data_lookup(9) | NAME pvr_hwrt_data_lookup - Lookup HWRT data pointer from handle and index
SYNOPSIS struct pvr_hwrt_data * pvr_hwrt_data_lookup (struct pvr_file *pvr_file , u32 handle , u32 index );
ARGUMENTS pvr_file Pointer to pvr_file structure.
handle Object handle.
index Index of RT data within dat... |
pvr_hwrt_data_put(9) | NAME pvr_hwrt_data_put - Release reference on HWRT data
SYNOPSIS void pvr_hwrt_data_put (struct pvr_hwrt_data *hwrt );
ARGUMENTS hwrt Pointer to HWRT data to release reference on
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_hwrt.h struct pvr_hwrt_data(9), struct pvr_hwrt_dataset(9), pvr_hwrt_dataset... |
pvr_hwrt_dataset_create(9) | NAME pvr_hwrt_dataset_create - Create a new HWRT dataset
SYNOPSIS struct pvr_hwrt_dataset * pvr_hwrt_dataset_create (struct pvr_file *pvr_file , struct drm_pvr_ioctl_create_hwrt_dataset_args *args );
ARGUMENTS pvr_file Pointer to pvr_file structure.
args Creation arguments from userspace.
RETURN * ... |
pvr_hwrt_dataset_lookup(9) | NAME pvr_hwrt_dataset_lookup - Lookup HWRT dataset pointer from handle
SYNOPSIS struct pvr_hwrt_dataset * pvr_hwrt_dataset_lookup (struct pvr_file *pvr_file , u32 handle );
ARGUMENTS pvr_file Pointer to pvr_file structure.
handle Object handle.
DESCRIPTION Takes reference on dataset object. Call pvr_... |
pvr_hwrt_dataset_put(9) | NAME pvr_hwrt_dataset_put - Release reference on HWRT dataset
SYNOPSIS void pvr_hwrt_dataset_put (struct pvr_hwrt_dataset *hwrt );
ARGUMENTS hwrt Pointer to HWRT dataset to release reference on
SEE ALSO Kernel file ./drivers/gpu/drm/imagination/pvr_hwrt.c pvr_hwrt_dataset_create(9), pvr_destroy_hwrt_datasets_... |
pvr_ioctl_create_bo(9) | NAME pvr_ioctl_create_bo - IOCTL to create a GEM buffer object.
SYNOPSIS int pvr_ioctl_create_bo (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );
ARGUMENTS drm_dev [IN] Target DRM device.
raw_args [IN/OUT] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.