Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-28 | nouveau: Hack around possible Xv blit adaptor breakage | Ben Skeggs | |
2007-06-28 | nouveau: Nuke DMA_OBJECT_INIT ioctl (bumps interface to 0.0.7) | Ben Skeggs | |
For various reasons, this ioctl was a bad idea. At channel creation we now automatically create DMA objects covering available VRAM and GART memory, where the client used to do this themselves. However, there is still a need to be able to create DMA objects pointing at specific areas of memory (ie. notifiers). Each channel is now allocated a small amount of memory from which a client can suballocate things (such as notifiers), and have a DMA object created which covers the suballocated area. The NOTIFIER_ALLOC ioctl exposes this functionality. | |||
2007-06-25 | nouveau: NV49/NV4B PGRAPH setup from jb17bsome and stephan_2303 | Ben Skeggs | |
2007-06-24 | nouveau: kill some dead code | Ben Skeggs | |
2007-06-24 | nouveau: NV04/NV10/NV20 PGRAPH engtab functions | Ben Skeggs | |
NV04/NV10 load_context()/save_context() are stubs. I don't know enough about how they work to implement them sanely. The "old" context_switch() code remains hooked up, so it shouldn't break anything. NV20 will probably break if load_context() works. No inital context values are filled in, so when the first channel is created PGRAPH will probably end up having its state zeroed. Some setup from nv20_graph_init() will probably need to be moved to the per-channel context setup. | |||
2007-06-24 | nouveau: NV3X PGRAPH engtab functions | Ben Skeggs | |
2007-06-24 | nouveau: NV1X/2X/3X PFIFO engtab functions | Ben Skeggs | |
Earlier NV1X chips use the NV04 code, see previous commits about NV10 RAMFC entry size. | |||
2007-06-24 | nouveau: NV04 PFIFO engtab functions | Ben Skeggs | |
2007-06-24 | nouveau: NV4X PGRAPH engtab functions | Ben Skeggs | |
2007-06-24 | nouveau: NV4X PFIFO engtab functions | Ben Skeggs | |
2007-06-24 | nouveau: split PFIFO/PGRAPH context creation | Ben Skeggs | |
2007-06-24 | nouveau: (mostly) hook up put_base again | Ben Skeggs | |
2007-05-08 | nouveau : fix fifo context size for nv10 | Matthieu Castet | |
2007-03-26 | nouveau: move card initialisation into the drm | Ben Skeggs | |
The PGRAPH init for the various cards will need cleaning up at some point, a lot of the values written there are per-context state left over from the all the hardcoding done in the ddx. It's possible some cards get broken by this commit, let me know. Tested on: NV5, NV18, NV28, NV35, NV40, NV4E | |||
2007-03-23 | nouveau: rework nouveau_fifo_alloc() so the drm can create internal FIFOs | Ben Skeggs | |
2007-03-23 | nouveau: remove unused cruft | Ben Skeggs | |
2007-03-21 | nouveau: support multiple channels per client (breaks drm interface) | Ben Skeggs | |
2007-03-13 | nouveau: make sure cmdbuf object gets destroyed | Ben Skeggs | |
2007-03-13 | nouveau: associate all created objects with a channel + cleanups | Ben Skeggs | |
2007-03-11 | nouveau: PUT,GET, not 2xPUT | Patrice Mandin | |
2007-02-28 | nouveau: intrusive drm interface changes | Ben Skeggs | |
graphics objects: - No longer takes flags/dmaobj parameters, requires some major changes to the ddx to setup the object through the FIFO. This change is likely to cause breakages on some cards (tested on NV05,NV28,NV35, NV40 and NV4E). dma objects: - now takes a "class" parameter, not really used yet but we may need it at some point. - parameters are checked, so clients can't randomly create DMA objects pointing at whatever they feel like. misc: - Added FB_SIZE/AGP_SIZE getparams - Read PFIFO_INTR in PFIFO irq handler, not PMC_INTR - Dump PGRAPH trap info on PGRAPH_INTR_NOTIFY if NSOURCE isn't NOTIFICATION_PENDING. | |||
2007-02-14 | nouveau: fix the build on big endian (thanks CyberFoxx) | Stephane Marchesin | |
2007-02-06 | nouveau: more work on the nv04 context switch code. | Stephane Marchesin | |
2007-02-03 | nouveau: and of course, I was missing the last nv04 piece. | Stephane Marchesin | |
2007-02-03 | nouveau: rename registers to their proper names. | Stephane Marchesin | |
2007-01-25 | nouveau: simplify and fix BIG_ENDIAN flags | Patrice Mandin | |
2007-01-18 | nouveau: Remove write to CTX_SIZE. This gives us proper nv3x PGRAPH switching. | Jeremy Kolb | |
2007-01-17 | nouveau: Try to get nv35 pgraph switching working. Doesn't quite yet. | Jeremy Kolb | |
Hook into nv20 pgraph switching functions (they're identical for nv3x). Actually call nv30_pgraph_context_init so the ctx_table is allocated. Thanks to Carlos Martin for the help. | |||
2007-01-13 | nouveau: nv20 graph ctx switch. | Matthieu Castet | |
Untested... | |||
2007-01-13 | nouveau: first step to make graph ctx works | Matthieu Castet | |
It is still not working, but now we could use some 3D commands without needed to run nvidia blob before. | |||
2007-01-12 | nouveau : remove useless init : we clear RAMIN before | Matthieu Castet | |
2007-01-12 | nouveau: get nv30 context switching to work. | Jeremy Kolb | |
* Pulled in some registers from nv10reg.h. Needed for context switching. * Filled in nv30 graphics context (based on nv40_graph.c). * Figure out nv30 context table, set up on context creation. Allows the cards automatic switching to work. | |||
2007-01-08 | nouveau: avoid allocating vram that's used as instance memory. | Ben Skeggs | |
2007-01-05 | Merge branch 'master' of git+ssh://matc@git.freedesktop.org/git/mesa/drm/ | Matthieu Castet | |
2007-01-05 | Add basic pgraph context for nv10. | Matthieu Castet | |
It only fake a context switch : pgraph state are not save/restored. | |||
2007-01-05 | Cleanup the nv04 fifo code a bit. | Stephane Marchesin | |
2007-01-02 | nouveau: oops, forgot to free RAMIN.. | Ben Skeggs | |
2007-01-02 | nouveau: Hook up grctx code for NV4x. | Ben Skeggs | |
This is enough to get grctx switching going on my NV40 and C51 after the binary driver has initialised the card first. Bumping the drm patchlevel because the ddx needs some modifications to have NV4x work at all with these changes. | |||
2007-01-02 | nouveau: Only clobber PFIFO if no channels are already alloc'd | Ben Skeggs | |
With this change the GPU is responsible for doing the channel switch itself. This is needed for the upcoming NV4x PGRAPH context work as we don't yet know enough to manually swap PGRAPH contexts. | |||
2006-12-26 | nouveau: Alloc cmdbuf for each channel individually | Ben Skeggs | |
2006-12-21 | nouveau: save/restore endianness flag on FIFO switch | Ben Skeggs | |
This makes my G5 survive glxinfo and nouveau_demo - airlied | |||
2006-12-12 | Port remaining NV4 RAMIN access from the ddx into the drm. | Ben Skeggs | |
Should fix lockups seen on NV4 cards. | |||
2006-12-03 | Merge the pciid work. | Stephane Marchesin | |
Add getparams for AGP and FB physical adresses. Fix the MEM_ALLOC issue properly. Fix context switches for nv44. Change the DRM version to 0.0.1. | |||
2006-11-30 | Use nouveau_mem.c to allocate RAMIN. | Ben Skeggs | |
2006-11-30 | Wrap access to objects in RAMIN. | Ben Skeggs | |
This will make it easier to support extra RAMIN in vram at a later point. | |||
2006-11-28 | For nv10, bit 16 of RAMFC need to be set for 64 bytes fifo context. | Matthieu Castet | |
When cleaning a fifo, we shouldn't assume everybody use nv40 ;) Fill DMA_SUBROUTINE fill correct value. | |||
2006-11-18 | Only return FIFO number if the FIFO is marked as in use.. | Ben Skeggs | |
2006-11-18 | Check some return vals, fixes a couple of oopses. | Ben Skeggs | |
2006-11-17 | Dump some useful info when a PGRAPH error occurs. | Ben Skeggs | |
The "channel" detect doesn't work on my nv40, but the rest seems to produce sane info. | |||
2006-11-14 | Completely untested NV10/20/30 FIFO context switching changes. | Ben Skeggs | |