Searched refs:buffer_list (Results 1 – 9 of 9) sorted by relevance
/hardware/intel/img/psb_video/src/ |
D | vsp_cmdbuf.c | 38 vspDRMCmdBuf(int fd, int ioctl_offset, psb_buffer_p *buffer_list, int buffer_count, unsigned cmdBuf… 290 vspDRMCmdBuf(int fd, int ioctl_offset, psb_buffer_p *buffer_list, int buffer_count, unsigned cmdBuf… in vspDRMCmdBuf() argument 313 req->buffer_handle = wsbmKBufHandle(wsbmKBuf(buffer_list[i]->drm_buf)); in vspDRMCmdBuf() 318 req->presumed_gpu_offset = (uint64_t)wsbmBOOffsetHint(buffer_list[i]->drm_buf); in vspDRMCmdBuf() 320 req->unfence_flag = buffer_list[i]->unfence_flag; in vspDRMCmdBuf() 324 req->pad64 = (uint32_t)buffer_list[i]->pl_flags; in vspDRMCmdBuf() 328 ca.buffer_list = (uint64_t)((unsigned long)arg_list); in vspDRMCmdBuf() 358 wsbmUpdateKBuf(wsbmKBuf(buffer_list[i]->drm_buf), in vspDRMCmdBuf() 367 switch (buffer_list[i]->status) { in vspDRMCmdBuf() 369 buffer_list[i]->status = psb_bs_ready; in vspDRMCmdBuf() [all …]
|
D | pnw_cmdbuf.c | 398 pnwDRMCmdBuf(int fd, int ioctl_offset, psb_buffer_p *buffer_list, int buffer_count, unsigned cmdBuf… in pnwDRMCmdBuf() argument 422 req->buffer_handle = wsbmKBufHandle(wsbmKBuf(buffer_list[i]->drm_buf)); in pnwDRMCmdBuf() 427 req->presumed_gpu_offset = (uint64_t)wsbmBOOffsetHint(buffer_list[i]->drm_buf); in pnwDRMCmdBuf() 432 req->pad64 = (uint32_t)buffer_list[i]->pl_flags; in pnwDRMCmdBuf() 436 ca.buffer_list = (uint64_t)((unsigned long)arg_list); in pnwDRMCmdBuf() 466 wsbmUpdateKBuf(wsbmKBuf(buffer_list[i]->drm_buf), in pnwDRMCmdBuf() 475 switch (buffer_list[i]->status) { in pnwDRMCmdBuf() 477 buffer_list[i]->status = psb_bs_ready; in pnwDRMCmdBuf() 481 psb_buffer_destroy(buffer_list[i]); in pnwDRMCmdBuf() 482 free(buffer_list[i]); in pnwDRMCmdBuf()
|
D | tng_cmdbuf.c | 544 ptgDRMCmdBuf(int fd, int ioctl_offset, psb_buffer_p *buffer_list, int buffer_count, unsigned cmdBuf… in ptgDRMCmdBuf() argument 569 req->buffer_handle = wsbmKBufHandle(wsbmKBuf(buffer_list[i]->drm_buf)); in ptgDRMCmdBuf() 574 req->presumed_gpu_offset = (uint64_t)wsbmBOOffsetHint(buffer_list[i]->drm_buf); in ptgDRMCmdBuf() 579 req->pad64 = (IMG_UINT32)buffer_list[i]->pl_flags; in ptgDRMCmdBuf() 581 req->unfence_flag = buffer_list[i]->unfence_flag; in ptgDRMCmdBuf() 588 ca.buffer_list = (uint64_t)((unsigned long)arg_list); in ptgDRMCmdBuf() 629 wsbmUpdateKBuf(wsbmKBuf(buffer_list[i]->drm_buf), in ptgDRMCmdBuf() 638 switch (buffer_list[i]->status) { in ptgDRMCmdBuf() 640 buffer_list[i]->status = psb_bs_ready; in ptgDRMCmdBuf() 644 psb_buffer_destroy(buffer_list[i]); in ptgDRMCmdBuf() [all …]
|
D | psb_cmdbuf.c | 424 psbDRMCmdBuf(int fd, int ioctl_offset, psb_buffer_p *buffer_list, int buffer_count, unsigned cmdBuf… in psbDRMCmdBuf() argument 450 req->buffer_handle = wsbmKBufHandle(wsbmKBuf(buffer_list[i]->drm_buf)); in psbDRMCmdBuf() 455 req->presumed_gpu_offset = (uint64_t)wsbmBOOffsetHint(buffer_list[i]->drm_buf); in psbDRMCmdBuf() 457 req->pad64 = (uint32_t)buffer_list[i]->pl_flags; in psbDRMCmdBuf() 459 req->unfence_flag = buffer_list[i]->unfence_flag; in psbDRMCmdBuf() 464 ca.buffer_list = (uint64_t)((unsigned long)arg_list); in psbDRMCmdBuf() 479 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PSB submit: buffer_list = %08x\n", ca.buffer_list); in psbDRMCmdBuf() 536 wsbmUpdateKBuf(wsbmKBuf(buffer_list[i]->drm_buf), in psbDRMCmdBuf() 546 psb_buffer_p tmp = buffer_list[i]; in psbDRMCmdBuf() 553 if (buffer_list[i]->rar_handle == 0) in psbDRMCmdBuf()
|
D | psb_drv_video.c | 1132 …obj_context->buffer_list = (object_buffer_p *) calloc(1, sizeof(object_buffer_p) * obj_context->nu… in psb_CreateContext() 1133 if (obj_context->buffer_list == NULL) { in psb_CreateContext() 1234 free(obj_context->buffer_list); in psb_CreateContext() 1413 free(obj_context->buffer_list); in psb_CreateContext() 1700 if (obj_context->buffer_list) in psb__destroy_context() 1701 free(obj_context->buffer_list); in psb__destroy_context() 2271 object_buffer_p *buffer_list; in psb_RenderPicture() local 2284 free(obj_context->buffer_list); in psb_RenderPicture() 2286 … obj_context->buffer_list = (object_buffer_p *) calloc(1, sizeof(object_buffer_p) * num_buffers); in psb_RenderPicture() 2287 if (obj_context->buffer_list == NULL) { in psb_RenderPicture() [all …]
|
D | psb_drv_video.h | 418 object_buffer_p *buffer_list; /* for vaRenderPicture */ member
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_cmdbuf.c | 340 lncDRMCmdBuf(int fd, int ioctl_offset, psb_buffer_p *buffer_list, int buffer_count, unsigned cmdBuf… in lncDRMCmdBuf() argument 364 req->buffer_handle = wsbmKBufHandle(wsbmKBuf(buffer_list[i]->drm_buf)); in lncDRMCmdBuf() 369 req->presumed_gpu_offset = (uint64_t)wsbmBOOffsetHint(buffer_list[i]->drm_buf); in lncDRMCmdBuf() 379 req->pad64 = (uint32_t)buffer_list[i]->pl_flags; in lncDRMCmdBuf() 383 ca.buffer_list = (uint64_t)((unsigned long)arg_list); in lncDRMCmdBuf() 413 wsbmUpdateKBuf(wsbmKBuf(buffer_list[i]->drm_buf), in lncDRMCmdBuf() 422 switch (buffer_list[i]->status) { in lncDRMCmdBuf() 424 buffer_list[i]->status = psb_bs_ready; in lncDRMCmdBuf() 428 psb_buffer_destroy(buffer_list[i]); in lncDRMCmdBuf() 429 free(buffer_list[i]); in lncDRMCmdBuf()
|
/hardware/intel/common/libva/test/basic/ |
D | test_10.c | 59 void test_unique_buffers(VABufferID *buffer_list, int buffer_count) in test_unique_buffers() argument 67 ASSERT(buffer_list[i] != buffer_list[j]); in test_unique_buffers()
|
D | test_11.c | 59 void test_unique_buffers(VABufferID *buffer_list, int buffer_count) in test_unique_buffers() argument 67 ASSERT(buffer_list[i] != buffer_list[j]); in test_unique_buffers()
|