<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - bisected: GALLIUM_HUD hangs radeon 7970M (PRIME)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82628#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - bisected: GALLIUM_HUD hangs radeon 7970M (PRIME)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82628">bug 82628</a>
from <span class="vcard"><a class="email" href="mailto:haagch@frickel.club" title="Christoph Haag <haagch@frickel.club>"> <span class="fn">Christoph Haag</span></a>
</span></b>
<pre>It's now reverted but for the record so that it's not forgotten:
Whether it makes sense or not, the GPU does not hang if I change the count from
one to two:
diff --git a/src/gallium/auxiliary/hud/hud_context.c
b/src/gallium/auxiliary/hud/hud_context.c
index a05d3c4..2d8bdca 100644
--- a/src/gallium/auxiliary/hud/hud_context.c
+++ b/src/gallium/auxiliary/hud/hud_context.c
@@ -532,7 +532,7 @@ hud_draw(struct hud_context *hud, struct pipe_resource
*tex)
pipe_resource_reference(&hud->text.vbuf.buffer, NULL);
/* draw the rest */
- cso_set_vertex_elements(cso, 1, hud->velems);
+ cso_set_vertex_elements(cso, 2, hud->velems);
LIST_FOR_EACH_ENTRY(pane, &hud->pane_list, head) {
if (pane)
hud_pane_draw_colored_objects(hud, pane);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>