search for: vtsema

Displaying 8 results from an estimated 8 matches for "vtsema".

Did you mean: sema
2019 Jan 23
0
[PATCH] present: rotated crtc's work fine
...LL; - if (crtc->rotatedData) - return NULL; - return crtc->randr_crtc; } @@ -152,7 +149,7 @@ nouveau_present_flip_check(RRCrtcPtr rrcrtc, WindowPtr window, ScrnInfoPtr scrn = xf86ScreenToScrn(window->drawable.pScreen); xf86CrtcPtr crtc = rrcrtc->devPrivate; - if (!scrn->vtSema || !drmmode_crtc_on(crtc)) + if (!scrn->vtSema || !drmmode_crtc_on(crtc) || crtc->rotatedData) return FALSE; return TRUE; -- 2.19.2
2017 Mar 04
0
[DDX PATCH] Consider CRTCs disabled when DPMS is off
...index 482ac6e..ebd5fcf 100644 --- a/src/nouveau_present.c +++ b/src/nouveau_present.c @@ -152,7 +152,7 @@ nouveau_present_flip_check(RRCrtcPtr rrcrtc, WindowPtr window, ScrnInfoPtr scrn = xf86ScreenToScrn(window->drawable.pScreen); xf86CrtcPtr crtc = rrcrtc->devPrivate; - if (!scrn->vtSema || !crtc->enabled) + if (!scrn->vtSema || !drmmode_crtc_on(crtc)) return FALSE; return TRUE; @@ -199,7 +199,7 @@ nouveau_present_flip_exec(ScrnInfoPtr scrn, uint64_t event_id, int sync, flip->msc = target_msc; for (i = 0; i < config->num_crtc; i++) { - if (config-...
2019 Oct 13
0
[PATCH xf86-video-nouveau] dri2, present: move in pixmap before getting addresses
..._check(RRCrtcPtr rrcrtc, WindowPtr window, PixmapPtr pixmap, Bool sync_flip) { ScrnInfoPtr scrn = xf86ScreenToScrn(window->drawable.pScreen); + NVPtr pNv = NVPTR(scrn); xf86CrtcPtr crtc = rrcrtc->devPrivate; + struct nouveau_pixmap *priv = nouveau_pixmap(pixmap); if (!scrn->vtSema || !drmmode_crtc_on(crtc) || crtc->rotatedData) return FALSE; - return TRUE; + if (!priv) { + /* The pixmap may not have had backing for low-memory GPUs, or + * if we ran out of VRAM. Make sure it's properly backed for + * flipping. + */ + pNv->exa_force_cp = TRUE; + exaMove...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...Screen = NVFreeScreen; +#ifdef XORG_WAYLAND + pScrn->driverPrivate = xwl_screen; +#endif + xf86SetEntitySharable(entity_num); pEnt = xf86GetEntityInfo(entity_num); @@ -376,6 +438,11 @@ NVFlushCallback(CallbackListPtr *list, pointer user_data, pointer call_data) if (pScrn->vtSema && !pNv->NoAccel) nouveau_pushbuf_kick(pNv->pushbuf, pNv->pushbuf->channel); +#ifdef XORG_WAYLAND + if (pNv->xwl_screen) + xwl_screen_post_damage(pNv->xwl_screen); +#endif + } static void @@ -399,6 +466,11 @@ NVBlockHandler ( if (pNv->VideoTimerCallback)...
2008 May 22
0
[ANNOUNCE] xorg-server 1.4.99.902
...glxvisuals with stencil buffer for default visuals Hasso Tepper (1): configure.ac: DragonFly BSD support Hong Liu (1): Bug #15160: quirk Proview AY765C James Cloos (1): Prevent the -wm command line option from causing a SEGV Jesse Barnes (1): Fail CRTC configuration if !vtSema Jordan Crouse (1): xf86: Change AutoConfig driver for PCI ID 022:2091 to 'geode' Julien Cristau (4): exa: use xf86ReturnOptValBool instead of xf86IsOptionSet xaa: use xf86ReturnOptValBool instead of xf86IsOptionSet Fix the clock_gettime check for glibc-based non-Li...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...tic void NVBlockHandler (BLOCKHANDLER_ARGS_DECL) { @@ -516,6 +628,11 @@ NVBlockHandler (BLOCKHANDLER_ARGS_DECL) nouveau_dirty_update(pScreen); #endif +#ifdef XMIR + if (pNv->xmir) + xmir_screen_for_each_damaged_window(pNv->xmir, nouveau_submit_dirty_window); +#endif + if (pScrn->vtSema && !pNv->NoAccel) nouveau_pushbuf_kick(pNv->pushbuf, pNv->pushbuf->channel); @@ -535,7 +652,10 @@ NVCreateScreenResources(ScreenPtr pScreen) return FALSE; pScreen->CreateScreenResources = NVCreateScreenResources; - drmmode_fbcon_copy(pScreen); + if (!xorgMir) + d...
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...t;dev->fd); + if (pNv->xwl_screen) { + ret = 0; + } else { + ret = drmDropMaster(pNv->dev->fd); + } if (ret) ErrorF("Error dropping master: %d\n", ret); } @@ -374,6 +428,9 @@ NVFlushCallback(CallbackListPtr *list, pointer user_data, pointer call_data) if (pScrn->vtSema && !pNv->NoAccel) nouveau_pushbuf_kick(pNv->pushbuf, pNv->pushbuf->channel); + if (pNv->xwl_screen) + xwl_screen_post_damage(pNv->xwl_screen); + } static void @@ -392,6 +449,9 @@ NVBlockHandler (BLOCKHANDLER_ARGS_DECL) if (pNv->VideoTimerCallback) (*pNv...
2009 Aug 12
4
TV-out modesetting DDX patches
[PATCH 1/3] kms: Don't hardcode the output properties [PATCH 2/3] kms: Implement output->get_property when RandR1.3 is available. [PATCH 3/3] kms: Add TV-out support src/drmmode_display.c | 403 ++++++++++++++++++++++++++++++++----------------- 1 files changed, 261 insertions(+), 142 deletions(-)