search for: nv04_pfifo_max_packet_len

Displaying 5 results from an estimated 5 matches for "nv04_pfifo_max_packet_len".

2015 Oct 10
3
[PATCH] nv50, nvc0: don't base decisions on available pushbuf space
...; 12) | (i << 8) | p | 1); } while (words) { - unsigned nr; - - if (!PUSH_SPACE(push, 16)) - break; - nr = PUSH_AVAIL(push); - assert(nr >= 16); - nr = MIN2(MIN2(nr - 3, words), NV04_PFIFO_MAX_PACKET_LEN); + unsigned nr = MIN2(words, NV04_PFIFO_MAX_PACKET_LEN); + PUSH_SPACE(push, nr + 3); BEGIN_NV04(push, NV50_3D(CB_ADDR), 1); PUSH_DATA (push, (start << 8) | b); BEGIN_NI04(push, NV50_3D(CB_DATA(0)), nr); diff --git...
2015 Oct 10
2
[PATCH] nv50, nvc0: don't base decisions on available pushbuf space
...ile (words) { >> - unsigned nr; >> - >> - if (!PUSH_SPACE(push, 16)) >> - break; >> - nr = PUSH_AVAIL(push); >> - assert(nr >= 16); >> - nr = MIN2(MIN2(nr - 3, words), NV04_PFIFO_MAX_PACKET_LEN); >> + unsigned nr = MIN2(words, NV04_PFIFO_MAX_PACKET_LEN); >> + PUSH_SPACE(push, nr + 3); > > > This PUSH_SPACE call doesn't seem to be needed for me because > NV50_PUSH_EXPLICIT_SPACE_CHECKING is not set and the following BEGIN_XXX > c...
2015 Dec 16
11
[mesa v3 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com> v2. forgot bump for non-gallium driver Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b6680d0..965c6f7 100644 --- a/configure.ac +++ b/configure.ac @@ -72,8 +72,8 @@ LIBDRM_REQUIRED=2.4.60
2014 Dec 31
0
[PATCH 2/2] nvc0: regenerate rnndb headers
...ers/nouveau/nvc0/nvc0_transfer.c index 82f1ffc..45c6f7c 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_transfer.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_transfer.c @@ -243,14 +243,14 @@ nve4_p2mf_push_linear(struct nouveau_context *nv, nr = MIN2(count, nr - 8); nr = MIN2(nr, (NV04_PFIFO_MAX_PACKET_LEN - 1)); - BEGIN_NVC0(push, NVE4_P2MF(DST_ADDRESS_HIGH), 2); + BEGIN_NVC0(push, NVE4_P2MF(UPLOAD_DST_ADDRESS_HIGH), 2); PUSH_DATAh(push, dst->offset + offset); PUSH_DATA (push, dst->offset + offset); - BEGIN_NVC0(push, NVE4_P2MF(LINE_LENGTH_IN), 2); + BEGIN_N...
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>