Searched refs:drmmode (Results 1 - 25 of 46) sorted by relevance

12

/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dqxl_drmmode.h55 drmmode_ptr drmmode; member in struct:__anon275521630208
76 drmmode_ptr drmmode; member in struct:__anon275521630408
88 extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp);
90 extern void qxl_drmmode_uevent_init(ScrnInfoPtr scrn, drmmode_ptr drmmode);
91 extern void qxl_drmmode_uevent_fini(ScrnInfoPtr scrn, drmmode_ptr drmmode);
H A Dqxl_drmmode.c111 // drmmode_ptr drmmode = drmmode_crtc->drmmode;
118 // drmModeSetCrtc(drmmode->fd, drmmode_crtc->mode_crtc->crtc_id,
132 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_mode_major
148 if (drmmode->fb_id == 0) {
149 ret = drmModeAddFB(drmmode->fd,
154 &drmmode->fb_id);
202 fb_id = drmmode->fb_id;
207 ret = drmModeSetCrtc(drmmode
265 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_cursor_position
274 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_show_cursor
311 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_hide_cursor
321 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_gamma_set
340 drmmode_crtc_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int num) argument
377 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_detect
409 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_get_modes
474 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_dpms
503 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_create_resources
591 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_set_property
640 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_get_property
739 drmmode_output_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int num) argument
827 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_xf86crtc_resize
918 drmmode_pre_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int cpp) argument
949 drmmode_ptr drmmode = closure; local in function:drmmode_handle_uevents
961 qxl_drmmode_uevent_init(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
994 qxl_drmmode_uevent_fini(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
[all...]
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Ddrmmode_display.h55 drmmode_ptr drmmode; member in struct:__anon92ff548d0208
70 drmmode_ptr drmmode; member in struct:__anon92ff548d0408
89 drmmode_ptr drmmode; member in struct:__anon92ff548d0608
102 extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp);
103 extern void drmmode_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
104 extern Bool drmmode_set_bufmgr(ScrnInfoPtr pScrn, drmmode_ptr drmmode, struct radeon_bo_manager *bufmgr);
105 extern void drmmode_set_cursor(ScrnInfoPtr scrn, drmmode_ptr drmmode, int id, struct radeon_bo *bo);
106 void drmmode_adjust_frame(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int x, int y);
107 extern Bool drmmode_set_desired_modes(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
108 extern void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
[all...]
H A Ddrmmode_display.c183 // drmmode_ptr drmmode = drmmode_crtc->drmmode;
190 // drmModeSetCrtc(drmmode->fd, drmmode_crtc->mode_crtc->crtc_id,
197 create_pixmap_for_fbcon(drmmode_ptr drmmode, argument
205 fbcon = drmModeGetFB(drmmode->fd, fbcon_id);
215 if (ioctl(drmmode->fd, DRM_IOCTL_GEM_FLINK, &flink) < 0) {
221 bo = radeon_bo_open(drmmode->bufmgr, flink.name, 0, 0, 0, 0);
237 void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode) argument
262 src = create_pixmap_for_fbcon(drmmode, pScrn, fbcon_id);
322 drmmode_ptr drmmode local in function:drmmode_set_mode_major
466 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_cursor_position
490 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_hide_cursor
500 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_show_cursor
512 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_shadow_allocate
555 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_shadow_create
582 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_shadow_destroy
602 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_gamma_set
652 drmmode_crtc_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int num) argument
675 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_detect
707 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_get_modes
772 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_dpms
801 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_create_resources
888 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_set_property
986 drmmode_output_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int num,int * num_dvi,int * num_hdmi) argument
1132 drmmode_clones_init(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
1257 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_xf86crtc_resize
1454 drmmode_ptr drmmode = flipdata->drmmode; local in function:drmmode_flip_handler
1487 drmmode_ptr drmmode = data; local in function:drmmode_notify_fd
1495 drmmode_ptr drmmode = data; local in function:drm_wakeup_handler
1504 drmmode_pre_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int cpp) argument
1538 drmmode_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
1556 drmmode_set_bufmgr(ScrnInfoPtr pScrn,drmmode_ptr drmmode,struct radeon_bo_manager * bufmgr) argument
1564 drmmode_set_cursor(ScrnInfoPtr scrn,drmmode_ptr drmmode,int id,struct radeon_bo * bo) argument
1573 drmmode_adjust_frame(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int x,int y) argument
1585 drmmode_set_desired_modes(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
1728 drmmode_ptr drmmode = closure; local in function:drmmode_handle_uevents
1740 drmmode_uevent_init(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
1773 drmmode_uevent_fini(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
1791 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:radeon_do_pageflip
[all...]
H A Dradeon_kms.c175 if (!drmmode_set_desired_modes(pScrn, &info->drmmode))
178 drmmode_uevent_init(pScrn, &info->drmmode);
489 info->drmmode.fd = info->dri2.drm_fd;
745 if (drmmode_pre_init(pScrn, &info->drmmode, pScrn->bitsPerPixel / 8) == FALSE) {
750 if (info->drmmode.mode_res->count_crtcs == 1)
879 drmmode_uevent_fini(pScrn, &info->drmmode);
961 drmmode_set_bufmgr(pScrn, &info->drmmode, info->bufmgr);
1145 drmmode_init(pScrn, &info->drmmode);
1174 if (!drmmode_set_desired_modes(pScrn, &info->drmmode))
1220 drmmode_adjust_frame(pScrn, &info->drmmode,
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/
H A Ddrmmode_display.h170 drmmode_ptr drmmode; member in struct:__anonaff371e40708
221 drmmode_ptr drmmode; member in struct:__anonaff371e40908
260 #define msGetPixmapPriv(drmmode, p) ((msPixmapPrivPtr)dixGetPrivateAddr(&(p)->devPrivates, &(drmmode)->pixmapPrivateKeyRec))
267 #define msGetSpritePriv(dev, ms, screen) dixLookupScreenPrivate(&(dev)->devPrivates, &(ms)->drmmode.spritePrivateKeyRec, screen)
273 int drmmode_bo_import(drmmode_ptr drmmode, drmmode_bo *bo,
275 int drmmode_bo_destroy(drmmode_ptr drmmode, drmmode_bo *bo);
278 Bool drmmode_glamor_handle_new_screen_pixmap(drmmode_ptr drmmode);
279 void *drmmode_map_secondary_bo(drmmode_ptr drmmode, msPixmapPrivPtr ppriv);
281 drmmode_ptr drmmode,
[all...]
H A Ddrmmode_display.c172 drmmode_ptr drmmode = &ms->drmmode; local in function:get_modifiers_set
201 gbm_device_get_format_modifier_plane_count(drmmode->gbm,
237 !ms->drmmode.pageflip || ms->drmmode.dri2_flipping || !scrn->vtSema) {
304 drmmode_prop_info_update(drmmode_ptr drmmode, argument
336 prop = drmModeGetProperty(drmmode->fd, props->props[i]);
361 xf86DrvMsg(drmmode->scrn->scrnIndex, X_WARNING,
634 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_get_fb_id
785 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_ctm
820 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_set_mode
958 drmmode_bo_destroy(drmmode_ptr drmmode,drmmode_bo * bo) argument
1012 drmmode_bo_map(drmmode_ptr drmmode,drmmode_bo * bo) argument
1032 drmmode_bo_import(drmmode_ptr drmmode,drmmode_bo * bo,uint32_t * fb_id) argument
1078 drmmode_create_bo(drmmode_ptr drmmode,drmmode_bo * bo,unsigned width,unsigned height,unsigned bpp) argument
1135 drmmode_SetSlaveBO(PixmapPtr ppix,drmmode_ptr drmmode,int fd_handle,int pitch,int size) argument
1156 drmmode_SharedPixmapPresent(PixmapPtr ppix,xf86CrtcPtr crtc,drmmode_ptr drmmode) argument
1193 drmmode_ptr drmmode; member in struct:vblank_event_args
1230 drmmode_SharedPixmapPresentOnVBlank(PixmapPtr ppix,xf86CrtcPtr crtc,drmmode_ptr drmmode) argument
1261 drmmode_SharedPixmapFlip(PixmapPtr frontTarget,xf86CrtcPtr crtc,drmmode_ptr drmmode) argument
1295 drmmode_InitSharedPixmapFlipping(xf86CrtcPtr crtc,drmmode_ptr drmmode) argument
1313 drmmode_FiniSharedPixmapFlipping(xf86CrtcPtr crtc,drmmode_ptr drmmode) argument
1339 drmmode_EnableSharedPixmapFlipping(xf86CrtcPtr crtc,drmmode_ptr drmmode,PixmapPtr front,PixmapPtr back) argument
1367 drmmode_DisableSharedPixmapFlipping(xf86CrtcPtr crtc,drmmode_ptr drmmode) argument
1443 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_dpms
1460 create_pixmap_for_fbcon(drmmode_ptr drmmode,ScrnInfoPtr pScrn,int fbcon_id) argument
1501 drmmode_copy_fb(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
1558 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_mode_major
1645 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_cursor_position
1654 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_cursor
1723 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_hide_cursor
1744 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_gamma_lut
1780 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_gamma_set
1798 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_target_scanout_pixmap_gpu
1853 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_target_scanout_pixmap_cpu
1903 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_target_scanout_pixmap
1949 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_shadow_allocate
2002 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_shadow_create
2047 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_shadow_destroy
2130 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:populate_format_modifiers
2187 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_create_planes
2351 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_vrr_init
2371 drmmode_crtc_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,drmModeResPtr mode_res,int num) argument
2525 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_detect
2614 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_attach_tile
2640 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:has_panel_fitter
2700 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_get_modes
2766 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_dpms
2825 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_create_resources
2971 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_set_property
3194 drmmode_output_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,drmModeResPtr mode_res,int num,Bool dynamic,int crtcshift) argument
3368 drmmode_clones_init(ScrnInfoPtr scrn,drmmode_ptr drmmode,drmModeResPtr mode_res) argument
3402 drmmode_set_pixmap_bo(drmmode_ptr drmmode,PixmapPtr pixmap,drmmode_bo * bo) argument
3422 drmmode_glamor_handle_new_screen_pixmap(drmmode_ptr drmmode) argument
3438 drmmode_ptr drmmode = &ms->drmmode; local in function:drmmode_xf86crtc_resize
3535 drmmode_ptr drmmode = &ms->drmmode; local in function:drmmode_validate_leases
3579 drmmode_ptr drmmode = &ms->drmmode; local in function:drmmode_create_lease
3655 drmmode_ptr drmmode = &ms->drmmode; local in function:drmmode_terminate_lease
3672 drmmode_pre_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int cpp) argument
3731 drmmode_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
3751 drmmode_adjust_frame(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int x,int y) argument
3763 drmmode_set_desired_modes(ScrnInfoPtr pScrn,drmmode_ptr drmmode,Bool set_hw,Bool ign_err) argument
3977 drmmode_update_kms_state(drmmode_ptr drmmode) argument
4105 drmmode_ptr drmmode = closure; local in function:drmmode_handle_uevents
4122 drmmode_uevent_init(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
4155 drmmode_uevent_fini(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
4171 drmmode_create_initial_bos(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
4202 drmmode_map_front_bo(drmmode_ptr drmmode) argument
4208 drmmode_map_secondary_bo(drmmode_ptr drmmode,msPixmapPrivPtr ppriv) argument
4223 drmmode_map_cursor_bos(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
4240 drmmode_free_bos(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
4262 drmmode_get_default_bpp(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int * depth,int * bpp) argument
4320 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_set_vrr
[all...]
H A Ddriver.c624 msPixmapPrivPtr ppriv = msGetPixmapPriv(&ms->drmmode, ppix);
670 if (ms->drmmode.glamor)
698 msGetPixmapPriv(&ms->drmmode, ent->secondary_dst->primary_pixmap);
743 if (pScreen->isGPU && !ms->drmmode.reverse_prime_offload_mode)
759 drmmode_set_desired_modes(pScrn, &ms->drmmode, TRUE, FALSE);
764 struct ms_vrr_priv *priv = dixLookupPrivate(&win->devPrivates, &ms->drmmode.vrrPrivateKeyRec);
776 &ms->drmmode.vrrPrivateKeyRec);
779 if (ms->flip_window == window && ms->drmmode.present_flipping)
922 free(ms->drmmode.Options);
965 const char *accel_method_str = xf86GetOptValString(ms->drmmode
[all...]
H A Dpageflip.c166 return drmmode_crtc_flip(crtc, ms->drmmode.fb_id, flags,
332 drmmode_bo_destroy(&ms->drmmode, &new_front_bo);
353 flipdata->old_fb_id = ms->drmmode.fb_id;
357 if (drmmode_bo_import(&ms->drmmode, &new_front_bo,
358 &ms->drmmode.fb_id)) {
359 if (!ms->drmmode.flip_bo_import_failed) {
362 ms->drmmode.flip_bo_import_failed = TRUE;
366 if (ms->drmmode.flip_bo_import_failed &&
368 ms->drmmode.flip_bo_import_failed = FALSE;
389 if (ms->drmmode
[all...]
H A Dpresent.c183 if (ms->drmmode.glamor)
206 ms->drmmode.present_flipping = FALSE;
246 if (!ms->drmmode.pageflip)
249 if (ms->drmmode.dri2_flipping)
275 pixmap->devKind != drmmode_bo_get_pitch(&ms->drmmode.front_bo))
278 if (!ms->drmmode.glamor)
320 if (ms->drmmode.sprites_visible > 0)
378 ms->drmmode.present_flipping = TRUE;
421 /* info->drmmode.fb_id still points to the FB for the last flipped BO.
424 if (drmmode_crtc->drmmode
[all...]
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_kms.c149 drmmode_ptr drmmode = drmmode_crtc->drmmode;
153 drmModeSetCrtc(drmmode->fd, drmmode_crtc->mode_crtc->crtc_id,
165 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_mode_major
192 if (drmmode->fb_id == 0) {
193 ret = drmModeAddFB(drmmode->fd, pScrn->virtualX, pScrn->virtualY,
195 drmmode->front_bo->pitch,
196 drmmode->front_bo->handle,
197 &drmmode
250 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_cursor_position
261 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_hide_cursor
274 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_show_cursor
296 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_load_cursor_argb
308 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_gamma_set
327 drmmode_crtc_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int num) argument
368 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_dpms
380 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_create_resources
475 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_set_property
529 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_detect
561 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_get_modes
665 drmmode_output_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int num) argument
770 drmmode_clones_init(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
800 KMSCrtcInit(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
828 drmmode_ptr drmmode = closure; local in function:drmmode_handle_uevents
841 drmmode_uevent_init(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
871 drmmode_uevent_fini(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
[all...]
H A Dvia_kms.h56 drmmode_ptr drmmode; member in struct:__anonc755062c0208
74 drmmode_ptr drmmode; member in struct:__anonc755062c0408
88 extern Bool KMSCrtcInit(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
89 extern void drmmode_uevent_init(ScrnInfoPtr scrn, drmmode_ptr drmmode);
90 extern void drmmode_uevent_fini(ScrnInfoPtr scrn, drmmode_ptr drmmode);
H A Dvia_dri.c122 (pVia->drmmode.fd,
132 if ((drmCtlInstHandler(pVia->drmmode.fd, pVIADRI->irqEnabled))) {
151 if (drmCtlUninstHandler(pVia->drmmode.fd)) {
173 if (drmCommandWrite(pVia->drmmode.fd, DRM_VIA_DMA_INIT, &ringBufInit,
216 if (drmCommandWrite(pVia->drmmode.fd, DRM_VIA_DMA_INIT, &ringBufInit,
236 CARD32 mode = drmAgpGetMode(pVia->drmmode.fd);
237 unsigned int vendor = drmAgpVendorId(pVia->drmmode.fd);
238 unsigned int device = drmAgpDeviceId(pVia->drmmode.fd);
258 if (drmAgpEnable(pVia->drmmode.fd, mode) < 0)
274 if (drmAgpAcquire(pVia->drmmode
[all...]
H A Dvia_driver.c638 pVia->drmmode.hwcursor = TRUE;
779 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:via_xf86crtc_resize
807 old_fd = drmmode->fd;
808 old_fb_id = drmmode->fb_id;
809 old_front = drmmode->front_bo;
812 drmmode->front_bo = drm_bo_alloc_surface(scrn, width, height, format,
814 if (!drmmode->front_bo) {
822 new_pixels = drm_bo_map(scrn, drmmode->front_bo);
828 new_pixels = malloc(height * drmmode
[all...]
H A Dvia_memmgr.c133 ret = drmCommandWriteRead(pVia->drmmode.fd, DRM_VIA_ALLOCMEM,
153 ret = drmCommandWriteRead(pVia->drmmode.fd, DRM_VIA_GEM_CREATE,
194 MAP_SHARED, pVia->drmmode.fd, obj->map_offset);
248 if (drmCommandWrite(pVia->drmmode.fd, DRM_VIA_FREEMEM,
255 if (drmIoctl(pVia->drmmode.fd, DRM_IOCTL_GEM_CLOSE, &close) < 0)
/xsrc/external/mit/xf86-video-nouveau/dist/src/
H A Ddrmmode_display.c60 drmmode_ptr drmmode; member in struct:__anon266131ed0208
83 drmmode_ptr drmmode; member in struct:__anon266131ed0408
102 return crtc->drmmode;
139 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_swap
140 *prev = drmmode->fb_id;
141 drmmode->fb_id = next;
146 drmmode_ptr drmmode; member in struct:drmmode_event
188 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_event_abort
192 if (e->drmmode == drmmode
206 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_event_queue
224 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_event_flush
231 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_event_fini
245 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_event_init
355 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_mode_major
451 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_cursor_position
474 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_load_cursor_argb
489 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_hide_cursor
500 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_show_cursor
512 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_shadow_allocate
575 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_shadow_destroy
593 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_gamma_set
613 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_scanout_pixmap
690 drmmode_crtc_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,drmModeResPtr mode_res,int num) argument
727 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_detect
809 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_attach_tile
836 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_get_modes
895 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_dpms
941 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_create_resources
1031 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_set_property
1094 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_get_property
1286 drmmode_output_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,drmModeResPtr mode_res,int num,Bool dynamic,int crtcshift) argument
1400 drmmode_ptr drmmode = NULL; local in function:drmmode_xf86crtc_resize
1499 drmmode_ptr drmmode; local in function:drmmode_pre_init
1577 drmmode_ptr drmmode; local in function:drmmode_remove_fb
1614 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_handle_uevents
1763 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_uevent_init
1804 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_uevent_fini
1825 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_notify_fd
1834 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_wakeup_handler
1854 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_screen_init
1884 drmmode_ptr drmmode = drmmode_from_scrn(scrn); local in function:drmmode_screen_fini
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Ddrmmode_display.c54 drmmode_ptr drmmode; member in struct:__anon0fe22f920208
73 drmmode_ptr drmmode; member in struct:__anon0fe22f920408
306 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_mode_major
318 if (drmmode->fb_id == 0) {
319 ret = drmModeAddFB(drmmode->fd,
323 &drmmode->fb_id);
375 fb_id = drmmode->fb_id;
381 ret = drmModeSetCrtc(drmmode->fd, drmmode_crtc->mode_crtc->crtc_id,
423 drmmode_ptr drmmode local in function:drmmode_set_cursor_position
448 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_hide_cursor
458 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_show_cursor
470 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_shadow_allocate
505 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_shadow_create
543 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_shadow_destroy
566 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_gamma_set
589 drmmode_crtc_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int num) argument
619 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_detect
793 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_get_modes
911 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_dpms
969 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_create_resources
1095 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:drmmode_output_set_property
1235 drmmode_output_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int num) argument
1308 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_xf86crtc_resize
1386 drmmode_ptr drmmode; local in function:drmmode_pre_init
1429 drmmode_ptr drmmode; local in function:drmmode_closefb
[all...]
/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Ddrmmode_display.h100 drmmode_ptr drmmode; member in struct:__anon6244c68d0308
155 drmmode_ptr drmmode; member in struct:__anon6244c68d0508
186 drmmode_cm_enabled(drmmode_ptr drmmode) argument
188 return drmmode->cm_prop_ids[CM_GAMMA_LUT_SIZE] != 0;
258 extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp);
259 extern void drmmode_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
260 extern void drmmode_fini(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
261 void drmmode_adjust_frame(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int x, int y);
262 extern Bool drmmode_set_desired_modes(ScrnInfoPtr pScrn, drmmode_ptr drmmode,
264 extern void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
[all...]
H A Damdgpu_drm_queue.c328 &drmmode_crtc->drmmode->event_context) >= 0);
338 drmmode_ptr drmmode = &info->drmmode; local in function:amdgpu_drm_queue_init
340 drmmode->event_context.version = 2;
341 drmmode->event_context.vblank_handler = amdgpu_drm_queue_handler;
342 drmmode->event_context.page_flip_handler = amdgpu_drm_queue_handler;
H A Ddrmmode_display.c260 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_vrr_init
262 if (drmmode->vrr_prop_id)
272 drmmode->vrr_prop_id = drmmode_crtc_get_prop_id(drm_fd,
284 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_set_vrr
286 if (drmmode->vrr_prop_id &&
291 drmmode->vrr_prop_id,
378 create_pixmap_for_fbcon(drmmode_ptr drmmode, argument
416 void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode) argument
919 drmmode_ptr drmmode = drmmode_output->drmmode; local in function:rr_configure_and_change_cm_property
1038 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_stage_cm_prop
1117 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_push_cm_prop
1904 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_cm_init
1935 drmmode_crtc_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,drmModeResPtr mode_res,int num) argument
2679 drmmode_output_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,drmModeResPtr mode_res,int num,int * num_dvi,int * num_hdmi,int dynamic) argument
2843 drmmode_clones_init(ScrnInfoPtr scrn,drmmode_ptr drmmode,drmModeResPtr mode_res) argument
3205 drmmode_ptr drmmode = data; local in function:drmmode_notify_fd
3211 drmmode_ptr drmmode = data; local in function:drm_wakeup_handler
3295 drmmode_cm_init(int drm_fd,drmmode_ptr drmmode,drmModeResPtr mode_res) argument
3351 drmmode_pre_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int cpp) argument
3434 drmmode_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
3454 drmmode_fini(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
3578 drmmode_adjust_frame(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int x,int y) argument
3589 drmmode_set_desired_modes(ScrnInfoPtr pScrn,drmmode_ptr drmmode,Bool set_hw) argument
3773 amdgpu_mode_hotplug(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
3895 drmmode_ptr drmmode = closure; local in function:drmmode_handle_uevents
3920 drmmode_uevent_init(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
3952 drmmode_uevent_fini(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
[all...]
H A Damdgpu_present.c103 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:amdgpu_present_flush_drm_events
114 return amdgpu_drm_handle_event(pAMDGPUEnt->fd, &drmmode->event_context) >= 0;
261 if (info->drmmode.dri2_flipping)
284 dc_enabled = drmmode_cm_enabled(&info->drmmode);
329 info->drmmode.present_flipping = FALSE;
390 info->drmmode.present_flipping = TRUE;
448 info->drmmode.present_flipping = FALSE;
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Ddrmmode_display.h87 drmmode_ptr drmmode; member in struct:__anon1b2324c50308
140 drmmode_ptr drmmode; member in struct:__anon1b2324c50508
223 extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp);
224 extern void drmmode_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
225 extern void drmmode_fini(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
226 extern Bool drmmode_set_bufmgr(ScrnInfoPtr pScrn, drmmode_ptr drmmode, struct radeon_bo_manager *bufmgr);
227 void drmmode_adjust_frame(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int x, int y);
228 extern Bool drmmode_set_desired_modes(ScrnInfoPtr pScrn, drmmode_ptr drmmode,
230 extern void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
233 extern void drmmode_crtc_scanout_destroy(drmmode_ptr drmmode,
[all...]
H A Dradeon_drm_queue.c328 &drmmode_crtc->drmmode->event_context) >= 0);
338 drmmode_ptr drmmode = &info->drmmode; local in function:radeon_drm_queue_init
340 drmmode->event_context.version = 2;
341 drmmode->event_context.vblank_handler = radeon_drm_queue_handler;
342 drmmode->event_context.page_flip_handler = radeon_drm_queue_handler;
H A Dradeon_present.c101 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:radeon_present_flush_drm_events
112 return radeon_drm_handle_event(pRADEONEnt->fd, &drmmode->event_context) >= 0;
275 if (info->drmmode.dri2_flipping)
335 info->drmmode.present_flipping = FALSE;
387 info->drmmode.present_flipping = TRUE;
443 info->drmmode.present_flipping = FALSE;
H A Ddrmmode_display.c372 create_pixmap_for_fbcon(drmmode_ptr drmmode, argument
409 bo->bo.radeon = radeon_bo_open(drmmode->bufmgr, flink.name, 0, 0, 0, 0);
449 void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode) argument
480 src = create_pixmap_for_fbcon(drmmode, pScrn, fbcon_id);
501 drmmode_crtc_scanout_destroy(drmmode_ptr drmmode, argument
524 drmmode_crtc_scanout_destroy(drmmode_crtc->drmmode,
526 drmmode_crtc_scanout_destroy(drmmode_crtc->drmmode,
540 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_scanout_create
549 drmmode_crtc_scanout_destroy(drmmode, scanou
870 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_set_mode_major
1328 drmmode_ptr drmmode = drmmode_crtc->drmmode; local in function:drmmode_crtc_shadow_destroy
1456 drmmode_crtc_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,drmModeResPtr mode_res,int num) argument
2132 drmmode_output_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,drmModeResPtr mode_res,int num,int * num_dvi,int * num_hdmi,int dynamic) argument
2291 drmmode_clones_init(ScrnInfoPtr scrn,drmmode_ptr drmmode,drmModeResPtr mode_res) argument
2744 drmmode_ptr drmmode = data; local in function:drm_notify_fd
2819 drmmode_pre_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int cpp) argument
2903 drmmode_init(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
2928 drmmode_fini(ScrnInfoPtr pScrn,drmmode_ptr drmmode) argument
2954 drmmode_set_bufmgr(ScrnInfoPtr pScrn,drmmode_ptr drmmode,struct radeon_bo_manager * bufmgr) argument
3060 drmmode_adjust_frame(ScrnInfoPtr pScrn,drmmode_ptr drmmode,int x,int y) argument
3072 drmmode_set_desired_modes(ScrnInfoPtr pScrn,drmmode_ptr drmmode,Bool set_hw) argument
3233 radeon_mode_hotplug(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
3355 drmmode_ptr drmmode = closure; local in function:drmmode_handle_uevents
3380 drmmode_uevent_init(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
3413 drmmode_uevent_fini(ScrnInfoPtr scrn,drmmode_ptr drmmode) argument
[all...]

Completed in 48 milliseconds

12