[Bug 79053] [BDW userptr regression] Rendercheck dcoords causes X crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 6 00:19:55 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79053

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEEDINFO

--- Comment #21 from Chris Wilson <chris at chris-wilson.co.uk> ---
This should force that operation to use the BLT rather than the render
pipeline, please test.

diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index a307d9e..7e6f9c8 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -16272,6 +16272,10 @@ sna_get_image__blt(PixmapPtr pixmap,
                dst_bo->pitch = pitch;
                kgem_bo_mark_unreusable(dst_bo);

+               kgem_set_mode(&sna->kgem, KGEM_BLT, dst_bo);
+               kgem_bo_mark_busy(priv->gpu_bo, KEM_BLT);
+               kgem_bo_mark_busy(dst_bo, KEM_BLT);
+
                ok = sna->render.copy_boxes(sna, GXcopy,
                                            pixmap, priv->gpu_bo, 0, 0,
                                            pixmap, dst_bo,

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140606/e7b476fe/attachment.html>


More information about the intel-gfx-bugs mailing list