Home
last modified time | relevance | path

Searched refs:crtc (Results 1 – 9 of 9) sorted by relevance

/hardware/intel/img/libdrm/tests/modetest/
Dmodetest.c212 drmModeCrtc *crtc; in dump_crtcs() local
218 crtc = drmModeGetCrtc(fd, resources->crtcs[i]); in dump_crtcs()
220 if (!crtc) { in dump_crtcs()
226 crtc->crtc_id, in dump_crtcs()
227 crtc->buffer_id, in dump_crtcs()
228 crtc->x, crtc->y, in dump_crtcs()
229 crtc->width, crtc->height); in dump_crtcs()
230 dump_mode(&crtc->mode); in dump_crtcs()
232 drmModeFreeCrtc(crtc); in dump_crtcs()
273 int crtc; member
[all …]
/hardware/intel/img/libdrm/tests/modeprint/
Dmodeprint.c201 int printCrtc(int fd, drmModeResPtr res, drmModeCrtcPtr crtc, uint32_t id) in printCrtc() argument
205 printf("\tx : %i\n", crtc->x); in printCrtc()
206 printf("\ty : %i\n", crtc->y); in printCrtc()
207 printf("\twidth : %i\n", crtc->width); in printCrtc()
208 printf("\theight : %i\n", crtc->height); in printCrtc()
209 printf("\tmode : %p\n", &crtc->mode); in printCrtc()
210 printf("\tgamma size : %d\n", crtc->gamma_size); in printCrtc()
233 drmModeCrtcPtr crtc; in printRes() local
277 crtc = drmModeGetCrtc(fd, res->crtcs[i]); in printRes()
279 if (!crtc) in printRes()
[all …]
/hardware/intel/img/libdrm/libdrm/
Dxf86drmMode.c250 struct drm_mode_crtc crtc; in drmModeGetCrtc() local
253 crtc.crtc_id = crtcId; in drmModeGetCrtc()
255 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCRTC, &crtc)) in drmModeGetCrtc()
265 r->crtc_id = crtc.crtc_id; in drmModeGetCrtc()
266 r->x = crtc.x; in drmModeGetCrtc()
267 r->y = crtc.y; in drmModeGetCrtc()
268 r->mode_valid = crtc.mode_valid; in drmModeGetCrtc()
270 memcpy(&r->mode, &crtc.mode, sizeof(struct drm_mode_modeinfo)); in drmModeGetCrtc()
271 r->buffer_id = crtc.fb_id; in drmModeGetCrtc()
272 r->gamma_size = crtc.gamma_size; in drmModeGetCrtc()
[all …]
/hardware/intel/img/hwcomposer/common/base/
DDrm.cpp163 output->crtc = drmModeGetCrtc(mDrmFd, output->encoder->crtc_id); in detect()
164 if (!output->crtc) { in detect()
169 if (!output->crtc) { in detect()
171 drmModeCrtcPtr crtc; in detect() local
178 crtc = drmModeGetCrtc(mDrmFd, resources->crtcs[j]); in detect()
179 if (!crtc) { in detect()
185 if (crtc->buffer_id == 0) { in detect()
186 output->crtc = crtc; in detect()
190 drmModeFreeCrtc(crtc); in detect()
193 if (!output->crtc) { in detect()
[all …]
DDrm.h89 drmModeCrtcPtr crtc; member
/hardware/intel/img/psb_video/src/x11/
Dpsb_xrandr.c265 if (p_output->crtc) { in psb_xrandr_coordinate_init()
268 psb_xrandr_info->local_crtc[0] = p_output->crtc; in psb_xrandr_coordinate_init()
269 if (psb_xrandr_info->mipi0_rotation != p_output->crtc->rotation) { in psb_xrandr_coordinate_init()
270 psb_xrandr_info->mipi0_rotation = p_output->crtc->rotation; in psb_xrandr_coordinate_init()
280 if (p_output->crtc) { in psb_xrandr_coordinate_init()
283 psb_xrandr_info->local_crtc[1] = p_output->crtc; in psb_xrandr_coordinate_init()
284 if (psb_xrandr_info->mipi1_rotation != p_output->crtc->rotation) { in psb_xrandr_coordinate_init()
285 psb_xrandr_info->mipi1_rotation = p_output->crtc->rotation; in psb_xrandr_coordinate_init()
295 if (p_output->crtc) { in psb_xrandr_coordinate_init()
298 psb_xrandr_info->extend_crtc = p_output->crtc; in psb_xrandr_coordinate_init()
[all …]
Dpsb_xrandr.h130 psb_xrandr_crtc_p crtc; member
/hardware/intel/img/psb_video/src/
Dpsb_overlay.c1097 if (!i830_get_crtc(pScrn, &crtc, &dstBox)) in I830PutImage()
1104 if (crtc->rotation & (RR_Rotate_90 | RR_Rotate_270)) { in I830PutImage()
1139 &crtc, in I830PutImage()
1214 i830_display_video_sprite(pScrn, crtc, width, height, dstPitch, in I830PutImage()
/hardware/intel/img/libdrm/shared-core/
Ddrm.h575 uint32_t crtc; member