Home
last modified time | relevance | path

Searched refs:alloc_resource (Results 1 – 4 of 4) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Dvce_tests.c240 static void alloc_resource(struct amdgpu_vce_bo *vce_bo, unsigned size, unsigned domain) in alloc_resource() function
296 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_create()
496 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
498 alloc_resource(&enc.fb[1], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
500 alloc_resource(&enc.bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
502 alloc_resource(&enc.bs[1], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
504 alloc_resource(&enc.vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode()
506 alloc_resource(&enc.cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode()
678 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode_mv()
680 alloc_resource(&enc.bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode_mv()
[all …]
Duvd_enc_tests.c196 static void alloc_resource(struct amdgpu_uvd_enc_bo *uvd_enc_bo, in alloc_resource() function
250 alloc_resource(&enc.session, 128 * 1024, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_uvd_enc_create()
339 alloc_resource(&enc.fb, 4096, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()
341 alloc_resource(&enc.bs, bs_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()
343 alloc_resource(&enc.vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()
345 alloc_resource(&enc.cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()
Dvcn_tests.c235 static void alloc_resource(struct amdgpu_vcn_bo *vcn_bo, in alloc_resource() function
299 alloc_resource(&msg_buf, 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_create()
343 alloc_resource(&dec_buf, size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_decode()
409 alloc_resource(&msg_buf, 1024, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_destroy()
Djpeg_tests.c277 static void alloc_resource(struct amdgpu_jpeg_bo *jpeg_bo, unsigned size, in alloc_resource() function
541 alloc_resource(&dec_buf, size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_jpeg_decode()