• Home
  • Raw
  • Download

Lines Matching refs:drm

450 	drmModeCreatePropertyBlob(b->drm.fd, rects,  in drm_output_render()
577 ret = drmWaitVBlank(backend->drm.fd, &vbl); in drm_output_start_repaint_loop()
811 props = drmModeObjectGetProperties(b->drm.fd, kplane->plane_id, in drm_plane_create()
982 drmModeSetPlane(plane->backend->drm.fd, plane->plane_id, in drm_plane_destroy()
1007 kplane_res = drmModeGetPlaneResources(b->drm.fd); in create_sprites()
1015 kplane = drmModeGetPlane(b->drm.fd, kplane_res->planes[i]); in create_sprites()
1418 int drm_fd = backend->drm.fd; in drm_head_read_current_setup()
1471 crtc = drmModeGetCrtc(backend->drm.fd, output->crtc_id); in drm_output_init_gamma_size()
1490 encoder = drmModeGetEncoder(head->backend->drm.fd, in drm_head_get_possible_crtcs_mask()
1663 props = drmModeObjectGetProperties(b->drm.fd, output->crtc_id, in drm_output_init_crtc()
1767 resources = drmModeGetResources(b->drm.fd); in drm_output_enable()
1848 drmModeSetCursor(b->drm.fd, output->crtc_id, 0, 0, 0); in drm_output_deinit()
2038 props = drmModeObjectGetProperties(head->backend->drm.fd, in drm_head_assign_connector_info()
2091 connector = drmModeGetConnector(head->backend->drm.fd, in drm_head_update_info()
2129 connector = drmModeGetConnector(backend->drm.fd, connector_id); in drm_head_create()
2242 resources = drmModeGetResources(b->drm.fd); in drm_backend_create_heads()
2278 resources = drmModeGetResources(b->drm.fd); in drm_backend_update_heads()
2363 props = drmModeObjectGetProperties(b->drm.fd, in drm_backend_update_conn_props()
2385 if (!sysnum || atoi(sysnum) != b->drm.id) in udev_event_is_hotplug()
2482 close(b->drm.fd); in drm_destroy()
2483 free(b->drm.filename); in drm_destroy()
2518 drmModeSetCursor(b->drm.fd, output->crtc_id, in session_notify()
2529 drmModeSetPlane(b->drm.fd, in session_notify()
2554 if (b->drm.fd < 0 || b->drm.devnum != device || in drm_device_changed()
2599 if (b->drm.fd >= 0) in drm_device_is_kms()
2600 weston_launcher_close(b->compositor->launcher, b->drm.fd); in drm_device_is_kms()
2601 free(b->drm.filename); in drm_device_is_kms()
2603 b->drm.fd = fd; in drm_device_is_kms()
2604 b->drm.id = id; in drm_device_is_kms()
2605 b->drm.filename = strdup(filename); in drm_device_is_kms()
2606 b->drm.devnum = devnum; in drm_device_is_kms()
2700 assert(!!drm_device == (b->drm.fd >= 0)); in find_primary_gpu()
2725 assert(b->drm.fd >= 0); in open_specific_drm_device()
2777 ret = drmPrimeHandleToFD(b->drm.fd, in recorder_frame_notify()
2801 fd = open(b->drm.filename, O_RDWR | O_CLOEXEC); in create_recorder()
2806 drmAuthMagic(b->drm.fd, magic); in create_recorder()
2880 if (drmWaitVBlank(b->drm.fd, &vbl) != 0) { in ohos_drm_vsync_thread_main()
2915 b->drm.fd = -1; in drm_backend_create()
2979 InitWaylandDrmAuthService(compositor->wl_display, b->drm.fd); in drm_backend_create()
3025 weston_log("Failed to create heads for %s\n", b->drm.filename); in drm_backend_create()
3039 wl_event_loop_add_fd(loop, b->drm.fd, in drm_backend_create()