/hardware/intel/img/psb_video/src/ |
D | psb_buffer.c | 174 ret = wsbmGenBuffers(driver_data->main_pool, 1, &buf->drm_buf, in psb_buffer_create() 176 if (!buf->drm_buf) { in psb_buffer_create() 183 ret = wsbmBOData(buf->drm_buf, size, NULL, NULL, 0); in psb_buffer_create() 192 size, wsbmBOOffsetHint(buf->drm_buf)); in psb_buffer_create() 253 ret = wsbmGenBuffers(driver_data->main_pool, 1, &buf->drm_buf, in psb_buffer_create_from_ub() 255 if (!buf->drm_buf) { in psb_buffer_create_from_ub() 264 ret = wsbmBODataUB(buf->drm_buf, size, NULL, NULL, 0, vaddr); in psb_buffer_create_from_ub() 266 …alloc wsbm buffers, buf->drm_buf is 0x%x, size is %d, vaddr is 0x%x\n", buf->drm_buf, size, vaddr); in psb_buffer_create_from_ub() 271 vaddr, size, wsbmBOOffsetHint(buf->drm_buf)); in psb_buffer_create_from_ub() 293 ret = wsbmBOSetStatus(buf->drm_buf, set_placement, clr_placement); [all …]
|
D | tng_cmdbuf.c | 289 && (wsbmKBufHandle(wsbmKBuf(cmdbuf->buffer_refs[item_loc]->drm_buf)) in tng_cmdbuf_buffer_ref() 290 != wsbmKBufHandle(wsbmKBuf(buf->drm_buf)))) in tng_cmdbuf_buffer_ref() 336 uint64_t presumed_offset = wsbmBOOffsetHint(ref_buffer->drm_buf); in tng_cmdbuf_add_relocation() 468 *(cmdbuf->cmd_idx)++ = wsbmKBufHandle(wsbmKBuf(ctx->bufs_writeback.drm_buf)); in tng_cmdbuf_insert_command() 474 *(cmdbuf->cmd_idx)++ = wsbmKBufHandle(wsbmKBuf(data_addr->drm_buf)); in tng_cmdbuf_insert_command() 476 *(cmdbuf->cmd_idx)++ = wsbmKBufHandle(wsbmKBuf(ps_mem->bufs_mb_ctrl_in_params.drm_buf)); in tng_cmdbuf_insert_command() 477 … *(cmdbuf->cmd_idx)++ = wsbmKBufHandle(wsbmKBuf(ps_mem->bufs_first_pass_out_params.drm_buf)); in tng_cmdbuf_insert_command() 478 …->cmd_idx)++ = wsbmKBufHandle(wsbmKBuf(ps_mem->bufs_first_pass_out_best_multipass_param.drm_buf)); in tng_cmdbuf_insert_command() 482 *(cmdbuf->cmd_idx)++ = wsbmKBufHandle(wsbmKBuf(ctx->bufs_writeback.drm_buf)); in tng_cmdbuf_insert_command() 569 req->buffer_handle = wsbmKBufHandle(wsbmKBuf(buffer_list[i]->drm_buf)); in ptgDRMCmdBuf() [all …]
|
D | vsp_cmdbuf.c | 170 && (wsbmKBufHandle(wsbmKBuf(cmdbuf->buffer_refs[item_loc]->drm_buf)) in vsp_cmdbuf_buffer_ref() 171 != wsbmKBufHandle(wsbmKBuf(buf->drm_buf)))) { in vsp_cmdbuf_buffer_ref() 215 uint64_t presumed_offset = wsbmBOOffsetHint(ref_buffer->drm_buf); in vsp_cmdbuf_add_relocation() 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() 357 wsbmUpdateKBuf(wsbmKBuf(buffer_list[i]->drm_buf), in vspDRMCmdBuf() 439 cmdbuf->buffer_refs, cmdbuf->buffer_refs_count, wsbmKBufHandle(wsbmKBuf(cmdbuf->buf.drm_buf)), in vsp_context_flush_cmdbuf() 441 wsbmKBufHandle(wsbmKBuf(cmdbuf->buf.drm_buf)), reloc_offset, num_relocs, in vsp_context_flush_cmdbuf()
|
D | psb_buffer_dm.c | 194 ret = wsbmGenBuffers(driver_data->main_pool, 1, &buf->drm_buf, in psb_buffer_create_camera_from_ub() 196 if (!buf->drm_buf) { in psb_buffer_create_camera_from_ub() 203 ret = wsbmBODataUB(buf->drm_buf, size, NULL, NULL, 0, user_ptr); in psb_buffer_create_camera_from_ub() 210 user_ptr, size, wsbmBOOffsetHint(buf->drm_buf)); in psb_buffer_create_camera_from_ub() 333 imr_offset, wsbmBOOffsetHint(buf->drm_buf)); in psb_buffer_reference_imr()
|
D | pnw_cmdbuf.c | 226 && (wsbmKBufHandle(wsbmKBuf(cmdbuf->buffer_refs[item_loc]->drm_buf)) in pnw_cmdbuf_buffer_ref() 227 != wsbmKBufHandle(wsbmKBuf(buf->drm_buf)))) in pnw_cmdbuf_buffer_ref() 273 uint64_t presumed_offset = wsbmBOOffsetHint(ref_buffer->drm_buf); in pnw_cmdbuf_add_relocation() 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() 466 wsbmUpdateKBuf(wsbmKBuf(buffer_list[i]->drm_buf), in pnwDRMCmdBuf() 601 … cmdbuf->buffer_refs, cmdbuf->buffer_refs_count, wsbmKBufHandle(wsbmKBuf(cmdbuf->buf.drm_buf)), in pnw_context_flush_cmdbuf() 603 wsbmKBufHandle(wsbmKBuf(cmdbuf->buf.drm_buf)), reloc_offset, num_relocs, in pnw_context_flush_cmdbuf()
|
D | psb_surface.c | 347 wsbmBOWaitIdle(psb_surface->buf.drm_buf, 0); in psb_surface_sync() 357 ret = wsbmBOSyncForCpu(psb_surface->buf.drm_buf, synccpu_flag); in psb_surface_query_status() 360 (void) wsbmBOReleaseFromCpu(psb_surface->buf.drm_buf, synccpu_flag); in psb_surface_query_status() 381 value.buf_handle = (uint32_t)(wsbmKBufHandle(wsbmKBuf(psb_surface->buf.drm_buf))); in psb_surface_set_displaying()
|
D | psb_cmdbuf.c | 260 && (wsbmKBufHandle(wsbmKBuf(cmdbuf->buffer_refs[item_loc]->drm_buf)) in psb_cmdbuf_buffer_ref() 261 != wsbmKBufHandle(wsbmKBuf(buf->drm_buf)))) { in psb_cmdbuf_buffer_ref() 330 uint64_t presumed_offset = wsbmBOOffsetHint(ref_buffer->drm_buf); in psb_cmdbuf_add_relocation() 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() 536 wsbmUpdateKBuf(wsbmKBuf(buffer_list[i]->drm_buf), in psbDRMCmdBuf() 725 deblock_msg->mb_param_address = wsbmKBufHandle(wsbmKBuf(buf_a->drm_buf)); in psb_context_submit_host_be_opp() 943 wsbmKBufHandle(wsbmKBuf(cmdbuf->reloc_buf.drm_buf)), in psb_context_flush_cmdbuf() 945 wsbmKBufHandle(wsbmKBuf(cmdbuf->reloc_buf.drm_buf)), in psb_context_flush_cmdbuf() 978 … debug_lldma_count, wsbmBOOffsetHint(cmdbuf->buf.drm_buf) + CMD_SIZE); in psb_context_flush_cmdbuf() [all …]
|
D | psb_buffer.h | 70 struct _WsbmBufferObject *drm_buf; member
|
D | vsp_cmdbuf.h | 93 *cmdbuf->cmd_idx++ = wsbmKBufHandle(wsbmKBuf((ref_buf)->drm_buf));} while(0)
|
D | vsp_compose.c | 214 vsp_cmdbuf_fence_compose_param(cmdbuf, wsbmKBufHandle(wsbmKBuf(cmdbuf->param_mem.drm_buf))); in vsp_compose_process_pipeline_param()
|
D | pnw_rotate.c | 542 (uint32_t)(wsbmKBufHandle(wsbmKBuf(psb_surface->buf.drm_buf))); in psb_CreateScalingSurface() 718 (uint32_t)(wsbmKBufHandle(wsbmKBuf(rotate_surface->buf.drm_buf))); in psb_CreateRotateSurface()
|
D | psb_overlay.c | 1036 struct _WsbmBufferObject *drm_buf; in I830PutImage() local 1174 drm_buf = psb_surface->buf.drm_buf; in I830PutImage() 1175 gtt_ofs = wsbmBOOffsetHint(drm_buf) & 0x0FFFFFFF; in I830PutImage()
|
D | vsp_VPP.c | 676 …icture_param->output_picture[i].surface_id = wsbmKBufHandle(wsbmKBuf(output_surface->buf.drm_buf)); in vsp__VPP_process_pipeline_param() 710 vsp_cmdbuf_fence_pic_param(cmdbuf, wsbmKBufHandle(wsbmKBuf(cmdbuf->param_mem.drm_buf))); in vsp__VPP_process_pipeline_param() 1317 cell_pipeline_param->intermediate_buffer_base = wsbmBOOffsetHint(ctx->intermediate_buf->drm_buf); in vsp_set_pipeline()
|
D | vsp_vp8.c | 483 *cmdbuf->cmd_idx++ = wsbmKBufHandle(wsbmKBuf(pObj->psb_buffer->drm_buf)) ; in vsp_vp8_process_picture_param() 484 *cmdbuf->cmd_idx++ = wsbmKBufHandle(wsbmKBuf((&cmdbuf->param_mem)->drm_buf)); in vsp_vp8_process_picture_param()
|
D | psb_drv_video.c | 2407 handle = wsbmKBufHandle(wsbmKBuf(obj_surface->psb_surface->buf.drm_buf)); in psb_SyncSurface() 2576 handle = wsbmKBufHandle(wsbmKBuf(obj_surface->psb_surface->buf.drm_buf)); 2728 *buffer_name = (uint32_t)(wsbmKBufHandle(wsbmKBuf(psb_surface->buf.drm_buf))); 2827 psb_surface->stride, psb_surface->buf.drm_buf,
|
D | psb_texture.c | 488 tmp_buffer = wsbmBOMap(psb_surface->buf.drm_buf, WSBM_ACCESS_READ | WSBM_ACCESS_WRITE); in psb_wrap_surface_pvr2dbuf()
|
D | psb_output.c | 1331 surface_subpic->bo = obj_buffer->psb_buffer->drm_buf; in psb__LinkSubpictIntoSurface() 1332 surface_subpic->bufid = wsbmKBufHandle(wsbmKBuf(obj_buffer->psb_buffer->drm_buf)); in psb__LinkSubpictIntoSurface()
|
D | pnw_hostcode.c | 897 … wsbmBOOffsetHint(src_surface->psb_surface->buf.drm_buf), srf_buf_offset); in pnw_RenderPictureParameter()
|
D | pnw_H264.c | 942 wsbmBOWaitIdle(ctx->reference_cache.drm_buf, 0); in psb__H264_process_slice_header_group()
|
/hardware/intel/img/psb_video/src/x11/ |
D | psb_ctexture.c | 412 psb_surface->stride, psb_surface->buf.drm_buf, in psb_putsurface_ctexture() 418 psb_surface->stride, psb_surface->buf.drm_buf, in psb_putsurface_ctexture() 470 psb_surface->stride, psb_surface->buf.drm_buf, in psb_putsurface_ctexture() 475 psb_surface->stride, psb_surface->buf.drm_buf, in psb_putsurface_ctexture() 489 psb_surface->stride, psb_surface->buf.drm_buf, in psb_putsurface_ctexture() 494 psb_surface->stride, psb_surface->buf.drm_buf, in psb_putsurface_ctexture() 507 psb_surface->stride, psb_surface->buf.drm_buf, in psb_putsurface_ctexture() 512 psb_surface->stride, psb_surface->buf.drm_buf, in psb_putsurface_ctexture()
|
D | psb_xvva.c | 761 psb_surface->buf.drm_buf, flags); in psb_putsurface_xvideo() 791 output->rotate_surface->buf.drm_buf, 0); in psb_putsurface_xvideo()
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_cmdbuf.c | 264 uint64_t presumed_offset = wsbmBOOffsetHint(ref_buffer->drm_buf); in lnc_cmdbuf_add_relocation() 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() 413 wsbmUpdateKBuf(wsbmKBuf(buffer_list[i]->drm_buf), in lncDRMCmdBuf() 562 … cmdbuf->buffer_refs, cmdbuf->buffer_refs_count, wsbmKBufHandle(wsbmKBuf(cmdbuf->buf.drm_buf)), in lnc_context_flush_cmdbuf() 564 wsbmKBufHandle(wsbmKBuf(cmdbuf->buf.drm_buf)), reloc_offset, num_relocs, in lnc_context_flush_cmdbuf()
|
D | lnc_hostcode.c | 420 … wsbmBOOffsetHint(src_surface->psb_surface->buf.drm_buf), srf_buf_offset); in lnc_RenderPictureParameter()
|
/hardware/intel/img/psb_video/src/android/ |
D | psb_surface_gralloc.c | 404 … obj_surface->share_info->khandle = (uint32_t)(wsbmKBufHandle(wsbmKBuf(psb_surface->buf.drm_buf))); in psb_CreateSurfacesFromGralloc()
|
D | psb_output_android.c | 179 psb_surface->stride, psb_surface->buf.drm_buf, in psb_putsurface_ctexture()
|