<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - [BDW userptr regression] Rendercheck dcoords causes X crash"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79053">bug 79053</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>ASSIGNED
</td>
<td>NEEDINFO
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - [BDW userptr regression] Rendercheck dcoords causes X crash"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79053#c21">Comment # 21</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - [BDW userptr regression] Rendercheck dcoords causes X crash"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79053">bug 79053</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>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,</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>