/external/libdrm/tests/kms/ |
libkms-test-device.c | 105 struct kms_crtc *crtc; local 113 device->crtcs = calloc(res->count_crtcs, sizeof(crtc)); 118 crtc = kms_crtc_create(device, res->crtcs[i]); 119 if (!crtc) 122 device->crtcs[i] = crtc;
|
libkms-test-plane.c | 56 plane->crtc = device->crtcs[i]; 121 err = drmModeSetPlane(device->fd, plane->id, plane->crtc->id, fb->id,
|
kms-universal-planes.c | 234 printf(" CRTC: %x\n", plane->crtc->id);
|
/external/drm_hwcomposer/ |
vsyncworker.cpp | 135 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); 136 if (!crtc) { 137 ALOGE("Failed to get crtc for display"); 140 uint32_t high_crtc = (crtc->pipe() << DRM_VBLANK_HIGH_CRTC_SHIFT);
|
platformnv.cpp | 201 static DrmPlane *GetCrtcPrimaryPlane(DrmCrtc *crtc, 204 if ((*i)->GetCrtcSupported(*crtc)) { 215 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, 232 // crtc, we know we'll only hit this case once. So we blindly insert the 238 crtc, i->first); 268 precomp_plane, crtc, i->first); 328 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, 354 precomp_plane, crtc, i->first);
|
drmplane.cpp | 136 bool DrmPlane::GetCrtcSupported(const DrmCrtc &crtc) const { 137 return !!((1 << crtc.pipe()) & possible_crtc_mask_);
|
drmplane.h | 41 bool GetCrtcSupported(const DrmCrtc &crtc) const;
|
drmresources.h | 58 int GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name,
|
drmdisplaycompositor.cpp | 570 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display_); 571 if (!crtc) { 572 ALOGE("Could not locate crtc for display %d", display_); 583 ret = drmModeAtomicAddProperty(pset, crtc->id(), crtc->mode_property().id(), 587 crtc->id()) < 0; 597 DrmCrtc *crtc = comp_plane.crtc(); 686 plane->crtc_property().id(), crtc->id()) < 0; 967 int ret = dst->Init(drm_, src->crtc(), src->importer(), src->planner() [all...] |
drmdisplaycomposition.cpp | 44 int DrmDisplayComposition::Init(DrmResources *drm, DrmCrtc *crtc, 48 crtc_ = crtc; // Can be NULL if we haven't modeset yet 523 << " crtc=" << (crtc_ ? crtc_->id() : -1)
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
Drm.cpp | 160 // get an attached crtc or spare crtc 162 ITRACE("Drm encoder has crtc attached on device %d", device); 163 output->crtc = drmModeGetCrtc(mDrmFd, output->encoder->crtc_id); 164 if (!output->crtc) { 165 ETRACE("failed to get crtc from a known crtc id"); 166 // fall through to get a spare crtc 169 if (!output->crtc) { 170 ITRACE("getting crtc for device %d", device) 171 drmModeCrtcPtr crtc; local [all...] |
Drm.h | 83 drmModeCrtcPtr crtc; member in struct:android::intel::Drm::DrmOutput
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
Drm.cpp | 160 // get an attached crtc or spare crtc 162 ILOGTRACE("Drm encoder has crtc attached on device %d", device); 163 output->crtc = drmModeGetCrtc(mDrmFd, output->encoder->crtc_id); 164 if (!output->crtc) { 165 ELOGTRACE("failed to get crtc from a known crtc id"); 166 // fall through to get a spare crtc 169 if (!output->crtc) { 170 ILOGTRACE("getting crtc for device %d", device) 171 drmModeCrtcPtr crtc; local [all...] |
Drm.h | 89 drmModeCrtcPtr crtc; member in struct:android::intel::Drm::DrmOutput
|
/external/autotest/client/cros/graphics/ |
drm.py | 129 crtc = self._l.drmModeGetCrtc(self._fd, crtc_id).contents 130 if crtc.mode_valid: 131 return crtc 136 Obtain the CRTC at a given index. 138 @param crtc_id: The CRTC to get. 145 crtc = self.getCrtc(crtc_id) 146 if crtc is None: 148 crtc = self.getCrtc(crtc_id) 149 if crtc is not None: 150 crtc._fd = self._f [all...] |
gbm.py | 4 buffer using DRM crtc info. 191 @param crtc_id: The CRTC to screenshot. 192 None for first found CRTC with mode set 193 or "internal" for crtc connected to internal LCD 194 or "external" for crtc connected to external display 195 or "usb" "evdi" or "udl" for crtc with valid mode on evdi 199 crtc = drm.getCrtc(crtc_id) 200 if crtc is not None: 202 framebuffer = crtc.fb()
|
/external/libdrm/tests/planetest/ |
dev.c | 22 printf(" -r, --crtc Index of crtc to use for test\n"); 26 void parse_arguments(int argc, char *argv[], int *card, int *crtc) 30 { "crtc", required_argument, NULL, 'r' }, 37 *crtc = -1; 57 printf("Invalid crtc value '%s'!\n", optarg); 61 *crtc = optarg[0] - '0'; 66 if (*card < 0 || *crtc < 0) { 201 dev->crtcs[i].crtc = drmModeGetCrtc(dev->fd, r->crtcs[i]); 202 if (!dev->crtcs[i].crtc) { [all...] |
/hardware/intel/img/psb_video/src/x11/ |
psb_xrandr.c | 189 drv_debug_msg(VIDEO_DEBUG_ERROR, "Failed to get crtc info\n"); 235 drv_debug_msg(VIDEO_DEBUG_ERROR, "Failed to get crtc info\n"); 265 if (p_output->crtc) { 268 psb_xrandr_info->local_crtc[0] = p_output->crtc; 269 if (psb_xrandr_info->mipi0_rotation != p_output->crtc->rotation) { 270 psb_xrandr_info->mipi0_rotation = p_output->crtc->rotation; 280 if (p_output->crtc) { 283 psb_xrandr_info->local_crtc[1] = p_output->crtc; 284 if (psb_xrandr_info->mipi1_rotation != p_output->crtc->rotation) { 285 psb_xrandr_info->mipi1_rotation = p_output->crtc->rotation [all...] |
psb_xrandr.h | 130 psb_xrandr_crtc_p crtc; member in struct:_psb_xrandr_output_s
|
/external/libdrm/ |
xf86drmMode.c | 354 * Crtc functions 359 struct drm_mode_crtc crtc; local 362 memclear(crtc); 363 crtc.crtc_id = crtcId; 365 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCRTC, &crtc)) 375 r->crtc_id = crtc.crtc_id; 376 r->x = crtc.x; 377 r->y = crtc.y; 378 r->mode_valid = crtc.mode_valid; 380 memcpy(&r->mode, &crtc.mode, sizeof(struct drm_mode_modeinfo)) 393 struct drm_mode_crtc crtc; local [all...] |
/external/syslinux/gpxe/src/arch/i386/include/ |
vga.h | 168 u8 crtc[CRTC_C]; member in struct:vga_par
|
/external/libdrm/tests/exynos/ |
exynos_fimg2d_test.c | 45 int crtc; member in struct:connector 111 if (c->crtc == -1) 112 c->crtc = c->encoder->crtc_id; 120 ret = drmModeSetCrtc(dev->fd, c->crtc, 734 con.crtc = -1; 740 &con.crtc,
|
/device/linaro/hikey/gralloc/ |
framebuffer_device.cpp | 121 int crtc = 0; local 123 if (ioctl(fbdev_fd, FBIO_WAITFORVSYNC, &crtc) < 0)
|
/external/libdrm/include/drm/ |
drm.h | 520 __u32 crtc; member in struct:drm_modeset_ctl
|
/hardware/intel/img/psb_video/src/ |
psb_overlay.c | [all...] |