search for: stateobj

Displaying 9 results from an estimated 9 matches for "stateobj".

2010 Mar 14
1
RFC: gallium/nv50: get rid of the screen_init stateobj
Hi. There's not much to say here, just replacing the screen_init stateobj with direct pushbuffer emission. We don't need to store all the usless state from init, and the constant buffer relocations which currently don't work if the addresses change (because the method CB_DEF_SET isn't among them (not an address)) become effective. Thoughts, ack / nack ? Tha...
2018 Oct 16
0
[ANNOUNCE] libdrm 2.4.96
...deadlock tests for AI and RV v2 Rob Clark (14): xf86drmHash: remove redundant zero init freedreno/msm: get rid of ring_bo unref hack freedreno: expose refcnt'ing on ringbuffers freedreno: add flags param for rb creation freedreno/msm: support suballocation for stateobj rb's freedreno: remove deprecated ringmarker API freedreno/msm: remove reset of linked rings freedreno/msm: simplify emit_reloc_ring() vfunc freedreno/msm: use hashtable to track submit.cmds table freedreno/msm: simplify msm_ringbuffer_flush() freedreno/msm:...
2009 Jun 21
0
[PATCH] nv50: add support for two-sided lighting
...so, tesla, 0x140c, 1); so_data (so, p->code->start); so_ref(so, &nv50->state.vertprog); @@ -2410,7 +2425,6 @@ nv50_fragprog_validate(struct nv50_context *nv50) struct nouveau_grobj *tesla = nv50->screen->tesla; struct nv50_program *p = nv50->fragprog; struct nouveau_stateobj *so; - unsigned i; if (!p->translated) { nv50_program_validate(nv50, p); @@ -2421,18 +2435,7 @@ nv50_fragprog_validate(struct nv50_context *nv50) nv50_program_validate_data(nv50, p); nv50_program_validate_code(nv50, p); - so = so_new(32, 0); - so_method(so, tesla, 0x1904, 4); - so_d...
2018 Aug 01
0
[ANNOUNCE] libdrm 2.4.93
...criptors Revert "amdgpu: don't call add_handle_to_table for KMS BO exports" Rob Clark (5): freedreno: add user ptr to fd_ringbuffer freedreno: add fd_ringbuffer_new_object() freedreno: small cleanup freedreno: slight reordering freedreno/msm: "stateobj" support git tag: libdrm-2.4.93 https://dri.freedesktop.org/libdrm/libdrm-2.4.93.tar.bz2 MD5: 0ba45ad1551b2c1b6df0797a3e65f827 libdrm-2.4.93.tar.bz2 SHA1: 550ba4bb50236fc2e9138cbeadcb4942ce09410e libdrm-2.4.93.tar.bz2 SHA256: 6e84d1dc9548a76f20b59a85cf80a0b230cd8196084f5243469d9e65354fcd3...
2010 Mar 10
0
nv50/gallium: a few comments about latest patches
...work than emitting the whole state object obviously. Just, you forgot the card won't care until you write NV50TCL_TIC_FLUSH. I was waiting for our new memory manager to alleviate the problem. - nv50: rework state emission At some point we talked about getting rid of some of these non constant stateobjs, it doesn't really make much sense to allocate, emit, destroy them all the time, except for multiple contexts maybe; and even then for some state like stencil ref or blend color just using RING directly still seems to be better to me. Anyway, the code became nicer here :-) - nv50: always emit...
2009 Dec 20
1
[PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...uveau_bo_unmap() in the vbo code that wasn't present. Signed-off-by: Maarten Maathuis <madman2003 at gmail.com> --- src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++ src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++ src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++ src/gallium/drivers/nv50/nv50_screen.c | 23 +++++++++++++++++++++++ src/gallium/drivers/nv50/nv50_screen.h | 2 ++ src/gallium/drivers/nv50/nv50_state_validate.c | 2 ++ src/gallium/drivers/nv50/nv50_vbo.c | 4 +++- 7 files changed, 67...
2009 Dec 20
2
[PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
...ed" messages and some associated corruption as well. Signed-off-by: Maarten Maathuis <madman2003 at gmail.com> --- src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++ src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++ src/gallium/drivers/nouveau/nouveau_stateobj.h | 20 +++++++++++++++++++- src/gallium/drivers/nv50/nv50_screen.c | 20 ++++++++++++++++++++ src/gallium/drivers/nv50/nv50_screen.h | 2 ++ src/gallium/drivers/nv50/nv50_state_validate.c | 2 ++ src/gallium/drivers/nv50/nv50_vbo.c | 4 +++- 7 files changed,...
2009 Sep 12
0
[PATCH 10/13] nv50: proper linkage between VP and FP
...) diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h index 1e9e8e4..3a5f990 100644 --- a/src/gallium/drivers/nv50/nv50_context.h +++ b/src/gallium/drivers/nv50/nv50_context.h @@ -116,6 +116,7 @@ struct nv50_state { unsigned miptree_nr; struct nouveau_stateobj *vertprog; struct nouveau_stateobj *fragprog; + struct nouveau_stateobj *programs; struct nouveau_stateobj *vtxfmt; struct nouveau_stateobj *vtxbuf; struct nouveau_stateobj *vtxattr; @@ -190,6 +191,7 @@ extern void nv50_clear(struct pipe_context *pipe, unsigned buffers, /* nv50_program.c *...
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...ed" messages and some associated corruption as well. Signed-off-by: Maarten Maathuis <madman2003 at gmail.com> --- src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++ src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++ src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++ src/gallium/drivers/nv50/nv50_screen.c | 23 +++++++++++++++++++++++ src/gallium/drivers/nv50/nv50_screen.h | 2 ++ src/gallium/drivers/nv50/nv50_state_validate.c | 3 +++ 6 files changed, 65 insertions(+), 0 deletions(-) diff --git a/src/gallium/dri...