Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nouveau: rewrite nouveau_stateobj to use BEGIN_RING properly | Maarten Maathuis | 2010-01-05 | 1 | -82/+206 |
| | | | | | | | | | - The previous solution was hacky and didn't do subchannel autobinding. - The beheaviour should match what libdrm_nouveau does closely. - The solution remains statically sized, but when debugging is on it will check for abuse. Signed-off-by: Maarten Maathuis <[email protected]> | ||||
* | nouveau: kill nouveau_push.h and use libdrm versions of BEGIN_RINGs, etc | Marcin Slusarz | 2010-01-05 | 1 | -93/+0 |
| | |||||
* | nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped | Maarten Maathuis | 2010-01-05 | 3 | -0/+37 |
| | | | | | | | - This avoids problematic "reloc'ed while mapped" messages and some associated corruption as well. Signed-off-by: Maarten Maathuis <[email protected]> | ||||
* | nouveau: Unreference state/buffer objects on context/screen destruction. | Younes Manton | 2009-12-28 | 1 | -1/+2 |
| | | | | | | | | - unreference state objects so that buffer objects are unreferenced and eventually destroyed - free channel at screen's destruction Based on Krzysztof Smiechowicz's patch. | ||||
* | nouveau: Fix nv20-40 swizzled miptree RTs | Luca Barbieri | 2009-12-28 | 1 | -0/+3 |
| | | | | | | | | | | | | | I just coded a patch that does this and seems to work fine. It must be fixed since it breaks OpenGL (or the state tracker can be changed, but it seems better to do it in the driver). The patch also fixes NV20 and NV30 in the same way. They compile but are untested. I would guess that using the 3D engine is faster for the larger levels, but the 2D engine is faster for the smaller ones (and lacks this issue). | ||||
* | nouveau: avoid running out of relocs | Maarten Maathuis | 2009-12-14 | 1 | -10/+39 |
| | | | | | | | - Added flush notify functions for NV30 and NV40. - Flushing mid frame will call flush notify, which will resubmit all relocs. - We don't try to recover from reloc failure yet. | ||||
* | gallium: fix remaining users of pipe_reference function | Roland Scheidegger | 2009-12-03 | 1 | -1/+2 |
| | |||||
* | nouveau: implement is_{texture,buffer}_referenced properly | Ben Skeggs | 2009-10-19 | 3 | -1/+54 |
| | |||||
* | nouveau: introduce nouveau_miptree common to all nouveau pipe drivers | Ben Skeggs | 2009-08-31 | 1 | -0/+11 |
| | | | | | | | | The winsys once again has to know about textures it seems, so we need a common representation between all our pipe drivers to store some information the winsys will need. Only the nv50 driver has been fixed so far. | ||||
* | nouveau: map_range returning -EBUSY isn't necessarily an error | Ben Skeggs | 2009-07-29 | 1 | -3/+6 |
| | |||||
* | nouveau: forgotten makefile... | Ben Skeggs | 2009-06-07 | 1 | -0/+8 |
| | |||||
* | nouveau: plug in our map_buffer_range and friends | Ben Skeggs | 2009-06-05 | 1 | -7/+1 |
| | |||||
* | nouveau: fix build with libdrm_nouveau 0.6 | Ben Skeggs | 2009-06-05 | 3 | -10/+9 |
| | |||||
* | nouveau: move channel creation into pipe drivers | Ben Skeggs | 2009-06-05 | 4 | -36/+33 |
| | |||||
* | nouveau: call notifier/grobj etc funcs directly | Ben Skeggs | 2009-06-05 | 2 | -27/+1 |
| | | | | | libdrm_nouveau is linked with the winsys, there's no good reason to do all this through yet another layer. | ||||
* | nouveau: add pipe_buffer/fence code to pipe drivers, move nv50 over | Ben Skeggs | 2009-06-05 | 2 | -0/+266 |
| | |||||
* | nouveau: pass nouveau_bo instead of pipe_buffer to so_ calls | Ben Skeggs | 2009-06-05 | 1 | -11/+10 |
| | |||||
* | nouveau: call nouveau_pushbuf directly rather than going through nvws | Ben Skeggs | 2009-06-05 | 3 | -26/+36 |
| | |||||
* | nouveau: fix some pipe_buffer reference counting issues | Ben Skeggs | 2009-03-25 | 1 | -1/+5 |
| | |||||
* | nouveau: rewrite winsys in terms of drm_api, support dri2 state tracker | Ben Skeggs | 2009-03-18 | 1 | -1/+1 |
| | | | | | | | | | | drm_api is a set of hooks used by the dri2 state tracker, this wraps our dri1 code around the same set of hooks. Currently the dri2 build will produce nouveau_dri2.so which you'll need to install as nouveau_dri.so if you wish to try it. The dri2 state tracker doesn't make it easy for a driver to support both paths in the same binary. | ||||
* | nouveau: make stateobjs start off with refcount of 1 | Ben Skeggs | 2009-03-07 | 1 | -1/+1 |
| | |||||
* | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 1 | -9/+3 |
| | | | | | | | | | | | | | | The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create(). | ||||
* | nv50: rework for texture_transfer changes | Ben Skeggs | 2009-02-20 | 1 | -2/+3 |
| | |||||
* | util: Move p_debug.h into util module. | José Fonseca | 2009-02-18 | 1 | -1/+1 |
| | | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | ||||
* | nv04-nv40: move 2d blit/fill code into pipe driver | Ben Skeggs | 2009-02-05 | 1 | -1/+1 |
| | |||||
* | nouveau: support getting "native" bo from winsys | Ben Skeggs | 2009-02-05 | 1 | -0/+2 |
| | |||||
* | nouveau: notifier timeout is a float now | Ben Skeggs | 2009-02-04 | 1 | -1/+1 |
| | |||||
* | nouveau: link against libdrm_nouveau (installed with libdrm) | Ben Skeggs | 2009-02-04 | 9 | -8278/+3 |
| | |||||
* | gallium: make p_winsys internal | Zack Rusin | 2009-01-30 | 1 | -1/+1 |
| | | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage | ||||
* | Nouveau: move the definition of log2i() to header | Pekka Paalanen | 2008-12-13 | 1 | -0/+27 |
| | | | | | | | Also make the type unsigned instead of signed, since negative values do not make sense. Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | nouveau: remove useless NOUVEAU_BO_SWIZZLED flag, copy/paste nv40 work to ↵ | Patrice Mandin | 2008-12-12 | 1 | -1/+0 |
| | | | | swizzle textures | ||||
* | nouveau: nv04-nv40 linear <-> swizzled conversion. | Younes Manton | 2008-12-02 | 1 | -0/+2 |
| | |||||
* | Nouveau: nv{10,20} set_primitive API fix | Pekka Paalanen | 2008-11-30 | 1 | -1/+1 |
| | | | | | | | Also changes nvgl_primitive() to return zero, i.e. error, on unknown primitive. Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | Nouveau: update nouveau_class.h | Pekka Paalanen | 2008-11-30 | 1 | -58/+1805 |
| | | | | | | Fresh from renouveau. Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | Nouveau: build, link and use nv20. | Pekka Paalanen | 2008-11-08 | 1 | -0/+6 |
| | | | | Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | nouveau: add flag for swizzled surface upload | Patrice Mandin | 2008-09-21 | 1 | -0/+1 |
| | |||||
* | nouveau: gallium directory structure changed again.. | Ben Skeggs | 2008-09-11 | 1 | -1/+0 |
| | |||||
* | nv40: Support for PIPE_FORMAT_R16_SNORM. | Younes Manton | 2008-08-03 | 1 | -0/+1 |
| | |||||
* | nv30: does not have vp_attrib/result | Patrice Mandin | 2008-07-12 | 1 | -2/+0 |
| | |||||
* | nouveau: update to latest object header | Ben Skeggs | 2008-07-11 | 1 | -14/+38 |
| | |||||
* | nv30: update nouveau_class.h | Patrice Mandin | 2008-07-09 | 1 | -9/+52 |
| | |||||
* | nv50: make use of nouveau drm 0.0.11 to get 3d going | Ben Skeggs | 2008-07-08 | 2 | -0/+5 |
| | |||||
* | nv04. | Stephane Marchesin | 2008-07-08 | 1 | -0/+6 |
| | |||||
* | nv50: use stateobjs for sampler/image_control uploads | Ben Skeggs | 2008-06-29 | 1 | -0/+18 |
| | |||||
* | nv50: flag to indicate to winsys we want a surface for use as a zeta buffer | Ben Skeggs | 2008-06-29 | 1 | -0/+1 |
| | | | | | NVIDIA love to make life difficult.. we need different flags in PTEs for zeta.. yay.. not. | ||||
* | Update for extra vertex attributes | Patrice Mandin | 2008-06-21 | 1 | -74/+89 |
| | |||||
* | nv30: Update nouveau_class.h to get its proper defines instead of using nv40 ↵ | Patrice Mandin | 2008-06-21 | 1 | -30/+47 |
| | | | | ones | ||||
* | nouveau: remove chipset fields in all nv pipe driver context/screen structs. | Ben Skeggs | 2008-05-13 | 1 | -8/+5 |
| | |||||
* | nouveau: make nouveau_device.h part of public API | Ben Skeggs | 2008-05-13 | 1 | -0/+30 |
| | |||||
* | nouveau: create objnull during channel creation | Ben Skeggs | 2008-05-13 | 1 | -0/+1 |
| |