Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-07-16 | drm: remove drmP.h internal typedefs | Dave Airlie | |
2007-07-14 | nouveau: nv10 and nv11/15 are different | Patrice Mandin | |
2007-07-13 | nouveau: nuke internal typedefs, and drm_device_t use. | Ben Skeggs | |
2007-07-12 | nouveau: separate region_offset into map_handle and offset. | Ben Skeggs | |
2007-07-12 | fixed object creation code to not Oops on 64bits, worked around memalloc not ↵ | Arthur Huillet | |
working on 64bit for PCIGART | |||
2007-07-11 | fixed bug that prevented PCIE cards from actually using PCIGART - NV50 will ↵ | Arthur Huillet | |
probably still have a problem | |||
2007-07-11 | nouveau: Some checks on userspace object handles. | Ben Skeggs | |
2007-07-11 | Added support for PCIGART for PCI(E) cards. Bumped DRM interface patchlevel. | Arthur Huillet | |
2007-07-09 | nouveau: Allocate mappable VRAM for notifiers.. | Ben Skeggs | |
2007-07-09 | nouveau/nv50: Initial channel/object support | Ben Skeggs | |
Should be OK on G84 for a single channel, multiple channels *almost* work. Untested on G80. | |||
2007-07-09 | nouveau: rewrite gpu object code | Ben Skeggs | |
Allows multiple references to a single object, needed to support PCI(E)GART scatter-gather DMA objects which would quickly fill PRAMIN if each channel had its own. Handle per-channel private instmem areas. This is needed to support NV50, but might be something we want to do on earlier chipsets at some point? Everything that touches PRAMIN is a GPU object. | |||
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. |