search for: nve4_p2mf

Displaying 4 results from an estimated 4 matches for "nve4_p2mf".

2014 Dec 31
0
[PATCH 2/2] nvc0: regenerate rnndb headers
...ce.c | 22 +- src/gallium/drivers/nouveau/nvc0/nvc0_tex.c | 12 +- src/gallium/drivers/nouveau/nvc0/nvc0_transfer.c | 8 +- src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h | 4 +- .../drivers/nouveau/nvc0/nve4_compute.xml.h | 61 +- src/gallium/drivers/nouveau/nvc0/nve4_p2mf.xml.h | 102 +- 15 files changed, 1153 insertions(+), 832 deletions(-) delete mode 100644 src/gallium/drivers/nouveau/nvc0/nvc0_2d.xml.h delete mode 100644 src/gallium/drivers/nouveau/nvc0/nvc0_3ddefs.xml.h create mode 100644 src/gallium/drivers/nouveau/nvc0/nvc0_macros.h diff --git a/src/ga...
2014 Dec 31
2
[PATCH 1/2] nv50: regenerate rnndb headers
The headers hadn't been regenerated in a long time, and there were a few minor divergences. Among other things, rnndb has changed naming to G80/etc, for now I've not tackled switching that over and manually replaced the nvidia codenames back to the chip ids. However no other modifications of the headergen'd headers was done. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
2015 Oct 10
3
[PATCH] nv50, nvc0: don't base decisions on available pushbuf space
...sh, nr + 9)) break; - nr = PUSH_AVAIL(push); - assert(nr >= 16); - nr = MIN2(count, nr - 9); - nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN); BEGIN_NVC0(push, NVC0_M2MF(OFFSET_OUT_HIGH), 2); PUSH_DATAh(push, dst->offset + offset); @@ -234,14 +230,10 @@ nve4_p2mf_push_linear(struct nouveau_context *nv, nouveau_pushbuf_validate(push); while (count) { - unsigned nr; + unsigned nr = MIN2(count, (NV04_PFIFO_MAX_PACKET_LEN - 1)); - if (!PUSH_SPACE(push, 16)) + if (!PUSH_SPACE(push, nr + 10)) break; - nr = PUSH_AVAIL...
2015 Oct 10
2
[PATCH] nv50, nvc0: don't base decisions on available pushbuf space
...h); >> - assert(nr >= 16); >> - nr = MIN2(count, nr - 9); >> - nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN); >> BEGIN_NVC0(push, NVC0_M2MF(OFFSET_OUT_HIGH), 2); >> PUSH_DATAh(push, dst->offset + offset); >> @@ -234,14 +230,10 @@ nve4_p2mf_push_linear(struct nouveau_context *nv, >> nouveau_pushbuf_validate(push); >> while (count) { >> - unsigned nr; >> + unsigned nr = MIN2(count, (NV04_PFIFO_MAX_PACKET_LEN - 1)); >> - if (!PUSH_SPACE(push, 16)) >> + if (!PUSH_SPACE...