/linux-6.12.1/drivers/gpu/drm/panthor/ |
D | panthor_gpu.h | 8 struct panthor_device; 10 int panthor_gpu_init(struct panthor_device *ptdev); 11 void panthor_gpu_unplug(struct panthor_device *ptdev); 12 void panthor_gpu_suspend(struct panthor_device *ptdev); 13 void panthor_gpu_resume(struct panthor_device *ptdev); 15 int panthor_gpu_block_power_on(struct panthor_device *ptdev, 19 int panthor_gpu_block_power_off(struct panthor_device *ptdev, 47 int panthor_gpu_l2_power_on(struct panthor_device *ptdev); 48 int panthor_gpu_flush_caches(struct panthor_device *ptdev, 50 int panthor_gpu_soft_reset(struct panthor_device *ptdev);
|
D | panthor_sched.h | 16 struct panthor_device; 40 int panthor_sched_init(struct panthor_device *ptdev); 41 void panthor_sched_unplug(struct panthor_device *ptdev); 42 void panthor_sched_pre_reset(struct panthor_device *ptdev); 43 void panthor_sched_post_reset(struct panthor_device *ptdev, bool reset_failed); 44 void panthor_sched_suspend(struct panthor_device *ptdev); 45 void panthor_sched_resume(struct panthor_device *ptdev); 47 void panthor_sched_report_mmu_fault(struct panthor_device *ptdev); 48 void panthor_sched_report_fw_events(struct panthor_device *ptdev, u32 events);
|
D | panthor_device.h | 22 struct panthor_device; 57 struct panthor_device *ptdev; 72 struct panthor_device { struct 172 struct panthor_device *ptdev; argument 181 int panthor_device_init(struct panthor_device *ptdev); 182 void panthor_device_unplug(struct panthor_device *ptdev); 187 static inline void panthor_device_schedule_reset(struct panthor_device *ptdev) in panthor_device_schedule_reset() 199 static inline bool panthor_device_reset_is_pending(struct panthor_device *ptdev) in panthor_device_reset_is_pending() 204 int panthor_device_mmap_io(struct panthor_device *ptdev, 273 const char *panthor_exception_name(struct panthor_device *ptdev, [all …]
|
D | panthor_devfreq.h | 10 struct panthor_device; 13 int panthor_devfreq_init(struct panthor_device *ptdev); 15 int panthor_devfreq_resume(struct panthor_device *ptdev); 16 int panthor_devfreq_suspend(struct panthor_device *ptdev); 18 void panthor_devfreq_record_busy(struct panthor_device *ptdev); 19 void panthor_devfreq_record_idle(struct panthor_device *ptdev);
|
D | panthor_fw.h | 9 struct panthor_device; 461 panthor_fw_get_glb_iface(struct panthor_device *ptdev); 464 panthor_fw_get_csg_iface(struct panthor_device *ptdev, u32 csg_slot); 467 panthor_fw_get_cs_iface(struct panthor_device *ptdev, u32 csg_slot, u32 cs_slot); 469 int panthor_fw_csg_wait_acks(struct panthor_device *ptdev, u32 csg_id, u32 req_mask, 472 int panthor_fw_glb_wait_acks(struct panthor_device *ptdev, u32 req_mask, u32 *acked, 475 void panthor_fw_ring_csg_doorbells(struct panthor_device *ptdev, u32 csg_slot); 478 panthor_fw_alloc_queue_iface_mem(struct panthor_device *ptdev, 483 panthor_fw_alloc_suspend_buf_mem(struct panthor_device *ptdev, size_t size); 485 struct panthor_vm *panthor_fw_vm(struct panthor_device *ptdev); [all …]
|
D | panthor_mmu.h | 18 int panthor_mmu_init(struct panthor_device *ptdev); 19 void panthor_mmu_unplug(struct panthor_device *ptdev); 20 void panthor_mmu_pre_reset(struct panthor_device *ptdev); 21 void panthor_mmu_post_reset(struct panthor_device *ptdev); 22 void panthor_mmu_suspend(struct panthor_device *ptdev); 23 void panthor_mmu_resume(struct panthor_device *ptdev); 42 struct panthor_vm *panthor_vm_create(struct panthor_device *ptdev, bool for_mcu, 60 int panthor_vm_pool_create_vm(struct panthor_device *ptdev,
|
D | panthor_fw.c | 267 struct panthor_vm *panthor_fw_vm(struct panthor_device *ptdev) in panthor_fw_vm() 279 panthor_fw_get_glb_iface(struct panthor_device *ptdev) in panthor_fw_get_glb_iface() 292 panthor_fw_get_csg_iface(struct panthor_device *ptdev, u32 csg_slot) in panthor_fw_get_csg_iface() 309 panthor_fw_get_cs_iface(struct panthor_device *ptdev, u32 csg_slot, u32 cs_slot) in panthor_fw_get_cs_iface() 328 static u32 panthor_fw_conv_timeout(struct panthor_device *ptdev, u32 timeout_us) in panthor_fw_conv_timeout() 361 static int panthor_fw_binary_iter_read(struct panthor_device *ptdev, in panthor_fw_binary_iter_read() 377 static int panthor_fw_binary_sub_iter_init(struct panthor_device *ptdev, in panthor_fw_binary_sub_iter_init() 396 static void panthor_fw_init_section_mem(struct panthor_device *ptdev, in panthor_fw_init_section_mem() 438 panthor_fw_alloc_queue_iface_mem(struct panthor_device *ptdev, in panthor_fw_alloc_queue_iface_mem() 477 panthor_fw_alloc_suspend_buf_mem(struct panthor_device *ptdev, size_t size) in panthor_fw_alloc_suspend_buf_mem() [all …]
|
D | panthor_device.c | 25 static int panthor_clk_init(struct panthor_device *ptdev) in panthor_clk_init() 49 void panthor_device_unplug(struct panthor_device *ptdev) in panthor_device_unplug() 102 struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); in panthor_device_reset_cleanup() 110 struct panthor_device *ptdev = container_of(work, struct panthor_device, reset.work); in panthor_device_reset_work() 142 static bool panthor_device_is_initialized(struct panthor_device *ptdev) in panthor_device_is_initialized() 152 int panthor_device_init(struct panthor_device *ptdev) in panthor_device_init() 334 const char *panthor_exception_name(struct panthor_device *ptdev, u32 exception_code) in panthor_exception_name() 346 struct panthor_device *ptdev = vma->vm_private_data; in panthor_mmio_vm_fault() 389 int panthor_device_mmap_io(struct panthor_device *ptdev, struct vm_area_struct *vma) in panthor_device_mmap_io() 420 struct panthor_device *ptdev = dev_get_drvdata(dev); in panthor_device_resume() [all …]
|
D | panthor_gpu.c | 80 static void panthor_gpu_init_info(struct panthor_device *ptdev) in panthor_gpu_init_info() 145 static void panthor_gpu_irq_handler(struct panthor_device *ptdev, u32 status) in panthor_gpu_irq_handler() 172 void panthor_gpu_unplug(struct panthor_device *ptdev) in panthor_gpu_unplug() 192 int panthor_gpu_init(struct panthor_device *ptdev) in panthor_gpu_init() 235 int panthor_gpu_block_power_off(struct panthor_device *ptdev, in panthor_gpu_block_power_off() 296 int panthor_gpu_block_power_on(struct panthor_device *ptdev, in panthor_gpu_block_power_on() 351 int panthor_gpu_l2_power_on(struct panthor_device *ptdev) in panthor_gpu_l2_power_on() 380 int panthor_gpu_flush_caches(struct panthor_device *ptdev, in panthor_gpu_flush_caches() 420 int panthor_gpu_soft_reset(struct panthor_device *ptdev) in panthor_gpu_soft_reset() 461 void panthor_gpu_suspend(struct panthor_device *ptdev) in panthor_gpu_suspend() [all …]
|
D | panthor_devfreq.c | 85 struct panthor_device *ptdev = dev_get_drvdata(dev); in panthor_devfreq_get_dev_status() 119 int panthor_devfreq_init(struct panthor_device *ptdev) in panthor_devfreq_init() 231 int panthor_devfreq_resume(struct panthor_device *ptdev) in panthor_devfreq_resume() 243 int panthor_devfreq_suspend(struct panthor_device *ptdev) in panthor_devfreq_suspend() 253 void panthor_devfreq_record_busy(struct panthor_device *ptdev) in panthor_devfreq_record_busy() 269 void panthor_devfreq_record_idle(struct panthor_device *ptdev) in panthor_devfreq_record_idle()
|
D | panthor_sched.c | 154 struct panthor_device *ptdev; 525 struct panthor_device *ptdev; 797 struct panthor_device *ptdev = group->ptdev; in panthor_queue_get_syncwait_obj() 872 struct panthor_device *ptdev = group->ptdev; in group_release() 906 struct panthor_device *ptdev = group->ptdev; in group_bind_locked() 948 struct panthor_device *ptdev = group->ptdev; in group_unbind_locked() 988 cs_slot_prog_locked(struct panthor_device *ptdev, u32 csg_id, u32 cs_id) in cs_slot_prog_locked() 1032 cs_slot_reset_locked(struct panthor_device *ptdev, u32 csg_id, u32 cs_id) in cs_slot_reset_locked() 1066 csg_slot_sync_priority_locked(struct panthor_device *ptdev, u32 csg_id) in csg_slot_sync_priority_locked() 1086 cs_slot_sync_queue_state_locked(struct panthor_device *ptdev, u32 csg_id, u32 cs_id) in cs_slot_sync_queue_state_locked() [all …]
|
D | panthor_mmu.c | 261 struct panthor_device *ptdev; 504 static int wait_ready(struct panthor_device *ptdev, u32 as_nr) in wait_ready() 524 static int write_cmd(struct panthor_device *ptdev, u32 as_nr, u32 cmd) in write_cmd() 536 static void lock_region(struct panthor_device *ptdev, u32 as_nr, in lock_region() 571 static int mmu_hw_do_operation_locked(struct panthor_device *ptdev, int as_nr, in mmu_hw_do_operation_locked() 598 struct panthor_device *ptdev = vm->ptdev; in mmu_hw_do_operation() 608 static int panthor_mmu_as_enable(struct panthor_device *ptdev, u32 as_nr, in panthor_mmu_as_enable() 629 static int panthor_mmu_as_disable(struct panthor_device *ptdev, u32 as_nr) in panthor_mmu_as_disable() 649 static u32 panthor_mmu_fault_mask(struct panthor_device *ptdev, u32 value) in panthor_mmu_fault_mask() 655 static u32 panthor_mmu_as_fault_mask(struct panthor_device *ptdev, u32 as) in panthor_mmu_as_fault_mask() [all …]
|
D | panthor_heap.h | 9 struct panthor_device; 23 panthor_heap_pool_create(struct panthor_device *ptdev, struct panthor_vm *vm);
|
D | panthor_drv.c | 492 struct panthor_device *ptdev = container_of(ctx->file->minor->dev, in panthor_submit_ctx_update_job_sync_signal_fences() 493 struct panthor_device, in panthor_submit_ctx_update_job_sync_signal_fences() 593 struct panthor_device *ptdev = container_of(ctx->file->minor->dev, in panthor_submit_ctx_add_sync_deps_to_job() 594 struct panthor_device, in panthor_submit_ctx_add_sync_deps_to_job() 756 struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); in panthor_ioctl_dev_query() 791 struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); in panthor_ioctl_vm_create() 1274 struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); in panthor_open() 1346 struct panthor_device *ptdev = pfile->ptdev; in panthor_mmap() 1423 struct panthor_device *ptdev; in panthor_probe() 1426 struct panthor_device, base); in panthor_probe() [all …]
|
D | panthor_heap.c | 87 struct panthor_device *ptdev; 102 static int panthor_heap_ctx_stride(struct panthor_device *ptdev) in panthor_heap_ctx_stride() 134 static int panthor_alloc_heap_chunk(struct panthor_device *ptdev, in panthor_alloc_heap_chunk() 203 static int panthor_alloc_heap_chunks(struct panthor_device *ptdev, in panthor_alloc_heap_chunks() 529 panthor_heap_pool_create(struct panthor_device *ptdev, struct panthor_vm *vm) in panthor_heap_pool_create()
|
D | panthor_gem.c | 74 panthor_kernel_bo_create(struct panthor_device *ptdev, struct panthor_vm *vm, in panthor_kernel_bo_create() 176 struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); in panthor_gem_create_object()
|
D | Makefile | 5 panthor_device.o \
|
D | panthor_gem.h | 140 panthor_kernel_bo_create(struct panthor_device *ptdev, struct panthor_vm *vm,
|