<p dir="ltr">A naive question from someone who knows nothing of icmd or bundles... Would it be better to wait for both bits to become 0 (I.e. 0x6)?</p>
<div class="gmail_quote">On Jun 8, 2015 11:54 AM, "Alexandre Courbot" <<a href="mailto:acourbot@nvidia.com">acourbot@nvidia.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When emitting the ICMD bundle, wait on the bottom half (bit 3 of the<br>
GR_STATUS register) instead of upper half (bit 2) to make sure methods<br>
are effectively emitted.<br>
<br>
Signed-off-by: Alexandre Courbot <<a href="mailto:acourbot@nvidia.com">acourbot@nvidia.com</a>><br>
---<br>
drm/nouveau/nvkm/engine/gr/gf100.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/drm/nouveau/nvkm/engine/gr/gf100.c b/drm/nouveau/nvkm/engine/gr/gf100.c<br>
index 5606c25e5d02..01efc2c96045 100644<br>
--- a/drm/nouveau/nvkm/engine/gr/gf100.c<br>
+++ b/drm/nouveau/nvkm/engine/gr/gf100.c<br>
@@ -699,7 +699,7 @@ gf100_gr_icmd(struct gf100_gr_priv *priv, const struct gf100_gr_pack *p)<br>
<br>
while (addr < next) {<br>
nv_wr32(priv, 0x400200, addr);<br>
- nv_wait(priv, 0x400700, 0x00000002, 0x00000000);<br>
+ nv_wait(priv, 0x400700, 0x00000004, 0x00000000);<br>
addr += init->pitch;<br>
}<br>
}<br>
--<br>
2.4.2<br>
<br>
_______________________________________________<br>
Nouveau mailing list<br>
<a href="mailto:Nouveau@lists.freedesktop.org">Nouveau@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/nouveau" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nouveau</a><br>
</blockquote></div>