From 8562b7bc6740eef2602af76b8685388efd2d4d37 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 27 Apr 2010 10:27:44 +0100 Subject: [PATCH] i830: prepare the uxa pixmap for fbCopyArea. Complete the prepare access for the PutImage fallback via fbCopyArea(), by remembering to set the private pointer to the GTT mapping. Signed-off-by: Chris Wilson --- src/i830_uxa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i830_uxa.c b/src/i830_uxa.c index 07fca490..4a13eb0b 100644 --- a/src/i830_uxa.c +++ b/src/i830_uxa.c @@ -861,6 +861,7 @@ static Bool i830_uxa_put_image(PixmapPtr pixmap, if (scratch) { gc = GetScratchGC(pixmap->drawable.depth, screen); if (gc) { + pixmap->devPrivate.ptr = priv->bo->virtual; ret = !! fbCopyArea(&scratch->drawable, &pixmap->drawable, gc, 0, 0, w, h,