Searched refs:sub_cs (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_cs.c | 261 tu_cs_begin_sub_stream(struct tu_cs *cs, uint32_t size, struct tu_cs *sub_cs) in tu_cs_begin_sub_stream() argument 270 tu_cs_init_external(sub_cs, cs->device, cs->cur, cs->reserved_end); in tu_cs_begin_sub_stream() 271 tu_cs_begin(sub_cs); in tu_cs_begin_sub_stream() 272 result = tu_cs_reserve_space(sub_cs, size); in tu_cs_begin_sub_stream() 320 tu_cs_end_sub_stream(struct tu_cs *cs, struct tu_cs *sub_cs) in tu_cs_end_sub_stream() argument 323 assert(sub_cs->start == cs->cur && sub_cs->end == cs->reserved_end); in tu_cs_end_sub_stream() 324 tu_cs_sanity_check(sub_cs); in tu_cs_end_sub_stream() 326 tu_cs_end(sub_cs); in tu_cs_end_sub_stream() 328 cs->cur = sub_cs->cur; in tu_cs_end_sub_stream()
|
D | tu_cs.h | 134 tu_cs_begin_sub_stream(struct tu_cs *cs, uint32_t size, struct tu_cs *sub_cs); 143 tu_cs_end_sub_stream(struct tu_cs *cs, struct tu_cs *sub_cs); 146 tu_cs_end_draw_state(struct tu_cs *cs, struct tu_cs *sub_cs) in tu_cs_end_draw_state() argument 148 struct tu_cs_entry entry = tu_cs_end_sub_stream(cs, sub_cs); in tu_cs_end_draw_state() 159 tu_cs_draw_state(struct tu_cs *sub_cs, struct tu_cs *cs, uint32_t size) in tu_cs_draw_state() argument 164 tu_cs_alloc(sub_cs, size, 1, &memory); in tu_cs_draw_state() 165 tu_cs_init_external(cs, sub_cs->device, memory.map, memory.map + size); in tu_cs_draw_state()
|
D | tu_cmd_buffer.c | 1109 VkResult result = tu_cs_alloc(&cmd->sub_cs, subpass->input_count * 2, in tu_emit_input_attachments() 1203 struct tu_draw_state ds = tu_cs_draw_state(&cmd->sub_cs, &cs, 9); in tu_emit_input_attachments() 1598 tu_cs_init(&cmd_buffer->sub_cs, device, TU_CS_MODE_SUB_STREAM, 2048); in tu_create_cmd_buffer() 1616 tu_cs_finish(&cmd_buffer->sub_cs); in tu_cmd_buffer_destroy() 1646 tu_cs_reset(&cmd_buffer->sub_cs); in tu_reset_cmd_buffer() 1884 cmd->state.vertex_buffers.iova = tu_cs_draw_state(&cmd->sub_cs, &cs, 4 * MAX_VBS).iova; in tu_CmdBindVertexBuffers2EXT() 1910 tu_cs_draw_state(&cmd->sub_cs, &cs, 2 * MAX_VBS).iova; in tu_CmdBindVertexBuffers2EXT() 2044 VkResult result = tu_cs_alloc(&cmd->sub_cs, in tu_CmdBindDescriptorSets() 2062 cmd->state.desc_sets = tu_cs_draw_state(&cmd->sub_cs, &state_cs, 24); in tu_CmdBindDescriptorSets() 2109 VkResult result = tu_cs_alloc(&cmd->sub_cs, in tu_CmdPushDescriptorSetKHR() [all …]
|
D | tu_cmd_buffer.h | 570 struct tu_cs sub_cs; member
|
D | tu_device.c | 1977 struct tu_cs sub_cs; in tu_CreateDevice() local 1979 result = tu_cs_begin_sub_stream(cs, 3, &sub_cs); in tu_CreateDevice() 1986 tu_cs_emit_regs(&sub_cs, A6XX_CP_SCRATCH_REG(PERF_CNTRS_REG, 1 << i)); in tu_CreateDevice() 1987 tu_cs_emit_pkt7(&sub_cs, CP_WAIT_FOR_ME, 0); in tu_CreateDevice() 1989 device->perfcntrs_pass_cs_entries[i] = tu_cs_end_sub_stream(cs, &sub_cs); in tu_CreateDevice()
|
D | tu_clear_blit.c | 903 VkResult result = tu_cs_alloc(&cmd->sub_cs, in r3d_src_common() 2152 VkResult result = tu_cs_alloc(&cmd->sub_cs, DIV_ROUND_UP(dataSize, 64), 64 / 4, &tmp); in tu_CmdUpdateBuffer()
|