Lines Matching refs:cs_iface

991 	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()
1090 struct panthor_fw_cs_iface *cs_iface = in cs_slot_sync_queue_state_locked() local
1095 switch (cs_iface->output->status_blocked_reason) { in cs_slot_sync_queue_state_locked()
1098 cs_iface->output->status_scoreboards == 0) in cs_slot_sync_queue_state_locked()
1111 if (!cs_iface->output->status_scoreboards) in cs_slot_sync_queue_state_locked()
1114 queue->syncwait.gpu_va = cs_iface->output->status_wait_sync_ptr; in cs_slot_sync_queue_state_locked()
1115 queue->syncwait.ref = cs_iface->output->status_wait_sync_value; in cs_slot_sync_queue_state_locked()
1116 status_wait_cond = cs_iface->output->status_wait & CS_STATUS_WAIT_SYNC_COND_MASK; in cs_slot_sync_queue_state_locked()
1118 if (cs_iface->output->status_wait & CS_STATUS_WAIT_SYNC_64B) { in cs_slot_sync_queue_state_locked()
1119 u64 sync_val_hi = cs_iface->output->status_wait_sync_value_hi; in cs_slot_sync_queue_state_locked()
1290 struct panthor_fw_cs_iface *cs_iface; in cs_slot_process_fatal_event_locked() local
1296 cs_iface = panthor_fw_get_cs_iface(ptdev, csg_id, cs_id); in cs_slot_process_fatal_event_locked()
1297 fatal = cs_iface->output->fatal; in cs_slot_process_fatal_event_locked()
1298 info = cs_iface->output->fatal_info; in cs_slot_process_fatal_event_locked()
1334 struct panthor_fw_cs_iface *cs_iface; in cs_slot_process_fault_event_locked() local
1340 cs_iface = panthor_fw_get_cs_iface(ptdev, csg_id, cs_id); in cs_slot_process_fault_event_locked()
1341 fault = cs_iface->output->fault; in cs_slot_process_fault_event_locked()
1342 info = cs_iface->output->fault_info; in cs_slot_process_fault_event_locked()
1386 struct panthor_fw_cs_iface *cs_iface; in group_process_tiler_oom() local
1388 cs_iface = panthor_fw_get_cs_iface(ptdev, csg_id, cs_id); in group_process_tiler_oom()
1390 heap_address = cs_iface->output->heap_address; in group_process_tiler_oom()
1391 vt_start = cs_iface->output->heap_vt_start; in group_process_tiler_oom()
1392 vt_end = cs_iface->output->heap_vt_end; in group_process_tiler_oom()
1393 frag_end = cs_iface->output->heap_frag_end; in group_process_tiler_oom()
1432 struct panthor_fw_cs_iface *cs_iface; in group_process_tiler_oom() local
1435 cs_iface = panthor_fw_get_cs_iface(ptdev, csg_id, cs_id); in group_process_tiler_oom()
1437 cs_iface->input->heap_start = new_chunk_va; in group_process_tiler_oom()
1438 cs_iface->input->heap_end = new_chunk_va; in group_process_tiler_oom()
1439 panthor_fw_update_reqs(cs_iface, req, cs_iface->output->ack, CS_TILER_OOM); in group_process_tiler_oom()
1501 struct panthor_fw_cs_iface *cs_iface; in cs_slot_process_irq_locked() local
1506 cs_iface = panthor_fw_get_cs_iface(ptdev, csg_id, cs_id); in cs_slot_process_irq_locked()
1507 req = cs_iface->input->req; in cs_slot_process_irq_locked()
1508 ack = cs_iface->output->ack; in cs_slot_process_irq_locked()
1523 panthor_fw_update_reqs(cs_iface, req, ack, CS_FATAL | CS_FAULT); in cs_slot_process_irq_locked()
3504 struct panthor_fw_cs_iface *cs_iface = panthor_fw_get_cs_iface(ptdev, 0, 0); in panthor_sched_init() local
3539 sched->sb_slot_count = CS_FEATURES_SCOREBOARDS(cs_iface->control->features); in panthor_sched_init()