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@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2010-04-27 10:27:44 +01:00
parent 9a5cd65b59
commit 8562b7bc67
1 changed files with 1 additions and 0 deletions

View File

@ -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,