Home
last modified time | relevance | path

Searched refs:drm_fd (Results 1 – 17 of 17) sorted by relevance

/hardware/intel/common/libva/test/common/
Dva_display_drm.c35 static int drm_fd = -1; variable
40 drm_fd = open("/dev/dri/card0", O_RDWR); in va_open_display_drm()
41 if (drm_fd < 0) { in va_open_display_drm()
45 return vaGetDisplayDRM(drm_fd); in va_open_display_drm()
51 if (drm_fd < 0) in va_close_display_drm()
54 close(drm_fd); in va_close_display_drm()
55 drm_fd = -1; in va_close_display_drm()
/hardware/intel/img/psb_video/src/android/
Dpsb_HDMIExtMode.c76 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/
Dpsb_overlay.c154 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs)); in I830UpdateGamma()
180 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs)); in I830StopVideo()
188 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs)); in I830StopVideo()
195 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs)); in I830StopVideo()
202 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs)); in I830StopVideo()
209 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs)); in I830StopVideo()
214 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs)); in I830StopVideo()
221 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs)); in I830StopVideo()
257 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs));
273 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs));
[all …]
Dpsb_buffer_dm.c74 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_buffer_info_ci()
233 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_buffer_info_rar()
Dpsb_drv_video.c384 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_get_active_entrypoint_number()
1014 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_new_context()
1030 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_update_context()
1047 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_rm_context()
1363 obj_context->msvdx_context = ((driver_data->drm_fd & 0xf) << 4) | in psb_CreateContext()
2479 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_SyncSurface()
2649 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset,
2935 ret = drmGetLock(driver_data->drm_fd, driver_data->drm_context, 0);
2948 DRM_UNLOCK(driver_data->drm_fd, driver_data->drm_lock, driver_data->drm_context);
2971 driver_data->drm_fd = -1;
[all …]
Dpsb_surface.c397 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_surface_set_displaying()
Dvsp_cmdbuf.c439 ret = vspDRMCmdBuf(driver_data->drm_fd, driver_data->execIoctlOffset, in vsp_context_flush_cmdbuf()
Dpsb_drv_video.h202 int drm_fd; member
Dpnw_cmdbuf.c600 …ret = pnwDRMCmdBuf(driver_data->drm_fd, driver_data->execIoctlOffset, /* FIXME Still use ioctl cmd… in pnw_context_flush_cmdbuf()
Dtng_cmdbuf.c777 …ret = ptgDRMCmdBuf(driver_data->drm_fd, driver_data->execIoctlOffset, /* FIXME Still use ioctl cmd… in tng_context_flush_cmdbuf()
Dpsb_texture.c209 driver_data->dup_drm_fd = dup(driver_data->drm_fd); in psb_fix_drmfd_closesequence()
Dpsb_cmdbuf.c941 ret = psbDRMCmdBuf(driver_data->drm_fd, driver_data->execIoctlOffset, cmdbuf->buffer_refs, in psb_context_flush_cmdbuf()
Dpsb_output.c445 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in psb_CheckIEDStatus()
/hardware/intel/img/psb_video/src/mrst/
Dlnc_cmdbuf.c506 ret = drmCommandWriteRead(driver_data->drm_fd, driver_data->getParamIoctlOffset, in lnc_surface_get_frameskip()
561 ret = lncDRMCmdBuf(driver_data->drm_fd, driver_data->execIoctlOffset, in lnc_context_flush_cmdbuf()
/hardware/qcom/msm8x27/original-kernel-headers/linux/
Dmsm_kgsl.h516 int kgsl_gem_obj_addr(int drm_fd, int handle, unsigned long *start,
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_kgsl.h918 int kgsl_gem_obj_addr(int drm_fd, int handle, unsigned long *start,
/hardware/intel/img/psb_video/src/x11/
Dpsb_coverlay.c838 drmCommandWriteRead(driver_data->drm_fd, DRM_PSB_REGISTER_RW, &regs, sizeof(regs)); in psb_init_subpicture()