Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/panthor/
Dpanthor_sched.c1069 struct panthor_fw_csg_iface *csg_iface; in csg_slot_sync_priority_locked() local
1073 csg_iface = panthor_fw_get_csg_iface(ptdev, csg_id); in csg_slot_sync_priority_locked()
1074 csg_slot->priority = (csg_iface->input->endpoint_req & CSG_EP_REQ_PRIORITY_MASK) >> 28; in csg_slot_sync_priority_locked()
1158 struct panthor_fw_csg_iface *csg_iface; in csg_slot_sync_state_locked() local
1165 csg_iface = panthor_fw_get_csg_iface(ptdev, csg_id); in csg_slot_sync_state_locked()
1172 csg_state = csg_iface->output->ack & CSG_STATE_MASK; in csg_slot_sync_state_locked()
1230 struct panthor_fw_csg_iface *csg_iface; in csg_slot_prog_locked() local
1248 csg_iface = panthor_fw_get_csg_iface(group->ptdev, csg_id); in csg_slot_prog_locked()
1257 csg_iface->input->allow_compute = group->compute_core_mask; in csg_slot_prog_locked()
1258 csg_iface->input->allow_fragment = group->fragment_core_mask; in csg_slot_prog_locked()
[all …]
Dpanthor_fw.c780 struct panthor_fw_csg_iface *csg_iface = panthor_fw_get_csg_iface(ptdev, csg_idx); in panthor_init_cs_iface() local
786 (cs_idx * csg_iface->control->stream_stride); in panthor_init_cs_iface()
836 struct panthor_fw_csg_iface *csg_iface = &ptdev->fw->iface.groups[csg_idx]; in panthor_init_csg_iface() local
841 if (iface_offset + sizeof(*csg_iface) >= shared_section_sz) in panthor_init_csg_iface()
844 spin_lock_init(&csg_iface->lock); in panthor_init_csg_iface()
845 csg_iface->control = ptdev->fw->shared_section->mem->kmap + iface_offset; in panthor_init_csg_iface()
846 csg_iface->input = iface_fw_to_cpu_addr(ptdev, csg_iface->control->input_va); in panthor_init_csg_iface()
847 csg_iface->output = iface_fw_to_cpu_addr(ptdev, csg_iface->control->output_va); in panthor_init_csg_iface()
849 if (csg_iface->control->stream_num < MIN_CS_PER_CSG || in panthor_init_csg_iface()
850 csg_iface->control->stream_num > MAX_CS_PER_CSG) in panthor_init_csg_iface()
[all …]