Displaying 2 results from an estimated 2 matches for "push_cb".
Did you mean:
push_
2014 Jul 01
0
[PATCH] nv50: disable dedicated ubo upload method
...happen
+ * when there are only constbuf changes. However that relies on the
+ * constbuf updates happening to the right constbuf slots. Currently
+ * implementation just makes it go through a separate slot which doesn't
+ * properly update the right constbuf data.
nv50->base.push_cb = nv50_cb_push;
+ */
nv50->screen = screen;
pipe->screen = pscreen;
--
1.8.5.5
2016 Jun 05
0
[RFC PATCH] nouveau: add locking
...mutex_lock(nvc0->screen->base.push_mutex);
+
if (index == -1) {
/* TODO: Use a macro to write the availability of the query */
if (hq->state != NVC0_HW_QUERY_STATE_READY)
@@ -382,6 +393,7 @@ nvc0_hw_get_query_result_resource(struct nvc0_context *nvc0,
nvc0->base.push_cb(&nvc0->base, buf, offset,
result_type >= PIPE_QUERY_TYPE_I64 ? 2 : 1,
ready);
+ pipe_mutex_unlock(nvc0->screen->base.push_mutex);
return;
}
@@ -469,6 +481,8 @@ nvc0_hw_get_query_result_resource(struct nvc0_context...