Home
last modified time | relevance | path

Searched refs:drm (Results 1 – 25 of 42) sorted by relevance

12

/hardware/intel/common/libva/va/wayland/
Dva_wayland_drm.c46 struct wl_drm *drm; member
53 drm_handle_device(void *data, struct wl_drm *drm, const char *device) in drm_handle_device() argument
81 wl_drm_authenticate(wl_drm_ctx->drm, magic); in drm_handle_device()
85 drm_handle_format(void *data, struct wl_drm *drm, uint32_t format) in drm_handle_format() argument
90 drm_handle_authenticated(void *data, struct wl_drm *drm) in drm_handle_authenticated() argument
125 if (wl_drm_ctx->drm) { in va_wayland_drm_destroy()
126 wl_drm_destroy(wl_drm_ctx->drm); in va_wayland_drm_destroy()
127 wl_drm_ctx->drm = NULL; in va_wayland_drm_destroy()
158 wl_drm_ctx->drm = in registry_handle_global()
181 wl_drm_ctx->drm = NULL; in va_wayland_drm_create()
[all …]
DMakefile.am37 $(top_srcdir)/va/drm/va_drm_utils.c \
52 wayland-drm-client-protocol.h \
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DExternalDevice.cpp101 Drm *drm = Hwcomposer::getInstance().getDrm(); in setDrmMode() local
103 drm->getModeInfo(mType, mode); in setDrmMode()
104 if (drm->isSameDrmMode(&value, &mode)) in setDrmMode()
133 Drm *drm = Hwcomposer::getInstance().getDrm(); in setDrmMode() local
152 if (!drm->setDrmMode(mType, mPendingDrmMode)) { in setDrmMode()
259 Drm *drm = Hwcomposer::getInstance().getDrm(); in getRefreshRate() local
261 if (!drm->getModeInfo(IDisplayDevice::DEVICE_EXTERNAL, mode)) in getRefreshRate()
277 Drm *drm = Hwcomposer::getInstance().getDrm(); in setRefreshRate() local
279 if (!drm->getModeInfo(IDisplayDevice::DEVICE_EXTERNAL, mode)) in setRefreshRate()
301 drm->setRefreshRate(IDisplayDevice::DEVICE_EXTERNAL, hz); in setRefreshRate()
DPhysicalDevice.cpp169 Drm *drm = Hwcomposer::getInstance().getDrm(); in getDisplaySize() local
170 bool ret = drm->getModeInfo(mType, mode); in getDisplaySize()
289 Drm *drm = Hwcomposer::getInstance().getDrm(); in detectDisplayConfigs() local
290 if (!drm->detect(mType)) { in detectDisplayConfigs()
300 Drm *drm = Hwcomposer::getInstance().getDrm(); in updateDisplayConfigs() local
306 mConnected = drm->isConnected(mType); in updateDisplayConfigs()
315 ret = drm->getModeInfo(mType, mode); in updateDisplayConfigs()
323 ret = drm->getPhysicalSize(mType, mmWidth, mmHeight); in updateDisplayConfigs()
358 modes = drm->detectAllConfigs(mType, &modeCount); in updateDisplayConfigs()
520 Drm *drm = Hwcomposer::getInstance().getDrm(); in setPowerMode() local
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DVsyncControl.cpp61 Drm *drm = Hwcomposer::getInstance().getDrm(); in control() local
62 return drm->writeReadIoctl(DRM_PSB_VSYNC_SET, &arg, sizeof(arg)); in control()
77 Drm *drm = Hwcomposer::getInstance().getDrm(); in wait() local
78 bool ret = drm->writeReadIoctl(DRM_PSB_VSYNC_SET, &arg, sizeof(arg)); in wait()
DPrepareListener.cpp40 Drm *drm = Hwcomposer::getInstance().getDrm(); in onProtectedLayerStart() local
41 int ret = drmCommandNone(drm->getDrmFd(), DRM_PSB_HDCP_DISPLAY_IED_ON); in onProtectedLayerStart()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DVsyncControl.cpp61 Drm *drm = Hwcomposer::getInstance().getDrm(); in control() local
62 return drm->writeReadIoctl(DRM_PSB_VSYNC_SET, &arg, sizeof(arg)); in control()
77 Drm *drm = Hwcomposer::getInstance().getDrm(); in wait() local
78 bool ret = drm->writeReadIoctl(DRM_PSB_VSYNC_SET, &arg, sizeof(arg)); in wait()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/
DExternalDevice.cpp114 Drm *drm = Hwcomposer::getInstance().getDrm(); in setDrmMode() local
116 drm->getModeInfo(mType, mode); in setDrmMode()
117 if (drm->isSameDrmMode(&value, &mode)) in setDrmMode()
146 Drm *drm = Hwcomposer::getInstance().getDrm(); in setDrmMode() local
165 if (!drm->setDrmMode(mType, mPendingDrmMode)) { in setDrmMode()
269 Drm *drm = Hwcomposer::getInstance().getDrm(); in setRefreshRate() local
271 if (!drm->getModeInfo(IDisplayDevice::DEVICE_EXTERNAL, mode)) in setRefreshRate()
284 drm->setRefreshRate(IDisplayDevice::DEVICE_EXTERNAL, hz); in setRefreshRate()
DPhysicalDevice.cpp165 Drm *drm = Hwcomposer::getInstance().getDrm(); in getDisplaySize() local
166 bool ret = drm->getModeInfo(mType, mode); in getDisplaySize()
286 Drm *drm = Hwcomposer::getInstance().getDrm(); in detectDisplayConfigs() local
287 if (!drm->detect(mType)) { in detectDisplayConfigs()
297 Drm *drm = Hwcomposer::getInstance().getDrm(); in updateDisplayConfigs() local
303 mConnected = drm->isConnected(mType); in updateDisplayConfigs()
312 ret = drm->getModeInfo(mType, mode); in updateDisplayConfigs()
320 ret = drm->getPhysicalSize(mType, mmWidth, mmHeight); in updateDisplayConfigs()
355 modes = drm->detectAllConfigs(mType, &modeCount); in updateDisplayConfigs()
/hardware/intel/common/libva/va/
DMakefile.am90 SUBDIRS += drm subdir
91 lib_LTLIBRARIES += libva-drm.la
94 libva_drm_la_DEPENDENCIES = libva.la drm/libva_drm.la
95 libva_drm_la_LIBADD = libva.la drm/libva_drm.la \
141 DIST_SUBDIRS = x11 glx egl drm wayland
/hardware/intel/common/libmix/mix_video/src/
Dtest.c68 MixDrmParams *drm = mix_drmparams_new (); in main() local
74 mix_video_initialize (video, mode, init_params, drm); in main()
81 mix_params_unref (MIX_PARAMS (drm)); in main()
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnCursorPlane.cpp183 Drm *drm = Hwcomposer::getInstance().getDrm(); in enablePlane() local
184 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
206 Drm *drm = Hwcomposer::getInstance().getDrm(); in isDisabled() local
207 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in isDisabled()
DAnnRGBPlane.cpp218 Drm *drm = Hwcomposer::getInstance().getDrm(); in enablePlane() local
219 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
245 Drm *drm = Hwcomposer::getInstance().getDrm(); in isDisabled() local
246 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in isDisabled()
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngCursorPlane.cpp201 Drm *drm = Hwcomposer::getInstance().getDrm(); in enablePlane() local
202 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
224 Drm *drm = Hwcomposer::getInstance().getDrm(); in isDisabled() local
225 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in isDisabled()
DTngGrallocBufferMapper.cpp77 Drm *drm = Hwcomposer::getInstance().getDrm(); in gttMap() local
78 ret = drm->writeReadIoctl(DRM_PSB_GTT_MAP, &arg, sizeof(arg)); in gttMap()
104 Drm *drm = Hwcomposer::getInstance().getDrm(); in gttUnmap() local
105 ret = drm->writeIoctl(DRM_PSB_GTT_UNMAP, &arg, sizeof(arg)); in gttUnmap()
DTngSpritePlane.cpp143 Drm *drm = Hwcomposer::getInstance().getDrm(); in enablePlane() local
144 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
179 Drm *drm = Hwcomposer::getInstance().getDrm(); in isDisabled() local
180 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in isDisabled()
DTngPrimaryPlane.cpp95 Drm *drm = Hwcomposer::getInstance().getDrm(); in enablePlane() local
96 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
DTngOverlayPlane.cpp207 Drm *drm = Hwcomposer::getInstance().getDrm(); in flush() local
208 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in flush()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnCursorPlane.cpp204 Drm *drm = Hwcomposer::getInstance().getDrm(); in enablePlane() local
205 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
227 Drm *drm = Hwcomposer::getInstance().getDrm(); in isDisabled() local
228 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in isDisabled()
DAnnRGBPlane.cpp276 Drm *drm = Hwcomposer::getInstance().getDrm(); in enablePlane() local
277 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
303 Drm *drm = Hwcomposer::getInstance().getDrm(); in isDisabled() local
304 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in isDisabled()
/hardware/intel/common/libva/pkgconfig/
DMakefile.am26 pcfiles += libva-drm.pc
43 all_pcfiles_in += libva-drm.pc.in
Dlibva-drm.pc.in5 display=drm
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
DTngGrallocBufferMapper.cpp77 Drm *drm = Hwcomposer::getInstance().getDrm(); in gttMap() local
78 ret = drm->writeReadIoctl(DRM_PSB_GTT_MAP, &arg, sizeof(arg)); in gttMap()
104 Drm *drm = Hwcomposer::getInstance().getDrm(); in gttUnmap() local
105 ret = drm->writeIoctl(DRM_PSB_GTT_UNMAP, &arg, sizeof(arg)); in gttUnmap()
/hardware/intel/common/libva/va/wayland/protocol/
DMakefile.am24 wayland-drm.xml \
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/planes/
DDisplayPlane.cpp351 Drm *drm = Hwcomposer::getInstance().getDrm(); in assignToDevice() local
352 if (!drm->getModeInfo(mDevice, mModeInfo)) { in assignToDevice()
356 mPanelOrientation = drm->getPanelOrientation(mDevice); in assignToDevice()
359 drm->getDisplayResolution(disp, mDisplayWidth, mDisplayHeight); in assignToDevice()

12