Displaying 3 results from an estimated 3 matches for "nv50_cb_push".
2015 Oct 10
3
[PATCH] nv50, nvc0: don't base decisions on available pushbuf space
...nr = PUSH_AVAIL(push);
- assert(nr >= 16);
- nr = MIN2(count, nr - 1);
- nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN);
+ unsigned nr = MIN2(count, NV04_PFIFO_MAX_PACKET_LEN);
BEGIN_NI04(push, NV50_2D(SIFC_DATA), nr);
PUSH_DATAp(push, src, nr);
@@ -395,12 +388,9 @@ nv50_cb_push(struct nouveau_context *nv,
nouveau_pushbuf_validate(push);
while (words) {
- unsigned nr;
-
- nr = PUSH_AVAIL(push);
- nr = MIN2(nr - 7, words);
- nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN - 1);
+ unsigned nr = MIN2(words, NV04_PFIFO_MAX_PACKET_LEN);
+ PUSH_...
2015 Oct 10
2
[PATCH] nv50, nvc0: don't base decisions on available pushbuf space
...gt; - nr = MIN2(count, nr - 1);
>> - nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN);
>> + unsigned nr = MIN2(count, NV04_PFIFO_MAX_PACKET_LEN);
>> BEGIN_NI04(push, NV50_2D(SIFC_DATA), nr);
>> PUSH_DATAp(push, src, nr);
>> @@ -395,12 +388,9 @@ nv50_cb_push(struct nouveau_context *nv,
>> nouveau_pushbuf_validate(push);
>> while (words) {
>> - unsigned nr;
>> -
>> - nr = PUSH_AVAIL(push);
>> - nr = MIN2(nr - 7, words);
>> - nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN - 1);
>> +...
2014 Jul 01
0
[PATCH] nv50: disable dedicated ubo upload method
...* 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