Searched refs:alloc_resource (Results 1 – 3 of 3) sorted by relevance
/external/libdrm/tests/amdgpu/ |
D | vce_tests.c | 205 static void alloc_resource(struct amdgpu_vce_bo *vce_bo, unsigned size, unsigned domain) in alloc_resource() function 261 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_create() 453 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode() 455 alloc_resource(&enc.fb[1], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode() 457 alloc_resource(&enc.bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode() 459 alloc_resource(&enc.bs[1], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode() 461 alloc_resource(&enc.vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode() 463 alloc_resource(&enc.cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode() 529 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_destroy()
|
D | uvd_enc_tests.c | 196 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()
|
D | vcn_tests.c | 190 static void alloc_resource(struct amdgpu_vcn_bo *vcn_bo, in alloc_resource() function 254 alloc_resource(&msg_buf, 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_create() 296 alloc_resource(&dec_buf, size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_decode() 359 alloc_resource(&msg_buf, 1024, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_destroy()
|