summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/nouveau
AgeCommit message (Collapse)Author
2009-03-24nouveau: Frontbuffer needs to be marked as linear.Younes Manton
2009-03-18nouveau: rewrite winsys in terms of drm_api, support dri2 state trackerBen Skeggs
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.
2009-03-13gallium: Remove do_flip argument from surface_copyJakob Bornecrantz
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
2009-03-07nouveau: use bo_handle_ref instead of bo_fake to get front-buffer boBen Skeggs
This'll work on non-GEM also as the DDX will just pass an offset, and libdrm_nouveau knows to treat "handle" as a VRAM offset. When running on GEM the DDX (it doesn't yet, but will) passes a buffer handle instead.
2009-03-07nouveau: fix more breakage from pipe_reference..Ben Skeggs
2009-03-07Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the ↵Victor Stinner
screen/pipe creation failed
2009-03-04gallium: Unify reference counting.Michel Dänzer
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().
2009-03-03winsys: return null for DONTBLOCK flag on existing winsysKeith Whitwell
Add code so that existing driver behaviour doesn't change.
2009-02-20gallium: Improve recursive makefilesJakob Bornecrantz
2009-02-20nouveau: Use new makefile template for drm commonJakob Bornecrantz
2009-02-20nouveau: reenable all the non-nv50 pipe driversBen Skeggs
They still won't build yet, but anyway..
2009-02-20nv50: rework for texture_transfer changesBen Skeggs
2009-02-10gallium: Don't rebuild common drm codeJakob Bornecrantz
2009-02-05nv04-nv40: move 2d blit/fill code into pipe driverBen Skeggs
2009-02-05nv50: move 2d blit/fill code into pipe driverBen Skeggs
2009-02-05nouveau: support getting "native" bo from winsysBen Skeggs
2009-02-04nouveau: get things building/running again after pipe_surface.buffer removalBen Skeggs
Don't look at nouveau_winsys_pipe.h... I promise it's temporary!
2009-02-04nouveau: link against libdrm_nouveau (installed with libdrm)Ben Skeggs
2009-02-02Merge branch 'gallium-0.2' of ↵Stephane Marchesin
git+ssh://marcheu@git.freedesktop.org/git/mesa/mesa into gallium-0.2
2009-02-02nv04: some old changes I had lying around.Stephane Marchesin
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-24nouveau: fix st_get_framebuffer_surface() breakagePekka Paalanen
Someone changed the st_get_framebuffer_surface() signature, and did not update the users in Nouveau winsys. Surface is returned via a pointer now instead of returning it from the function. No semantic changes. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-18nouveau: Rename buffer on map if discardable, busy, and write-only.Younes Manton
2009-01-12nouveau: fix warningBen Skeggs
2009-01-12nouveau: return buffer map to something sane.Ben Skeggs
Sorry, but no, we're not doing this.. Correctness always takes precedence over speed. Implement this higher up where you know it's safe to do so, and doesn't break other things in the process.
2009-01-12nouveau: use usage, not uninitialised flags value...Ben Skeggs
2009-01-10nouveau: Factor out common winsys bits into libnouveaudrm.aYounes Manton
2009-01-10nouveau: Catch some more leaks.Younes Manton
2009-01-10nouveau: Add busy() query, determines if BOs can be mapped immediately.Younes Manton
2009-01-10nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom.Younes Manton
2009-01-10nouveau: Put dynamic textures in GART for CPU access and don't swizzle.Younes Manton
Also flag shadows as dynamic since they're for CPU access as well.
2009-01-10nouveau: Swizzle textures larger than nv04 SIFM limit in parts.Younes Manton
Limit of SIFM on nv40 is 1024x1024, not sure about others.
2008-12-02nouveau: Calc pitch for swizzled textures appropriately.Younes Manton
2008-12-02nouveau: Use swizzled textures & render targets on nv40 when possible.Younes Manton
2008-12-02nouveau: nv04-nv40 linear <-> swizzled conversion.Younes Manton
2008-11-30Nouveau: minor winsys API fixPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-12Merge commit 'origin/gallium-0.1' into gallium-0.2Pekka Paalanen
* commit 'origin/gallium-0.1': Mesa: fix number of buffers in st_draw_vbo(). Nouveau: fix nv20_vertex_layout() Nouveau: update nv20 miptree according to nv40. Nouveau: build, link and use nv20. Nouveau: name replace for nv20. Nouveau: Rename nv20/ files as nv20. Nouveau: copy nv30_vertprog.c to nv20. Nouveau: start nv20 by copying the nv10 tree.
2008-11-10nouveau: pass object handle not pointer to GPU...Ben Skeggs
2008-11-08Nouveau: build, link and use nv20.Pekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-10-27Merge remote branch 'nouveau/gallium-0.1' into gallium-0.2Ben Skeggs
2008-10-07nouveau: first draft of swizzle texture upload to vramPatrice Mandin
2008-09-30nouveau: some small API changesBen Skeggs
2008-09-21nouveau: init scaled_image_from_memory object for swizzled surface uploadPatrice Mandin
2008-09-12nouveau: rework nouveau_screen for latest and greatest changesBen Skeggs
2008-09-11nouveau: gallium directory structure changed again..Ben Skeggs