xf86-video-intel: src/i830_uxa.c

Chris Wilson ickle at kemper.freedesktop.org
Tue Apr 27 02:29:44 PDT 2010


 src/i830_uxa.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8562b7bc6740eef2602af76b8685388efd2d4d37
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Apr 27 10:27:44 2010 +0100

    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 <chris at chris-wilson.co.uk>

diff --git a/src/i830_uxa.c b/src/i830_uxa.c
index 07fca49..4a13eb0 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,


More information about the xorg-commit mailing list