Displaying 2 results from an estimated 2 matches for "donecopy".
Did you mean:
do_copy
2009 Sep 14
1
[Nouveau-cvs] xf86-video-nv: Branch 'master'
...ms: wait for fbcon to be copied before continuing
>
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index 3010396..e152e7f 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -215,6 +215,12 @@ drmmode_fbcon_copy(ScrnInfoPtr pScrn)
> exa->DoneCopy(pdpix);
> FIRE_RING (pNv->chan);
>
> + /* wait for completion before continuing, avoids seeing a momentary
> + * flash of "corruption" on occasion
> + */
> + nouveau_bo_map(pNv->scanout, NOUVEAU_BO_RDWR);
> + nouveau_bo_unmap(pNv->scanout);
> +
>...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...lY, pScrn->depth, pScrn->depth,
+ pScrn->virtualX, NULL);
+ nouveau_bo_ref(bo_dst, &nouveau_pixmap(dst)->bo);
+
+ ret = exa->PrepareCopy (src, dst, 0, 0, GXcopy, FB_ALLONES);
+ if (ret) {
+ exa->Copy (dst, 0, 0, 0, 0, pScrn->virtualX, pScrn->virtualY);
+ exa->DoneCopy (dst);
+ PUSH_KICK(pNv->pushbuf);
+ }
+
+cleanup_bo:
+ nouveau_bo_ref(NULL, &bo_dst);
+}
+
+static void
+nouveau_xmir_buffer_available(WindowPtr win)
+{
+ int fd;
+ PixmapPtr window_pixmap;
+ ScreenPtr screen = win->drawable.pScreen;
+
+ if (!xmir_window_is_dirty(win))
+...