| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | driver.c | 545 if (ms->drmmode.glamor) in dispatch_dirty_region() 588 int fb_id = ms->drmmode.fb_id; in dispatch_dirty() 607 msPixmapPrivPtr ppriv = msGetPixmapPriv(&ms->drmmode, ppix); in dispatch_dirty_pixmap() 653 if (ms->drmmode.glamor) in redisplay_dirty() 681 msGetPixmapPriv(&ms->drmmode, ent->slave_dst->master_pixmap); in ms_dirty_update() 741 if (pScreen->isGPU && !ms->drmmode.reverse_prime_offload_mode) in msBlockHandler() 755 drmmode_set_desired_modes(pScrn, &ms->drmmode, TRUE, FALSE); in msBlockHandler() 773 drmmode_set_desired_modes(pScrn, &ms->drmmode, TRUE, FALSE); in msBlockHandler_oneshot() 808 free(ms->drmmode.Options); in FreeRec() 821 if (ms->drmmode.exa) in try_enable_exa() [all …]
|
| H A D | drmmode_display.c | 146 drmmode_ptr drmmode = &ms->drmmode; in get_modifiers_set() local 175 gbm_device_get_format_modifier_plane_count(drmmode->gbm, in get_modifiers_set() 211 !ms->drmmode.pageflip || ms->drmmode.dri2_flipping || !scrn->vtSema) { in get_drawable_modifiers() 278 drmmode_prop_info_update(drmmode_ptr drmmode, in drmmode_prop_info_update() argument 310 prop = drmModeGetProperty(drmmode->fd, props->props[i]); in drmmode_prop_info_update() 335 xf86DrvMsg(drmmode->scrn->scrnIndex, X_WARNING, in drmmode_prop_info_update() 608 drmmode_ptr drmmode = drmmode_crtc->drmmode; in drmmode_crtc_get_fb_id() local 614 if (!drmmode->reverse_prime_offload_mode) { in drmmode_crtc_get_fb_id() 616 msGetPixmapPriv(drmmode, drmmode_crtc->prime_pixmap); in drmmode_crtc_get_fb_id() 627 *fb_id = drmmode->fb_id; in drmmode_crtc_get_fb_id() [all …]
|
| H A D | drmmode_display.h | 196 drmmode_ptr drmmode; member 256 drmmode_ptr drmmode; member 309 #define msGetPixmapPriv(drmmode, p) ((msPixmapPrivPtr)dixGetPrivateAddr(&(p)->devPrivates, &(drmmod… argument 316 #define msGetSpritePriv(dev, ms, screen) dixLookupScreenPrivate(&(dev)->devPrivates, &(ms)->drmmode… 322 int drmmode_bo_import(drmmode_ptr drmmode, drmmode_bo *bo, 324 int drmmode_bo_destroy(drmmode_ptr drmmode, drmmode_bo *bo); 327 Bool drmmode_handle_new_screen_pixmap(drmmode_ptr drmmode); 328 void *drmmode_map_slave_bo(drmmode_ptr drmmode, msPixmapPrivPtr ppriv); 330 drmmode_ptr drmmode, 333 Bool drmmode_EnableSharedPixmapFlipping(xf86CrtcPtr crtc, drmmode_ptr drmmode, [all …]
|
| H A D | present.c | 168 if (ms->drmmode.glamor) in ms_present_flush() 189 ms->drmmode.present_flipping = FALSE; in ms_present_flip_handler() 229 if (!ms->drmmode.pageflip) in ms_present_check_unflip() 232 if (ms->drmmode.dri2_flipping) in ms_present_check_unflip() 257 pixmap->devKind != drmmode_bo_get_pitch(&ms->drmmode.front_bo)) in ms_present_check_unflip() 260 if (ms->drmmode.exa) in ms_present_check_unflip() 263 if (!ms->drmmode.glamor) in ms_present_check_unflip() 304 if (ms->drmmode.sprites_visible > 0) in ms_present_check_flip() 347 ms->drmmode.present_flipping = TRUE; in ms_present_flip() 390 if (drmmode_crtc->drmmode->fb_id) { in ms_present_unflip() [all …]
|
| H A D | dri3.c | 40 fd = open(ms->drmmode.dri3_device_name, O_RDWR|O_CLOEXEC); in ms_exa_dri3_open_client() 69 if (drmAuthMagic(ms->drmmode.fd, magic) < 0) { in ms_exa_dri3_open_client() 99 bo = dumb_get_bo_from_fd(ms->drmmode.fd, fds[0], in ms_exa_pixmap_from_fds() 109 dumb_bo_destroy(ms->drmmode.fd, bo); in ms_exa_pixmap_from_fds() 128 fd = dumb_bo_get_fd(ms->drmmode.fd, bo, 0); in ms_exa_egl_fd_from_pixmap() 148 fds[0] = dumb_bo_get_fd(ms->drmmode.fd, bo, 0); in ms_exa_egl_fds_from_pixmap() 197 ms->drmmode.dri3_device_name = drmGetDeviceNameFromFd2(ms->drmmode.fd); in ms_exa_dri3_init()
|
| H A D | exa.c | 187 dumb_bo_map(ms->drmmode.fd, priv->bo); in ms_exa_prepare_access() 210 ms_exa_ctx *ctx = ms->drmmode.exa->priv; in ms_exa_prepare_solid() 246 ms_exa_ctx *ctx = ms->drmmode.exa->priv; in ms_exa_solid_bail() 273 ms_exa_ctx *ctx = ms->drmmode.exa->priv; in ms_exa_solid() 316 ms_exa_ctx *ctx = ms->drmmode.exa->priv; in ms_exa_prepare_copy() 356 ms_exa_ctx *ctx = ms->drmmode.exa->priv; in ms_exa_copy_bail() 387 ms_exa_ctx *ctx = ms->drmmode.exa->priv; in ms_exa_copy() 511 ms_exa_ctx *ctx = ms->drmmode.exa->priv; in ms_exa_prepare_composite() 579 ms_exa_ctx *ctx = ms->drmmode.exa->priv; in ms_exa_composite_bail() 620 ms_exa_ctx *ctx = ms->drmmode.exa->priv; in ms_exa_composite() [all …]
|
| H A D | dri2.c | 447 ms->drmmode.dri2_flipping = FALSE; in ms_dri2_flip_abort() 469 ms->drmmode.dri2_flipping = FALSE; in ms_dri2_flip_handler() 497 ms->drmmode.dri2_flipping = TRUE; in ms_dri2_schedule_flip() 582 if (!ms->drmmode.glamor && !ms->drmmode.exa) in can_exchange() 595 ms->drmmode.pageflip && in can_flip() 596 !ms->drmmode.sprites_visible && in can_flip() 597 !ms->drmmode.present_flipping && in can_flip() 611 msPixmapPrivPtr front_pix = msGetPixmapPriv(&ms->drmmode, front_priv->pixmap); in ms_dri2_exchange_buffers() 612 msPixmapPrivPtr back_pix = msGetPixmapPriv(&ms->drmmode, back_priv->pixmap); in ms_dri2_exchange_buffers() 1048 if (ms->drmmode.glamor) { in ms_dri2_screen_init() [all …]
|
| H A D | pageflip.c | 259 flipdata->fb_id = &ms->drmmode.fb_id; in ms_do_pageflip_bo() 279 if (drmmode_bo_import(&ms->drmmode, new_front_bo, in ms_do_pageflip_bo() 366 if (ms->drmmode.glamor) { in ms_do_pageflip() 377 if (ms->drmmode.exa) { in ms_do_pageflip() 400 drmmode_bo_destroy(&ms->drmmode, &new_front_bo); in ms_do_pageflip()
|
| H A D | xv.c | 314 bo = dumb_get_bo_from_fd(ms->drmmode.fd, dma_fds[0], in ms_exa_xv_create_dma_pixmap() 325 dumb_bo_destroy(ms->drmmode.fd, bo); in ms_exa_xv_create_dma_pixmap()
|
| H A D | driver.h | 113 drmmode_rec drmmode; member
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 4906 drmmode->kbpp. 7613 drmmode: Track if BO allocation used modifiers 7833 modesetting/drmmode: add NULL pointer check in drmmode_output_dpms 7982 modesetting/drmmode: Remove unused flink call 23440 into the drmmode struct, cleaned up commit message, fixed 16bpp] 23843 Don't support flipping if ms->drmmode.pageflip == FALSE. 23855 modesetting: Always load ms->drmmode.pageflip 23857 ms->drmmode.pageflip was only loaded from options if ms->drmmode.glamor was 23860 PRIME Synchronization requires ms->drmmode.pageflip even if we aren't using 24585 modesetting: Clear drmmode->fb_id before unflipping [all …]
|