Home
last modified time | relevance | path

Searched refs:num_resources (Results 1 – 23 of 23) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Dvcn_tests.c72 static unsigned num_resources; variable
205 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
298 num_resources = 0; in amdgpu_cs_vcn_dec_create()
300 resources[num_resources++] = msg_buf.handle; in amdgpu_cs_vcn_dec_create()
301 resources[num_resources++] = ib_handle; in amdgpu_cs_vcn_dec_create()
342 num_resources = 0; in amdgpu_cs_vcn_dec_decode()
344 resources[num_resources++] = dec_buf.handle; in amdgpu_cs_vcn_dec_decode()
345 resources[num_resources++] = ib_handle; in amdgpu_cs_vcn_dec_decode()
408 num_resources = 0; in amdgpu_cs_vcn_dec_destroy()
410 resources[num_resources++] = msg_buf.handle; in amdgpu_cs_vcn_dec_destroy()
[all …]
Dcs_tests.c52 static unsigned num_resources; variable
165 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
251 num_resources = 0; in amdgpu_cs_uvd_create()
252 resources[num_resources++] = buf_handle; in amdgpu_cs_uvd_create()
253 resources[num_resources++] = ib_handle; in amdgpu_cs_uvd_create()
351 num_resources = 0; in amdgpu_cs_uvd_decode()
352 resources[num_resources++] = buf_handle; in amdgpu_cs_uvd_decode()
353 resources[num_resources++] = ib_handle; in amdgpu_cs_uvd_decode()
451 num_resources = 0; in amdgpu_cs_uvd_destroy()
452 resources[num_resources++] = buf_handle; in amdgpu_cs_uvd_destroy()
[all …]
Dvce_tests.c82 static unsigned num_resources; variable
210 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
295 num_resources = 0; in amdgpu_cs_vce_create()
297 resources[num_resources++] = enc.fb[0].handle; in amdgpu_cs_vce_create()
298 resources[num_resources++] = ib_handle; in amdgpu_cs_vce_create()
495 num_resources = 0; in amdgpu_cs_vce_encode()
497 resources[num_resources++] = enc.fb[0].handle; in amdgpu_cs_vce_encode()
499 resources[num_resources++] = enc.fb[1].handle; in amdgpu_cs_vce_encode()
501 resources[num_resources++] = enc.bs[0].handle; in amdgpu_cs_vce_encode()
503 resources[num_resources++] = enc.bs[1].handle; in amdgpu_cs_vce_encode()
[all …]
Duvd_enc_tests.c71 static unsigned num_resources; variable
166 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
249 num_resources = 0; in amdgpu_cs_uvd_enc_create()
251 resources[num_resources++] = enc.session.handle; in amdgpu_cs_uvd_enc_create()
252 resources[num_resources++] = ib_handle; in amdgpu_cs_uvd_enc_create()
338 num_resources = 0; in amdgpu_cs_uvd_enc_encode()
340 resources[num_resources++] = enc.fb.handle; in amdgpu_cs_uvd_enc_encode()
342 resources[num_resources++] = enc.bs.handle; in amdgpu_cs_uvd_enc_encode()
344 resources[num_resources++] = enc.vbuf.handle; in amdgpu_cs_uvd_enc_encode()
346 resources[num_resources++] = enc.cpb.handle; in amdgpu_cs_uvd_enc_encode()
[all …]
Djpeg_tests.c138 static unsigned num_resources; variable
248 r = amdgpu_bo_list_create(device_handle, num_resources, resources, NULL, in submit()
540 num_resources = 0; in amdgpu_cs_jpeg_decode()
542 resources[num_resources++] = dec_buf.handle; in amdgpu_cs_jpeg_decode()
543 resources[num_resources++] = ib_handle; in amdgpu_cs_jpeg_decode()
Dcp_dma_tests.c59 static unsigned num_resources; variable
217 num_resources, resources, in submit_and_sync()
277 num_resources = 3; in cp_dma_cmd()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.c444 assert(ss->hud.num_resources > 0); in svga_resource_destroy()
445 if (ss->hud.num_resources > 0) in svga_resource_destroy()
446 ss->hud.num_resources--; in svga_resource_destroy()
476 assert(ss->hud.num_resources > 0); in svga_resource_destroy()
477 if (ss->hud.num_resources > 0) in svga_resource_destroy()
478 ss->hud.num_resources--; in svga_resource_destroy()
565 ss->hud.num_resources++; in svga_buffer_create()
608 ss->hud.num_resources++; in svga_user_buffer_create()
Dsvga_screen.h99 uint64_t num_resources; member
Dsvga_resource_texture.c1122 svgascreen->hud.num_resources++; in svga_texture_create()
1213 ss->hud.num_resources++; in svga_texture_from_handle()
Dsvga_pipe_query.c1194 vresult->u64 = svgascreen->hud.num_resources; in svga_get_query_result()
Dsvga_tgsi_vgpu10.c10375 unsigned num_resources = in emit_load() local
10397 loop_instruction(0, num_resources, &indirect_addr_src, in emit_load()
10596 unsigned num_resources = in emit_store() local
10618 loop_instruction(0, num_resources, &indirect_addr_src, in emit_store()
10720 unsigned num_resources = in emit_atomic() local
10732 loop_instruction(0, num_resources, &indirect_addr_src, in emit_atomic()
/third_party/mesa3d/src/gallium/drivers/virgl/tests/
Dvirgl_staging_mgr_test.cpp160 const unsigned num_resources = sizeof(alloc_sizes) / sizeof(alloc_sizes[0]); in TEST_P() local
161 struct virgl_hw_res *out_resource[num_resources] = {0}; in TEST_P()
167 for (unsigned i = 0; i < num_resources; ++i) { in TEST_P()
185 release_resources(out_resource, num_resources); in TEST_P()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_descriptors.c50 unsigned num_resources; member
68 unsigned num_resources; member
316 pool->num_resources += pool_key->layout->bindings[i].descriptorCount; in descriptor_pool_create()
658 unsigned num_resources = pool->num_resources; in allocate_desc_set() local
664 samplers = rzalloc_array(pool, void*, num_resources * bucket_size); in allocate_desc_set()
668 surfaces = rzalloc_array(pool, struct zink_descriptor_surface, num_resources * bucket_size); in allocate_desc_set()
672 res_objs = rzalloc_array(pool, struct zink_resource_object*, num_resources * bucket_size); in allocate_desc_set()
685 zds->num_resources = num_resources; in allocate_desc_set()
689 zds->sampler_states = (struct zink_sampler_state**)&samplers[i * num_resources]; in allocate_desc_set()
692 zds->surfaces = &surfaces[i * num_resources]; in allocate_desc_set()
[all …]
/third_party/libcoap/tests/
Dtest_wellknown.c144 const uint16_t num_resources = (sizeof(uris) / TEST_URI_LEN) - 1; in t_wellknown3() local
147 for (j = 0; j < num_resources; j++) { in t_wellknown3()
160 offset = num_resources * (TEST_URI_LEN + 4); in t_wellknown3()
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_screen.h50 int num_resources; member
Drbug_core.c178 texs = MALLOC(rb_screen->num_resources * sizeof(rbug_texture_t)); in rbug_texture_list()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_container.h96 uint32_t num_resources; member
Ddxil_container.c215 uint32_t resource_count = state->num_resources; in dxil_container_add_state_validation()
278 … !blob_write_bytes(&c->parts, state->resources.v0, resource_bind_info_size * state->num_resources)) in dxil_container_add_state_validation()
Dnir_to_dxil.c5633 state->num_resources = ctx->resources.size / resource_element_size; in dxil_fill_validation_state()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvdecoder.c582 guint num_resources; in gst_nv_decoder_copy_frame_to_gl_internal() local
589 num_resources = gst_buffer_n_memory (data->output_buffer); in gst_nv_decoder_copy_frame_to_gl_internal()
590 resources = g_newa (GstCudaGraphicsResource *, num_resources); in gst_nv_decoder_copy_frame_to_gl_internal()
592 for (i = 0; i < num_resources; i++) { in gst_nv_decoder_copy_frame_to_gl_internal()
618 for (i = 0; i < num_resources; i++) { in gst_nv_decoder_copy_frame_to_gl_internal()
656 for (i = 0; i < num_resources; i++) { in gst_nv_decoder_copy_frame_to_gl_internal()
Dgstnvdec.c1139 guint num_resources; in copy_video_frame_to_gl_textures() local
1154 num_resources = gst_buffer_n_memory (data->output_buffer); in copy_video_frame_to_gl_textures()
1155 resources = g_newa (GstCudaGraphicsResource *, num_resources); in copy_video_frame_to_gl_textures()
1157 for (i = 0; i < num_resources; i++) { in copy_video_frame_to_gl_textures()
1190 for (i = 0; i < num_resources; i++) { in copy_video_frame_to_gl_textures()
1227 for (i = 0; i < num_resources; i++) { in copy_video_frame_to_gl_textures()
Dgstnvbaseenc.c2128 guint num_resources; in _map_gl_input_buffer() local
2132 num_resources = gst_buffer_n_memory (data->buffer); in _map_gl_input_buffer()
2133 resources = g_newa (GstCudaGraphicsResource *, num_resources); in _map_gl_input_buffer()
2135 for (i = 0; i < num_resources; i++) { in _map_gl_input_buffer()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h21860 u32 num_resources; member