/third_party/libdrm/tests/kms/ |
D | libkms-test-crtc.c | 28 struct kms_crtc *crtc; in kms_crtc_create() local 30 crtc = calloc(1, sizeof(*crtc)); in kms_crtc_create() 31 if (!crtc) in kms_crtc_create() 34 crtc->device = device; in kms_crtc_create() 35 crtc->id = id; in kms_crtc_create() 37 return crtc; in kms_crtc_create() 40 void kms_crtc_free(struct kms_crtc *crtc) in kms_crtc_free() argument 42 free(crtc); in kms_crtc_free()
|
D | libkms-test-device.c | 102 struct kms_crtc *crtc; in kms_device_probe_crtcs() local 110 device->crtcs = calloc(res->count_crtcs, sizeof(crtc)); in kms_device_probe_crtcs() 115 crtc = kms_crtc_create(device, res->crtcs[i]); in kms_device_probe_crtcs() 116 if (!crtc) in kms_device_probe_crtcs() 119 device->crtcs[i] = crtc; in kms_device_probe_crtcs()
|
D | libkms-test.h | 59 void kms_crtc_free(struct kms_crtc *crtc); 100 int kms_screen_set(struct kms_screen *screen, struct kms_crtc *crtc, 105 struct kms_crtc *crtc; member
|
D | meson.build | 25 'libkms-test-crtc.c', 'libkms-test-device.c', 'libkms-test-framebuffer.c', 34 'kms-steal-crtc', 35 files('kms-steal-crtc.c'),
|
D | libkms-test-screen.c | 78 int kms_screen_set(struct kms_screen *screen, struct kms_crtc *crtc, in kms_screen_set() argument 84 err = drmModeSetCrtc(device->fd, crtc->id, fb->id, 0, 0, &screen->id, in kms_screen_set()
|
D | libkms-test-plane.c | 52 plane->crtc = device->crtcs[i]; in kms_plane_probe() 119 err = drmModeSetPlane(device->fd, plane->id, plane->crtc->id, fb->id, in kms_plane_set()
|
D | kms-universal-planes.c | 230 printf(" CRTC: %x\n", plane->crtc->id); in main()
|
/third_party/libdrm/tests/modetest/ |
D | modetest.c | 74 struct crtc { struct 75 drmModeCrtc *crtc; argument 103 struct crtc *crtcs; 484 struct crtc *_crtc = &dev->resources->crtcs[i]; in dump_crtcs() 485 drmModeCrtc *crtc = _crtc->crtc; in dump_crtcs() local 486 if (!crtc) in dump_crtcs() 490 crtc->crtc_id, in dump_crtcs() 491 crtc->buffer_id, in dump_crtcs() 492 crtc->x, crtc->y, in dump_crtcs() 493 crtc->width, crtc->height); in dump_crtcs() [all …]
|
/third_party/libdrm/tests/modeprint/ |
D | modeprint.c | 204 static int printCrtc(int fd, drmModeResPtr res, drmModeCrtcPtr crtc, uint32_t id) in printCrtc() argument 208 printf("\tx : %i\n", crtc->x); in printCrtc() 209 printf("\ty : %i\n", crtc->y); in printCrtc() 210 printf("\twidth : %i\n", crtc->width); in printCrtc() 211 printf("\theight : %i\n", crtc->height); in printCrtc() 212 printf("\tmode : %p\n", &crtc->mode); in printCrtc() 213 printf("\tgamma size : %d\n", crtc->gamma_size); in printCrtc() 236 drmModeCrtcPtr crtc; in printRes() local 280 crtc = drmModeGetCrtc(fd, res->crtcs[i]); in printRes() 282 if (!crtc) in printRes() [all …]
|
/third_party/flutter/glfw/src/ |
D | x11_monitor.c | 118 ci = XRRGetCrtcInfo(_glfw.x11.display, sr, monitor->x11.crtc); in _glfwSetVideoModeX11() 141 sr, monitor->x11.crtc, in _glfwSetVideoModeX11() 178 ci = XRRGetCrtcInfo(_glfw.x11.display, sr, monitor->x11.crtc); in _glfwRestoreVideoModeX11() 181 sr, monitor->x11.crtc, in _glfwRestoreVideoModeX11() 252 monitor->x11.crtc = oi->crtc; in _glfwPlatformGetMonitors() 311 return first->x11.crtc == second->x11.crtc; in _glfwPlatformIsSameMonitor() 322 ci = XRRGetCrtcInfo(_glfw.x11.display, sr, monitor->x11.crtc); in _glfwPlatformGetMonitorPos() 348 ci = XRRGetCrtcInfo(_glfw.x11.display, sr, monitor->x11.crtc); in _glfwPlatformGetVideoModes() 397 ci = XRRGetCrtcInfo(_glfw.x11.display, sr, monitor->x11.crtc); in _glfwPlatformGetVideoMode() 420 monitor->x11.crtc); in _glfwPlatformGetGammaRamp() [all …]
|
D | x11_platform.h | 264 RRCrtc crtc; member
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11modes.c | 267 SetXRandRModeInfo(Display *display, XRRScreenResources *res, RRCrtc crtc, in SetXRandRModeInfo() argument 277 crtcinfo = X11_XRRGetCrtcInfo(display, res, crtc); in SetXRandRModeInfo() 415 XRRCrtcInfo *crtc; in X11_InitModes_XRandR() local 424 … if (!output_info || !output_info->crtc || output_info->connection == RR_Disconnected) { in X11_InitModes_XRandR() 432 output_crtc = output_info->crtc; in X11_InitModes_XRandR() 435 crtc = X11_XRRGetCrtcInfo(dpy, res, output_crtc); in X11_InitModes_XRandR() 436 if (!crtc) { in X11_InitModes_XRandR() 441 modeID = crtc->mode; in X11_InitModes_XRandR() 442 mode.w = crtc->width; in X11_InitModes_XRandR() 443 mode.h = crtc->height; in X11_InitModes_XRandR() [all …]
|
D | SDL_x11sym.h | 296 …GetCrtcInfo,(Display *dpy, XRRScreenResources *resources, RRCrtc crtc),(dpy,resources,crtc),return) 298 …sources, RRCrtc crtc, Time timestamp, int x, int y, RRMode mode, Rotation rotation, RROutput *outp…
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/gbm/ |
D | gstglwindow_gbm_egl.c | 114 drmModeCrtc *crtc = window_egl->saved_crtc; in gst_gl_window_gbm_egl_close() local 117 err = drmModeSetCrtc (display->drm_fd, crtc->crtc_id, crtc->buffer_id, in gst_gl_window_gbm_egl_close() 118 crtc->x, crtc->y, &(display->drm_mode_connector->connector_id), 1, in gst_gl_window_gbm_egl_close() 119 &crtc->mode); in gst_gl_window_gbm_egl_close() 124 drmModeFreeCrtc (crtc); in gst_gl_window_gbm_egl_close()
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
D | DisplaySurfaceKHR.cpp | 156 crtc = drmModeGetCrtc(fd, crtc_id); in DisplaySurfaceKHR() 192 …drmModeSetCrtc(fd, crtc->crtc_id, crtc->buffer_id, crtc->x, crtc->y, &connector_id, 1, &crtc->mode… in destroySurface() 193 drmModeFreeCrtc(crtc); in destroySurface()
|
D | DisplaySurfaceKHR.hpp | 51 drmModeCrtc *crtc; member in vk::DisplaySurfaceKHR
|
/third_party/gstreamer/gstplugins_bad/sys/kms/ |
D | gstkmssink.c | 233 drmModeCrtc *crtc; in find_crtc_for_connector() local 265 crtc = drmModeGetCrtc (fd, res->crtcs[i]); in find_crtc_for_connector() 266 if (crtc) { in find_crtc_for_connector() 267 if (crtc_id == crtc->crtc_id) { in find_crtc_for_connector() 270 return crtc; in find_crtc_for_connector() 272 drmModeFreeCrtc (crtc); in find_crtc_for_connector() 283 drmModeCrtc *crtc; in connector_is_used() local 286 crtc = find_crtc_for_connector (fd, res, conn, NULL); in connector_is_used() 287 if (crtc) { in connector_is_used() 288 result = crtc->buffer_id != 0; in connector_is_used() [all …]
|
/third_party/libdrm/ |
D | xf86drmMode.c | 357 struct drm_mode_crtc crtc; in drmModeGetCrtc() local 360 memclear(crtc); in drmModeGetCrtc() 361 crtc.crtc_id = crtcId; in drmModeGetCrtc() 363 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCRTC, &crtc)) in drmModeGetCrtc() 373 r->crtc_id = crtc.crtc_id; in drmModeGetCrtc() 374 r->x = crtc.x; in drmModeGetCrtc() 375 r->y = crtc.y; in drmModeGetCrtc() 376 r->mode_valid = crtc.mode_valid; in drmModeGetCrtc() 378 memcpy(&r->mode, &crtc.mode, sizeof(struct drm_mode_modeinfo)); in drmModeGetCrtc() 379 r->width = crtc.mode.hdisplay; in drmModeGetCrtc() [all …]
|
/third_party/libdrm/tests/exynos/ |
D | exynos_fimg2d_test.c | 54 int crtc; member 118 if (c->crtc == -1) in connector_find_mode() 119 c->crtc = c->encoder->crtc_id; in connector_find_mode() 127 ret = drmModeSetCrtc(dev->fd, c->crtc, in drm_set_crtc() 746 con.crtc = -1; in main() 752 &con.crtc, in main()
|
/third_party/weston/libweston/backend-drm/ |
D | drm.c | 1420 drmModeCrtc *crtc; in drm_head_read_current_setup() local 1428 crtc = drmModeGetCrtc(drm_fd, encoder->crtc_id); in drm_head_read_current_setup() 1431 if (crtc == NULL) in drm_head_read_current_setup() 1433 if (crtc->mode_valid) in drm_head_read_current_setup() 1434 head->inherited_mode = crtc->mode; in drm_head_read_current_setup() 1435 drmModeFreeCrtc(crtc); in drm_head_read_current_setup() 1467 drmModeCrtc *crtc; in drm_output_init_gamma_size() local 1471 crtc = drmModeGetCrtc(backend->drm.fd, output->crtc_id); in drm_output_init_gamma_size() 1472 if (!crtc) in drm_output_init_gamma_size() 1475 output->base.gamma_size = crtc->gamma_size; in drm_output_init_gamma_size() [all …]
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_display.c | 1405 drmModeCrtcPtr crtc = drmModeGetCrtc(wsi->fd, mode_res->crtcs[c]); in wsi_display_select_crtc() local 1406 if (crtc && crtc->buffer_id == 0) in wsi_display_select_crtc() 1407 crtc_id = crtc->crtc_id; in wsi_display_select_crtc() 1408 drmModeFreeCrtc(crtc); in wsi_display_select_crtc() 2440 xcb_randr_crtc_t crtc = wsi_display_find_crtc_for_output(connection, in wsi_AcquireXlibDisplayEXT() local 2444 if (!crtc) in wsi_AcquireXlibDisplayEXT() 2451 &crtc, &connector->output); in wsi_AcquireXlibDisplayEXT()
|
/third_party/libdrm/include/drm/ |
D | drm.h | 521 __u32 crtc; member
|
/third_party/mesa3d/include/drm-uapi/ |
D | drm.h | 520 __u32 crtc; member
|
/third_party/gstreamer/gstplugins_bad/ |
D | ChangeLog | 46362 kmssink: Add "restore-crtc" property 46363 This adds "restore-crtc" property using which one 46364 can restore previous crtc mode. 46368 This helps user restore previous crtc mode and get 46373 a blank screen after pipeline, and now with help of restore-crtc 46374 functionality, CRTC is set with previous crtc mode 65107 object cannot be freed until another page flip happened on the crtc 65150 the crtc does not have a valid mode. 71543 … kmssink gstkmssink.c:482:gst_kms_sink_start:<kmssink0> Could not find a plane for crtc 71558 … kmssink gstkmssink.c:482:gst_kms_sink_start:<kmssink0> Could not find a plane for crtc [all …]
|