Home
last modified time | relevance | path

Searched refs:cs_iface (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/panthor/
Dpanthor_sched.c991 struct panthor_fw_cs_iface *cs_iface = panthor_fw_get_cs_iface(ptdev, csg_id, cs_id); in cs_slot_prog_locked() local
998 cs_iface->input->ringbuf_base = panthor_kernel_bo_gpuva(queue->ringbuf); in cs_slot_prog_locked()
999 cs_iface->input->ringbuf_size = panthor_kernel_bo_size(queue->ringbuf); in cs_slot_prog_locked()
1000 cs_iface->input->ringbuf_input = queue->iface.input_fw_va; in cs_slot_prog_locked()
1001 cs_iface->input->ringbuf_output = queue->iface.output_fw_va; in cs_slot_prog_locked()
1002 cs_iface->input->config = CS_CONFIG_PRIORITY(queue->priority) | in cs_slot_prog_locked()
1004 cs_iface->input->ack_irq_mask = ~0; in cs_slot_prog_locked()
1005 panthor_fw_update_reqs(cs_iface, req, in cs_slot_prog_locked()
1034 struct panthor_fw_cs_iface *cs_iface = panthor_fw_get_cs_iface(ptdev, csg_id, cs_id); in cs_slot_reset_locked() local
1040 panthor_fw_update_reqs(cs_iface, req, in cs_slot_reset_locked()
[all …]
Dpanthor_fw.c781 struct panthor_fw_cs_iface *cs_iface = &ptdev->fw->iface.streams[csg_idx][cs_idx]; in panthor_init_cs_iface() local
790 if (iface_offset + sizeof(*cs_iface) >= shared_section_sz) in panthor_init_cs_iface()
793 spin_lock_init(&cs_iface->lock); in panthor_init_cs_iface()
794 cs_iface->control = ptdev->fw->shared_section->mem->kmap + iface_offset; in panthor_init_cs_iface()
795 cs_iface->input = iface_fw_to_cpu_addr(ptdev, cs_iface->control->input_va); in panthor_init_cs_iface()
796 cs_iface->output = iface_fw_to_cpu_addr(ptdev, cs_iface->control->output_va); in panthor_init_cs_iface()
798 if (!cs_iface->input || !cs_iface->output) { in panthor_init_cs_iface()
803 if (cs_iface != first_cs_iface) { in panthor_init_cs_iface()
804 if (cs_iface->control->features != first_cs_iface->control->features) { in panthor_init_cs_iface()
809 u32 reg_count = CS_FEATURES_WORK_REGS(cs_iface->control->features); in panthor_init_cs_iface()