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:
parent
9a5cd65b59
commit
8562b7bc67
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue