/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_ccb.h | 13 struct pvr_device; 46 int pvr_kccb_init(struct pvr_device *pvr_dev); 47 void pvr_kccb_fini(struct pvr_device *pvr_dev); 48 int pvr_fwccb_init(struct pvr_device *pvr_dev); 51 void pvr_fwccb_process(struct pvr_device *pvr_dev); 56 pvr_kccb_reserve_slot(struct pvr_device *pvr_dev, struct dma_fence *f); 57 void pvr_kccb_release_slot(struct pvr_device *pvr_dev); 58 int pvr_kccb_send_cmd(struct pvr_device *pvr_dev, 60 int pvr_kccb_send_cmd_powered(struct pvr_device *pvr_dev, 63 void pvr_kccb_send_cmd_reserved_powered(struct pvr_device *pvr_dev, [all …]
|
H A D | pvr_fw.h | 16 struct pvr_device; 81 int (*init)(struct pvr_device *pvr_dev); 91 void (*fini)(struct pvr_device *pvr_dev); 111 int (*fw_process)(struct pvr_device *pvr_dev, const u8 *fw, 128 int (*vm_map)(struct pvr_device *pvr_dev, struct pvr_fw_object *fw_obj); 139 void (*vm_unmap)(struct pvr_device *pvr_dev, struct pvr_fw_object *fw_obj); 167 int (*wrapper_init)(struct pvr_device *pvr_dev); 424 int pvr_fw_validate_init_device_info(struct pvr_device *pvr_dev); 425 int pvr_fw_init(struct pvr_device *pvr_dev); 426 void pvr_fw_fini(struct pvr_device *pvr_dev); [all …]
|
H A D | pvr_device.h | 61 struct pvr_device { struct 314 struct pvr_device *pvr_dev; argument 381 struct pvr_device *_pvr_dev = pvr_dev; \ 421 #define to_pvr_device(drm_dev) container_of_const(drm_dev, struct pvr_device, base) 488 int pvr_device_init(struct pvr_device *pvr_dev); 489 void pvr_device_fini(struct pvr_device *pvr_dev); 490 void pvr_device_reset(struct pvr_device *pvr_dev); 493 pvr_device_has_uapi_quirk(struct pvr_device *pvr_dev, u32 quirk); 495 pvr_device_has_uapi_enhancement(struct pvr_device *pvr_dev, u32 enhancement); 497 pvr_device_has_feature(struct pvr_device *pvr_dev, u32 feature); [all …]
|
H A D | pvr_device.c | 52 pvr_device_reg_init(struct pvr_device *pvr_dev) in pvr_device_reg_init() 94 static int pvr_device_clk_init(struct pvr_device *pvr_dev) in pvr_device_clk_init() 130 static void pvr_device_process_active_queues(struct pvr_device *pvr_dev) in pvr_device_process_active_queues() 151 struct pvr_device *pvr_dev = data; in pvr_device_irq_thread_handler() 179 struct pvr_device *pvr_dev = data; in pvr_device_irq_handler() 201 pvr_device_irq_init(struct pvr_device *pvr_dev) in pvr_device_irq_init() 226 pvr_device_irq_fini(struct pvr_device *pvr_dev) in pvr_device_irq_fini() 251 pvr_build_firmware_filename(struct pvr_device *pvr_dev, const char *base, in pvr_build_firmware_filename() 263 struct pvr_device *pvr_dev = data; in pvr_release_firmware() 280 pvr_request_firmware(struct pvr_device *pvr_dev) in pvr_request_firmware() [all …]
|
H A D | pvr_power.c | 33 pvr_device_lost(struct pvr_device *pvr_dev) in pvr_device_lost() 42 pvr_power_send_command(struct pvr_device *pvr_dev, struct rogue_fwif_kccb_cmd *pow_cmd) in pvr_power_send_command() 61 pvr_power_request_idle(struct pvr_device *pvr_dev) in pvr_power_request_idle() 74 pvr_power_request_pwr_off(struct pvr_device *pvr_dev) in pvr_power_request_pwr_off() 87 pvr_power_fw_disable(struct pvr_device *pvr_dev, bool hard_reset) in pvr_power_fw_disable() 107 pvr_power_fw_enable(struct pvr_device *pvr_dev) in pvr_power_fw_enable() 129 pvr_power_is_idle(struct pvr_device *pvr_dev) in pvr_power_is_idle() 142 pvr_watchdog_kccb_stalled(struct pvr_device *pvr_dev) in pvr_watchdog_kccb_stalled() 185 struct pvr_device *pvr_dev = container_of(work, struct pvr_device, in pvr_watchdog_worker() 226 pvr_watchdog_init(struct pvr_device *pvr_dev) in pvr_watchdog_init() [all …]
|
H A D | pvr_power.h | 12 int pvr_watchdog_init(struct pvr_device *pvr_dev); 13 void pvr_watchdog_fini(struct pvr_device *pvr_dev); 15 void pvr_device_lost(struct pvr_device *pvr_dev); 17 bool pvr_power_is_idle(struct pvr_device *pvr_dev); 23 int pvr_power_reset(struct pvr_device *pvr_dev, bool hard_reset); 26 pvr_power_get(struct pvr_device *pvr_dev) in pvr_power_get() 34 pvr_power_put(struct pvr_device *pvr_dev) in pvr_power_put()
|
H A D | pvr_ccb.c | 48 pvr_ccb_init(struct pvr_device *pvr_dev, struct pvr_ccb *pvr_ccb, in pvr_ccb_init() 136 process_fwccb_command(struct pvr_device *pvr_dev, struct rogue_fwif_fwccb_cmd *cmd) in process_fwccb_command() 163 void pvr_fwccb_process(struct pvr_device *pvr_dev) in pvr_fwccb_process() 194 static u32 pvr_kccb_capacity(struct pvr_device *pvr_dev) in pvr_kccb_capacity() 214 pvr_kccb_used_slot_count_locked(struct pvr_device *pvr_dev) in pvr_kccb_used_slot_count_locked() 240 pvr_kccb_send_cmd_reserved_powered(struct pvr_device *pvr_dev, in pvr_kccb_send_cmd_reserved_powered() 291 static bool pvr_kccb_try_reserve_slot(struct pvr_device *pvr_dev) in pvr_kccb_try_reserve_slot() 318 static int pvr_kccb_reserve_slot_sync(struct pvr_device *pvr_dev) in pvr_kccb_reserve_slot_sync() 350 pvr_kccb_send_cmd_powered(struct pvr_device *pvr_dev, struct rogue_fwif_kccb_cmd *cmd, in pvr_kccb_send_cmd_powered() 374 pvr_kccb_send_cmd(struct pvr_device *pvr_dev, struct rogue_fwif_kccb_cmd *cmd, in pvr_kccb_send_cmd() [all …]
|
H A D | pvr_vm_mips.h | 8 struct pvr_device; 14 pvr_vm_mips_init(struct pvr_device *pvr_dev); 16 pvr_vm_mips_fini(struct pvr_device *pvr_dev); 18 pvr_vm_mips_map(struct pvr_device *pvr_dev, struct pvr_fw_object *fw_obj); 20 pvr_vm_mips_unmap(struct pvr_device *pvr_dev, struct pvr_fw_object *fw_obj);
|
H A D | pvr_fw_trace.h | 13 struct pvr_device; 65 int pvr_fw_trace_init(struct pvr_device *pvr_dev); 66 void pvr_fw_trace_fini(struct pvr_device *pvr_dev); 72 void pvr_fw_trace_mask_update(struct pvr_device *pvr_dev, u32 old_mask, 75 void pvr_fw_trace_debugfs_init(struct pvr_device *pvr_dev, struct dentry *dir);
|
H A D | pvr_fw.c | 49 pvr_fw_find_layout_entry(struct pvr_device *pvr_dev, enum pvr_fw_section_id id) in pvr_fw_find_layout_entry() 64 pvr_fw_find_private_data(struct pvr_device *pvr_dev) in pvr_fw_find_private_data() 91 pvr_fw_validate(struct pvr_device *pvr_dev) in pvr_fw_validate() 170 pvr_fw_get_device_info(struct pvr_device *pvr_dev) in pvr_fw_get_device_info() 194 layout_get_sizes(struct pvr_device *pvr_dev) in layout_get_sizes() 229 pvr_fw_find_mmu_segment(struct pvr_device *pvr_dev, u32 addr, u32 size, void *fw_code_ptr, in pvr_fw_find_mmu_segment() 285 pvr_fw_create_fwif_connection_ctl(struct pvr_device *pvr_dev) in pvr_fw_create_fwif_connection_ctl() 308 pvr_fw_fini_fwif_connection_ctl(struct pvr_device *pvr_dev) in pvr_fw_fini_fwif_connection_ctl() 319 struct pvr_device *pvr_dev = priv; in fw_osinit_init() 348 struct pvr_device *pvr_dev = priv; in fw_osdata_init() [all …]
|
H A D | pvr_vm.h | 14 struct pvr_device; 35 struct pvr_vm_context *pvr_vm_create_context(struct pvr_device *pvr_dev, 46 int pvr_static_data_areas_get(const struct pvr_device *pvr_dev, 48 int pvr_heap_info_get(const struct pvr_device *pvr_dev, 50 const struct drm_pvr_heap *pvr_find_heap_containing(struct pvr_device *pvr_dev,
|
H A D | pvr_device_info.c | 16 [PVR_FW_HAS_BRN_##quirk] = offsetof(struct pvr_device, quirks.has_brn##quirk) 36 [PVR_FW_HAS_ERN_##enhancement] = offsetof(struct pvr_device, \ 52 static void pvr_device_info_set_common(struct pvr_device *pvr_dev, const u64 *bitmask, in pvr_device_info_set_common() 90 void pvr_device_info_set_quirks(struct pvr_device *pvr_dev, const u64 *quirks, u32 quirks_size) in pvr_device_info_set_quirks() 104 void pvr_device_info_set_enhancements(struct pvr_device *pvr_dev, const u64 *enhancements, in pvr_device_info_set_enhancements() 115 .flag_offset = offsetof(struct pvr_device, features.has_##feature), \ 121 .flag_offset = offsetof(struct pvr_device, features.has_##feature), \ 122 .value_offset = offsetof(struct pvr_device, features.feature) \ 216 int pvr_device_info_set_features(struct pvr_device *pvr_dev, const u64 *features, u32 features_size, in pvr_device_info_set_features()
|
H A D | pvr_free_list.h | 52 struct pvr_device *pvr_dev; 114 pvr_get_free_list_min_pages(struct pvr_device *pvr_dev); 161 pvr_free_list_lookup_id(struct pvr_device *pvr_dev, u32 id) in pvr_free_list_lookup_id() 188 void pvr_free_list_process_grow_req(struct pvr_device *pvr_dev, 192 pvr_free_list_process_reconstruct_req(struct pvr_device *pvr_dev,
|
H A D | pvr_mmu.h | 11 struct pvr_device; 91 void pvr_mmu_flush_request_all(struct pvr_device *pvr_dev); 92 int pvr_mmu_flush_exec(struct pvr_device *pvr_dev, bool wait); 94 struct pvr_mmu_context *pvr_mmu_context_create(struct pvr_device *pvr_dev);
|
H A D | pvr_fw_meta.c | 34 pvr_meta_cr_read32(struct pvr_device *pvr_dev, u32 reg_addr, u32 *reg_value_out) in pvr_meta_cr_read32() 69 pvr_meta_wrapper_init(struct pvr_device *pvr_dev) in pvr_meta_wrapper_init() 114 struct pvr_device *pvr_dev = to_pvr_device(drm_dev); in meta_ldr_cmd_loadmem() 156 struct pvr_device *pvr_dev = to_pvr_device(drm_dev); in meta_ldr_cmd_zeromem() 254 process_ldr_command_stream(struct pvr_device *pvr_dev, const u8 *fw, u8 *fw_code_ptr, in process_ldr_command_stream() 361 struct pvr_device *pvr_dev = to_pvr_device(gem_from_pvr_gem(fw_obj->gem)->dev); in get_fw_obj_gpu_addr() 368 configure_seg_mmu(struct pvr_device *pvr_dev, u32 **boot_conf_ptr) in configure_seg_mmu() 456 pvr_meta_fw_process(struct pvr_device *pvr_dev, const u8 *fw, in pvr_meta_fw_process() 498 pvr_meta_init(struct pvr_device *pvr_dev) in pvr_meta_init() 519 pvr_meta_vm_map(struct pvr_device *pvr_dev, struct pvr_fw_object *fw_obj) in pvr_meta_vm_map() [all …]
|
H A D | pvr_cccb.h | 16 struct pvr_device; 55 int pvr_cccb_init(struct pvr_device *pvr_dev, struct pvr_cccb *cccb, 62 void pvr_cccb_send_kccb_kick(struct pvr_device *pvr_dev, 65 void pvr_cccb_send_kccb_combined_kick(struct pvr_device *pvr_dev,
|
H A D | pvr_queue.h | 161 void pvr_queue_device_pre_reset(struct pvr_device *pvr_dev); 163 void pvr_queue_device_post_reset(struct pvr_device *pvr_dev); 165 int pvr_queue_device_init(struct pvr_device *pvr_dev); 167 void pvr_queue_device_fini(struct pvr_device *pvr_dev);
|
H A D | pvr_fw_startstop.h | 8 struct pvr_device; 10 int pvr_fw_start(struct pvr_device *pvr_dev); 11 int pvr_fw_stop(struct pvr_device *pvr_dev);
|
H A D | pvr_drv.c | 75 struct pvr_device *pvr_dev = to_pvr_device(drm_dev); in pvr_ioctl_create_bo() 230 rogue_get_common_store_partition_space_size(struct pvr_device *pvr_dev) in rogue_get_common_store_partition_space_size() 254 rogue_get_common_store_alloc_region_size(struct pvr_device *pvr_dev) in rogue_get_common_store_alloc_region_size() 274 rogue_get_num_phantoms(struct pvr_device *pvr_dev) in rogue_get_num_phantoms() 284 rogue_get_max_coeffs(struct pvr_device *pvr_dev) in rogue_get_max_coeffs() 316 rogue_get_cdm_max_local_mem_size_regs(struct pvr_device *pvr_dev) in rogue_get_cdm_max_local_mem_size_regs() 353 pvr_dev_query_gpu_info_get(struct pvr_device *pvr_dev, in pvr_dev_query_gpu_info_get() 393 pvr_dev_query_runtime_info_get(struct pvr_device *pvr_dev, in pvr_dev_query_runtime_info_get() 449 pvr_dev_query_quirks_get(struct pvr_device *pvr_dev, in pvr_dev_query_quirks_get() 543 pvr_dev_query_enhancements_get(struct pvr_device *pvr_dev, in pvr_dev_query_enhancements_get() [all …]
|
H A D | pvr_fw_mips.c | 34 process_elf_command_stream(struct pvr_device *pvr_dev, const u8 *fw, u8 *fw_code_ptr, in process_elf_command_stream() 74 pvr_mips_init(struct pvr_device *pvr_dev) in pvr_mips_init() 82 pvr_mips_fini(struct pvr_device *pvr_dev) in pvr_mips_fini() 88 pvr_mips_fw_process(struct pvr_device *pvr_dev, const u8 *fw, in pvr_mips_fw_process() 153 pvr_mips_wrapper_init(struct pvr_device *pvr_dev) in pvr_mips_wrapper_init() 223 struct pvr_device *pvr_dev = to_pvr_device(gem_from_pvr_gem(fw_obj->gem)->dev); in pvr_mips_get_fw_addr_with_offset()
|
H A D | pvr_context.h | 37 struct pvr_device *pvr_dev; 162 pvr_context_lookup_id(struct pvr_device *pvr_dev, u32 id) in pvr_context_lookup_id() 201 void pvr_context_device_init(struct pvr_device *pvr_dev); 203 void pvr_context_device_fini(struct pvr_device *pvr_dev);
|
H A D | pvr_device_info.h | 9 struct pvr_device; 152 void pvr_device_info_set_quirks(struct pvr_device *pvr_dev, const u64 *bitmask, 154 void pvr_device_info_set_enhancements(struct pvr_device *pvr_dev, const u64 *bitmask, 156 int pvr_device_info_set_features(struct pvr_device *pvr_dev, const u64 *features, u32 features_size,
|
H A D | pvr_stream.h | 11 struct pvr_device; 70 pvr_stream_process(struct pvr_device *pvr_dev, const struct pvr_stream_cmd_defs *cmd_defs, 73 pvr_stream_create_musthave_masks(struct pvr_device *pvr_dev);
|
H A D | pvr_fw_startstop.c | 20 rogue_axi_ace_list_init(struct pvr_device *pvr_dev) in rogue_axi_ace_list_init() 37 rogue_bif_init(struct pvr_device *pvr_dev) in rogue_bif_init() 55 rogue_slc_init(struct pvr_device *pvr_dev) in rogue_slc_init() 97 pvr_fw_start(struct pvr_device *pvr_dev) in pvr_fw_start() 188 pvr_fw_stop(struct pvr_device *pvr_dev) in pvr_fw_stop()
|
H A D | pvr_job.h | 21 struct pvr_device; 67 struct pvr_device *pvr_dev; 158 int pvr_submit_jobs(struct pvr_device *pvr_dev, struct pvr_file *pvr_file,
|