/hardware/intel/img/psb_video/src/ |
D | psb_buffer_dm.c | 41 static VAStatus psb_buffer_offset_camerav4l2(psb_driver_data_p driver_data, in psb_buffer_offset_camerav4l2() argument 52 static VAStatus psb_buffer_offset_cameraci(psb_driver_data_p driver_data, in psb_buffer_offset_cameraci() argument 64 static int psb_buffer_info_ci(psb_driver_data_p driver_data) in psb_buffer_info_ci() argument 70 driver_data->camera_phyaddr = driver_data->camera_size = 0; in psb_buffer_info_ci() 74 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_buffer_info_ci() 77 driver_data->camera_phyaddr = camera_info[0]; in psb_buffer_info_ci() 78 driver_data->camera_size = camera_info[1]; in psb_buffer_info_ci() 80 driver_data->camera_phyaddr, driver_data->camera_size / 1024); in psb_buffer_info_ci() 93 static VAStatus psb_buffer_init_camera(psb_driver_data_p driver_data) in psb_buffer_init_camera() argument 100 driver_data->camera_bo = calloc(1, sizeof(struct psb_buffer_s)); in psb_buffer_init_camera() [all …]
|
D | pnw_rotate.c | 55 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData 57 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 58 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 59 #define CONFIG(id) ((object_config_p) object_heap_lookup( &driver_data->config_heap, id )) 132 driver_data->va_rotate = VA_ROTATION_NONE; in psb_InitOutLoop() 135 driver_data->mipi0_rotation = VA_ROTATION_NONE; in psb_InitOutLoop() 136 driver_data->mipi1_rotation = VA_ROTATION_NONE; in psb_InitOutLoop() 137 driver_data->hdmi_rotation = VA_ROTATION_NONE; in psb_InitOutLoop() 140 driver_data->local_rotation = VA_ROTATION_NONE; in psb_InitOutLoop() 141 driver_data->extend_rotation = VA_ROTATION_NONE; in psb_InitOutLoop() [all …]
|
D | psb_drv_video.c | 126 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData; 129 …int < PSB_MAX_ENTRYPOINTS)) ? (profile == VAProfileNone? driver_data->vpp_profile : driver_data->p… 132 …int < PSB_MAX_ENTRYPOINTS)) ? (profile == VAProfileNone? driver_data->vpp_profile : driver_data->p… 135 #define CONFIG(id) ((object_config_p) object_heap_lookup( &driver_data->config_heap, id )) 136 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 137 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 138 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 150 void psb_init_surface_pvr2dbuf(psb_driver_data_p driver_data); 151 void psb_free_surface_pvr2dbuf(psb_driver_data_p driver_data); 184 if (IS_MRFL(driver_data) || IS_BAYTRAIL(driver_data)) { in psb_QueryConfigProfiles() [all …]
|
D | psb_texture.c | 62 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData; 64 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 65 #define SUBPIC(id) ((object_subpic_p) object_heap_lookup( &driver_data->subpic_heap, id )) 207 void psb_fix_drmfd_closesequence(psb_driver_data_p driver_data) in psb_fix_drmfd_closesequence() argument 209 driver_data->dup_drm_fd = dup(driver_data->drm_fd); in psb_fix_drmfd_closesequence() 217 struct psb_texture_s *texture_priv = &driver_data->ctexture_priv; in psb_ctexture_init() 220 ret = pvr_context_create(&driver_data->hPVR2DContext); in psb_ctexture_init() 273 psb_fix_drmfd_closesequence(driver_data); in psb_ctexture_init() 284 struct psb_texture_s *texture_priv = &driver_data->ctexture_priv; in psb_ctexture_deinit() 287 ePVR2DStatus = PVR2DMemFree(driver_data->hPVR2DContext, texture_priv->blt_meminfo_pixmap); in psb_ctexture_deinit() [all …]
|
D | psb_drv_video.h | 354 #define IS_CTP(driver_data) 0 argument 355 #define IS_MFLD(driver_data) 0 argument 356 #define IS_MRFL(driver_data) 1 argument 357 #define IS_MRST(driver_data) 0 argument 359 #define IS_CTP(driver_data) (((driver_data->dev_id & 0xffff) == 0x08c0) || \ argument 360 ((driver_data->dev_id & 0xffff) == 0x08c7) || \ 361 ((driver_data->dev_id & 0xffff) == 0x08c8)) 362 #define IS_MRST(driver_data) ((driver_data->dev_id & 0xFFFC) == 0x4100) argument 363 …driver_data) (((driver_data->dev_id & 0xFFFC) == 0x0130) || ((driver_data->dev_id & 0xFFFF) == 0x0… argument 364 #define IS_MRFL(driver_data) (((driver_data->dev_id & 0xFFFC) == 0x1180) || ((driver_data->dev_id &… argument [all …]
|
D | psb_buffer.c | 64 VAStatus psb_buffer_create(psb_driver_data_p driver_data, in psb_buffer_create() argument 80 buf->driver_data = driver_data; /* only for RAR buffers */ in psb_buffer_create() 95 if (IS_CTP(driver_data)) /* CTP support cache snoop */ in psb_buffer_create() 144 ret = LOCK_HARDWARE(driver_data); in psb_buffer_create() 146 UNLOCK_HARDWARE(driver_data); in psb_buffer_create() 174 ret = wsbmGenBuffers(driver_data->main_pool, 1, &buf->drm_buf, in psb_buffer_create() 178 UNLOCK_HARDWARE(driver_data); in psb_buffer_create() 184 UNLOCK_HARDWARE(driver_data); in psb_buffer_create() 204 VAStatus psb_buffer_create_from_ub(psb_driver_data_p driver_data, in psb_buffer_create_from_ub() argument 223 buf->driver_data = driver_data; /* only for RAR buffers */ in psb_buffer_create_from_ub() [all …]
|
D | psb_buffer.h | 81 psb_driver_data_p driver_data; /* for RAR buffer release */ member 91 VAStatus psb_buffer_create(psb_driver_data_p driver_data, 102 VAStatus psb_buffer_create_from_ub(psb_driver_data_p driver_data, 120 VAStatus psb_buffer_reference(psb_driver_data_p driver_data, 127 VAStatus psb_kbuffer_reference(psb_driver_data_p driver_data, 135 void psb__suspend_buffer(psb_driver_data_p driver_data, object_buffer_p obj_buffer); 167 VAStatus psb_buffer_create_camera(psb_driver_data_p driver_data, 178 VAStatus psb_buffer_create_camera_from_ub(psb_driver_data_p driver_data, 184 VAStatus psb_buffer_reference_imr(psb_driver_data_p driver_data,
|
D | psb_surface_attrib.c | 42 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData; 44 #define CONFIG(id) ((object_config_p) object_heap_lookup( &driver_data->config_heap, id )) 45 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 46 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 47 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 54 psb_driver_data_p driver_data, in psb_surface_create_from_ub() argument 117 ret = psb_buffer_create_from_ub(driver_data, psb_surface->size, in psb_surface_create_from_ub() 122 ret = psb_buffer_create_from_ub(driver_data, psb_surface->size, in psb_surface_create_from_ub() 146 if (IS_MRST(driver_data) == 0 && IS_MFLD(driver_data) == 0) { 163 surfaceID = object_heap_allocate(&driver_data->surface_heap); [all …]
|
D | psb_output.c | 56 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverDat… 58 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 59 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 60 #define IMAGE(id) ((object_image_p) object_heap_lookup( &driver_data->image_heap, id )) 61 #define SUBPIC(id) ((object_subpic_p) object_heap_lookup( &driver_data->subpic_heap, id )) 62 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 101 pthread_mutex_init(&driver_data->output_mutex, NULL); in psb_initOutput() 105 driver_data->dummy_putsurface = 0; in psb_initOutput() 111 driver_data->fixed_fps = atoi(env_value); in psb_initOutput() 112 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Throttling at FPS=%d\n", driver_data->fixed_fps); in psb_initOutput() [all …]
|
D | psb_overlay.c | 53 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData 54 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 55 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 154 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, ®s, sizeof(regs)); in I830UpdateGamma() 162 PsbPortPrivPtr pPriv = (PsbPortPrivPtr)(&driver_data->coverlay_priv); in I830StopVideo() 180 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, ®s, sizeof(regs)); in I830StopVideo() 188 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, ®s, sizeof(regs)); in I830StopVideo() 195 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, ®s, sizeof(regs)); in I830StopVideo() 202 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, ®s, sizeof(regs)); in I830StopVideo() 209 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, ®s, sizeof(regs)); in I830StopVideo() [all …]
|
D | psb_surface_attrib.h | 38 psb_driver_data_p driver_data, 47 psb_driver_data_p driver_data, 61 psb_driver_data_p driver_data, 77 psb_driver_data_p driver_data, 90 psb_driver_data_p driver_data,
|
D | psb_surface.c | 39 VAStatus psb_surface_create(psb_driver_data_p driver_data, in psb_surface_create() argument 48 if ((flags & IS_ROTATED) || (driver_data->render_mode & VA_RENDER_MODE_LOCAL_OVERLAY)) in psb_surface_create() 152 ret = psb_buffer_create(driver_data, psb_surface->size, buffer_type, &psb_surface->buf); in psb_surface_create() 160 psb_driver_data_p driver_data, in psb_surface_create_for_userptr() argument 188 … ret = psb_buffer_create(driver_data, psb_surface->size, psb_bt_cpu_vpu_shared, &psb_surface->buf); in psb_surface_create_for_userptr() 194 psb_driver_data_p driver_data, in psb_surface_create_from_kbuf() argument 237 ret = psb_kbuffer_reference(driver_data, &psb_surface->buf, kbuf_handle); in psb_surface_create_from_kbuf() 247 VAStatus psb_surface_create_camera(psb_driver_data_p driver_data, in psb_surface_create_camera() argument 268 ret = psb_buffer_create_camera(driver_data, &psb_surface->buf, in psb_surface_create_camera() 286 VAStatus psb_surface_create_camera_from_ub(psb_driver_data_p driver_data, in psb_surface_create_camera_from_ub() argument [all …]
|
D | pnw_cmdbuf.c | 75 psb_driver_data_p driver_data, in pnw_cmdbuf_create() argument 95 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_only, &cmdbuf->buf); in pnw_cmdbuf_create() 107 …vaStatus = psb_buffer_create(driver_data, ctx->pic_params_size * MAX_TOPAZ_CORES, psb_bt_cpu_vpu, … in pnw_cmdbuf_create() 112 …vaStatus = psb_buffer_create(driver_data, ctx->header_buffer_size, psb_bt_cpu_vpu, &cmdbuf->header… in pnw_cmdbuf_create() 117 …vaStatus = psb_buffer_create(driver_data, ctx->sliceparam_buffer_size, psb_bt_cpu_vpu, &cmdbuf->sl… in pnw_cmdbuf_create() 496 lnc_fence_wait(psb_driver_data_p driver_data, 511 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class, 542 int pnw_surface_get_frameskip(psb_driver_data_p __maybe_unused driver_data, in pnw_surface_get_frameskip() argument 564 psb_driver_data_p driver_data = obj_context->driver_data; in pnw_context_flush_cmdbuf() local 575 ret = LOCK_HARDWARE(driver_data); in pnw_context_flush_cmdbuf() [all …]
|
D | tng_cmdbuf.c | 124 psb_driver_data_p driver_data, in tng_cmdbuf_create() argument 146 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_only, &cmdbuf->buf); in tng_cmdbuf_create() 165 …vaStatus = psb_buffer_create(driver_data, COMM_CMD_FRAME_BUF_NUM * cmdbuf->mem_size, psb_bt_cpu_vp… in tng_cmdbuf_create() 178 …vaStatus = psb_buffer_create(driver_data, ctx->jpeg_pic_params_size, psb_bt_cpu_vpu, &cmdbuf->jpeg… in tng_cmdbuf_create() 186 …vaStatus = psb_buffer_create(driver_data, ctx->jpeg_header_mem_size, psb_bt_cpu_vpu, &cmdbuf->jpeg… in tng_cmdbuf_create() 194 …vaStatus = psb_buffer_create(driver_data, ctx->jpeg_header_interface_mem_size, psb_bt_cpu_vpu, &cm… in tng_cmdbuf_create() 382 psb_driver_data_p driver_data = ctx->obj_context->driver_data; in tng_cmdbuf_insert_command() local 659 lnc_fence_wait(psb_driver_data_p driver_data, 674 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class, 705 int tng_surface_get_frameskip(psb_driver_data_p __maybe_unused driver_data, in tng_surface_get_frameskip() argument [all …]
|
D | vsp_cmdbuf.c | 49 psb_driver_data_p driver_data, in vsp_cmdbuf_create() argument 70 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_only, &cmdbuf->buf); in vsp_cmdbuf_create() 76 vaStatus = psb_buffer_create(driver_data, ctx->param_sz, psb_bt_cpu_vpu, &cmdbuf->param_mem); in vsp_cmdbuf_create() 403 psb_driver_data_p driver_data = obj_context->driver_data; in vsp_context_flush_cmdbuf() local 414 ret = LOCK_HARDWARE(driver_data); in vsp_context_flush_cmdbuf() 416 UNLOCK_HARDWARE(driver_data); in vsp_context_flush_cmdbuf() 439 ret = vspDRMCmdBuf(driver_data->drm_fd, driver_data->execIoctlOffset, in vsp_context_flush_cmdbuf() 445 UNLOCK_HARDWARE(driver_data); in vsp_context_flush_cmdbuf()
|
D | tng_yuv_processor.c | 40 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &dec_ctx->obj_context->driver_data->s… 215 psb_driver_data_p driver_data = obj_context->driver_data; in tng__yuv_processor_execute() local 237 psb_update_context(driver_data, obj_context->ctp_type); in tng__yuv_processor_execute() 268 psb_driver_data_p driver_data = obj_context->driver_data; in tng__yuv_processor_execute() local 278 psb_update_context(driver_data, obj_context->ctp_type); in tng__yuv_processor_execute() 375 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData; 376 #define CONFIG(id) ((object_config_p) object_heap_lookup( &driver_data->config_heap, id )) 377 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 378 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id ))
|
D | vsp_compose.c | 37 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData; 39 #define CONFIG(id) ((object_config_p) object_heap_lookup( &driver_data->config_heap, id )) 40 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 41 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 43 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surf…
|
D | psb_output.h | 159 VAStatus psb__destroy_subpicture(psb_driver_data_p driver_data, object_subpic_p obj_subpic); 160 VAStatus psb__destroy_image(psb_driver_data_p driver_data, object_image_p obj_image); 166 psb_driver_data_p driver_data, 357 psb_driver_data_p driver_data,
|
/hardware/intel/img/psb_video/src/android/ |
D | psb_output_android.c | 50 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData; 53 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 54 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 55 #define IMAGE(id) ((object_image_p) object_heap_lookup( &driver_data->image_heap, id )) 56 #define SUBPIC(id) ((object_subpic_p) object_heap_lookup( &driver_data->subpic_heap, id )) 57 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 116 driver_data->output_method = PSB_PUTSURFACE_OVERLAY; in psb_android_output_init() 117 driver_data->color_key = 0x000001; /*light blue*/ in psb_android_output_init() 121 driver_data->ctexture = 1; /* Init CTEXTURE for vaPutSurfaceBuf */ in psb_android_output_init() 126 driver_data->output_method = PSB_PUTSURFACE_FORCE_COVERLAY; in psb_android_output_init() [all …]
|
D | psb_surface_gralloc.c | 41 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData; 42 #define CONFIG(id) ((object_config_p) object_heap_lookup( &driver_data->config_heap, id )) 43 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 44 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 45 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 119 driver_data->protected = protected; in psb_CreateSurfacesFromGralloc() 146 driver_data->native_window = (void *)external_buffers->reserved[0]; in psb_CreateSurfacesFromGralloc() 153 surfaceID = object_heap_allocate(&driver_data->surface_heap); in psb_CreateSurfacesFromGralloc() 174 object_heap_free(&driver_data->surface_heap, (object_base_p) obj_surface); in psb_CreateSurfacesFromGralloc() 209 vaStatus = psb_surface_create_from_ub(driver_data, width, height, fourcc, in psb_CreateSurfacesFromGralloc() [all …]
|
D | psb_HDMIExtMode.c | 34 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData 76 drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_HDMIExt_update() 89 … hdmi_connector = drmModeGetConnector(driver_data->drm_fd, psb_HDMIExt_info->hdmi_connector_id); in psb_HDMIExt_update() 95 hdmi_encoder = drmModeGetEncoder(driver_data->drm_fd, hdmi_connector->encoder_id); in psb_HDMIExt_update() 101 hdmi_crtc = drmModeGetCrtc(driver_data->drm_fd, hdmi_encoder->crtc_id); in psb_HDMIExt_update() 156 resources = drmModeGetResources(driver_data->drm_fd); in psb_HDMIExt_init() 164 connector = drmModeGetConnector(driver_data->drm_fd, resources->connectors[i]); in psb_HDMIExt_init() 193 mipi_encoder = drmModeGetEncoder(driver_data->drm_fd, mipi_encoder_id); in psb_HDMIExt_init()
|
/hardware/intel/img/psb_video/src/x11/ |
D | psb_x11.c | 48 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData 51 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 52 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 53 #define IMAGE(id) ((object_image_p) object_heap_lookup( &driver_data->image_heap, id )) 54 #define SUBPIC(id) ((object_subpic_p) object_heap_lookup( &driver_data->subpic_heap, id )) 55 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 277 driver_data->extend_fullscreen = 1; in psb_x11_output_init() 281 driver_data->output_method = PSB_PUTSURFACE_X11; in psb_x11_output_init() 296 driver_data->coverlay = 1; in psb_x11_output_init() 297 driver_data->color_key = 0x11; in psb_x11_output_init() [all …]
|
D | psb_xvva.c | 43 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData; 46 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 167 driver_data->output_method = PSB_PUTSURFACE_TEXTURE; in psb_init_xvideo() 169 driver_data->output_method = PSB_PUTSURFACE_OVERLAY; in psb_init_xvideo() 232 if (driver_data->use_xrandr_thread && driver_data->xrandr_thread_id) { in psb_deinit_xvideo() 234 pthread_join(driver_data->xrandr_thread_id, NULL); in psb_deinit_xvideo() 235 driver_data->xrandr_thread_id = 0; in psb_deinit_xvideo() 250 psb_driver_data_p driver_data, in psb_surface_init() argument 276 if (driver_data->output_method == PSB_PUTSURFACE_FORCE_OVERLAY in psb_surface_init() 277 || driver_data->output_method == PSB_PUTSURFACE_OVERLAY) { in psb_surface_init() [all …]
|
D | psb_ctexture.c | 51 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData; 54 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 55 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 56 #define IMAGE(id) ((object_image_p) object_heap_lookup( &driver_data->image_heap, id )) 57 #define SUBPIC(id) ((object_subpic_p) object_heap_lookup( &driver_data->subpic_heap, id )) 58 #define CONTEXT(id) ((object_context_p) object_heap_lookup( &driver_data->context_heap, id )) 69 struct psb_texture_s *texture_priv = &driver_data->ctexture_priv; in psb_extend_dri_init() 93 …ret = PVR2DMemMap(driver_data->hPVR2DContext, 0, (PVR2D_HANDLE)extend_dri_buffer->dri2.name, &dri2… in psb_extend_dri_init() 102 …ret = PVR2DMemMap(driver_data->hPVR2DContext, 0, texture_priv->extend_dri2_bb_export.hBuffers[i], … in psb_extend_dri_init() 120 struct psb_texture_s *texture_priv = &driver_data->ctexture_priv; in psb_dri_reset_mem() [all …]
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_cmdbuf.c | 74 psb_driver_data_p driver_data, in lnc_cmdbuf_create() argument 94 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_only, &cmdbuf->buf); in lnc_cmdbuf_create() 106 …vaStatus = psb_buffer_create(driver_data, ctx->pic_params_size, psb_bt_cpu_vpu, &cmdbuf->pic_param… in lnc_cmdbuf_create() 111 …vaStatus = psb_buffer_create(driver_data, ctx->header_buffer_size, psb_bt_cpu_vpu, &cmdbuf->header… in lnc_cmdbuf_create() 116 …vaStatus = psb_buffer_create(driver_data, ctx->sliceparam_buffer_size, psb_bt_cpu_vpu, &cmdbuf->sl… in lnc_cmdbuf_create() 443 lnc_fence_wait(psb_driver_data_p driver_data, 458 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class, 488 int lnc_surface_get_frameskip(psb_driver_data_p driver_data, psb_surface_p surface, int *frame_skip) in lnc_surface_get_frameskip() argument 506 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in lnc_surface_get_frameskip() 525 psb_driver_data_p driver_data = obj_context->driver_data; in lnc_context_flush_cmdbuf() local [all …]
|