Searched refs:sub_cs (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_cs.c | 248 tu_cs_begin_sub_stream(struct tu_cs *cs, uint32_t size, struct tu_cs *sub_cs) in tu_cs_begin_sub_stream() argument 257 tu_cs_init_external(sub_cs, cs->device, cs->cur, cs->reserved_end); in tu_cs_begin_sub_stream() 258 tu_cs_begin(sub_cs); in tu_cs_begin_sub_stream() 259 result = tu_cs_reserve_space(sub_cs, size); in tu_cs_begin_sub_stream() 307 tu_cs_end_sub_stream(struct tu_cs *cs, struct tu_cs *sub_cs) in tu_cs_end_sub_stream() argument 311 assert(sub_cs->start == cs->cur && sub_cs->end == cs->reserved_end); in tu_cs_end_sub_stream() 312 tu_cs_sanity_check(sub_cs); in tu_cs_end_sub_stream() 314 tu_cs_end(sub_cs); in tu_cs_end_sub_stream() 316 cs->cur = sub_cs->cur; in tu_cs_end_sub_stream()
|
D | tu_cs.h | 52 tu_cs_begin_sub_stream(struct tu_cs *cs, uint32_t size, struct tu_cs *sub_cs); 61 tu_cs_end_sub_stream(struct tu_cs *cs, struct tu_cs *sub_cs); 64 tu_cs_end_draw_state(struct tu_cs *cs, struct tu_cs *sub_cs) in tu_cs_end_draw_state() argument 66 struct tu_cs_entry entry = tu_cs_end_sub_stream(cs, sub_cs); in tu_cs_end_draw_state() 77 tu_cs_draw_state(struct tu_cs *sub_cs, struct tu_cs *cs, uint32_t size) in tu_cs_draw_state() argument 82 tu_cs_alloc(sub_cs, size, 1, &memory); in tu_cs_draw_state() 83 tu_cs_init_external(cs, sub_cs->device, memory.map, memory.map + size); in tu_cs_draw_state()
|
D | tu_cmd_buffer.c | 1057 VkResult result = tu_cs_alloc(&cmd->sub_cs, subpass->input_count * 2, in tu_emit_input_attachments() 1130 struct tu_draw_state ds = tu_cs_draw_state(&cmd->sub_cs, &cs, 9); in tu_emit_input_attachments() 1428 tu_cs_init(&cmd_buffer->sub_cs, device, TU_CS_MODE_SUB_STREAM, 2048); in tu_create_cmd_buffer() 1444 tu_cs_finish(&cmd_buffer->sub_cs); in tu_cmd_buffer_destroy() 1464 tu_cs_reset(&cmd_buffer->sub_cs); in tu_reset_cmd_buffer() 1668 cmd->state.vertex_buffers.iova = tu_cs_draw_state(&cmd->sub_cs, &cs, 4 * MAX_VBS).iova; in tu_CmdBindVertexBuffers2EXT() 1694 tu_cs_draw_state(&cmd->sub_cs, &cs, 2 * MAX_VBS).iova; in tu_CmdBindVertexBuffers2EXT() 1816 VkResult result = tu_cs_alloc(&cmd->sub_cs, layout->dynamic_offset_count, in tu_CmdBindDescriptorSets() 1833 cmd->state.desc_sets = tu_cs_draw_state(&cmd->sub_cs, &state_cs, 24); in tu_CmdBindDescriptorSets() 1880 VkResult result = tu_cs_alloc(&cmd->sub_cs, in tu_CmdPushDescriptorSetKHR() [all …]
|
D | tu_device.c | 1585 struct tu_cs sub_cs; in tu_CreateDevice() local 1587 result = tu_cs_begin_sub_stream(cs, 3, &sub_cs); in tu_CreateDevice() 1594 tu_cs_emit_regs(&sub_cs, A6XX_CP_SCRATCH_REG(PERF_CNTRS_REG, 1 << i)); in tu_CreateDevice() 1595 tu_cs_emit_pkt7(&sub_cs, CP_WAIT_FOR_ME, 0); in tu_CreateDevice() 1597 device->perfcntrs_pass_cs_entries[i] = tu_cs_end_sub_stream(cs, &sub_cs); in tu_CreateDevice()
|
D | tu_private.h | 1085 struct tu_cs sub_cs; member
|
D | tu_clear_blit.c | 802 VkResult result = tu_cs_alloc(&cmd->sub_cs, in r3d_src_common() 1940 VkResult result = tu_cs_alloc(&cmd->sub_cs, DIV_ROUND_UP(dataSize, 64), 64 / 4, &tmp); in tu_CmdUpdateBuffer()
|