Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-10-27 | Reserve the new IOCTLs also for *bsd. | Thomas Hellstrom | |
Bump libdrm version number to 2.2.0 | |||
2006-10-27 | Last minute changes to support multi-page size buffer offset alignments. | Thomas Hellstrom | |
This will come in very handy for tiled buffers on intel hardware. Also add some padding to interface structures to allow future binary backwards compatible changes. | |||
2006-10-26 | New mm function names. Update header. | Thomas Hellstrom | |
2006-10-26 | Add improved alignment functionality to the core memory manager. | Thomas Hellstrom | |
This makes an allocated block actually align itself and returns any wasted space to the manager. Also add some functions to grow and shrink the managed area. This will be used in the future to manage the buffer object swap cache. | |||
2006-10-26 | Add a one-page hole in the file offset space between buffers. | Thomas Hellstrom | |
2006-10-21 | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm | Thomas Hellstrom | |
2006-10-21 | The CPU cache must be flushed _before_ we start modifying the kernel map ptes, | Thomas Hellstrom | |
otherwise data will be missing, which becomes apparent when the kernel evicts batch buffers which are likely to be written into in the evicted state, and then rebound to the AGP aperture. This means we cannot rely on the AGP module to flush the cache for us. | |||
2006-10-20 | Bug #1746: Set dev_priv_size for the MGA driver. | Tilman Sauerbeck | |
2006-10-20 | We apparently need this global cache flush anyway. | Thomas Hellstrom | |
2006-10-20 | Bug #8707, 2.6.19-rc compatibility for memory manager code. | Thomas Hellstrom | |
2006-10-19 | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm | Thomas Hellstrom | |
2006-10-19 | Importing fixes from drm-ttm-0-2-branch | Thomas Hellstrom | |
2006-10-19 | Make sure delayed delete list is empty on lastclose. | Thomas Hellstrom | |
Fix some refcounting errors. Fix some error messages. | |||
2006-10-18 | Merging drm-ttm-0-2-branch | Thomas Hellstrom | |
Conflicts: linux-core/drmP.h linux-core/drm_drv.c linux-core/drm_irq.c linux-core/drm_stub.c shared-core/drm.h shared-core/i915_drv.h shared-core/i915_irq.c | |||
2006-10-18 | Remove stray softlink. | Thomas Hellstrom | |
2006-10-18 | Avoid driver-specific AGP user-populated types, since we don't know what AGP | Thomas Hellstrom | |
driver we're on. Avoid global cache flushes before inserting pages. In general, they are never mapped, and not accessed through the kernel map, so a cache flush should not be necessary. The exception is pages that are bound cached. We might need a cache flush for those. | |||
2006-10-17 | Remove some debugging messages. | Thomas Hellstrom | |
2006-10-17 | Remove max number of locked pages check and call, since | Thomas Hellstrom | |
that is now handled by the memory accounting. | |||
2006-10-17 | Lindent. | Thomas Hellstrom | |
2006-10-17 | Add vma list memory usage to memory accounting. | Thomas Hellstrom | |
Use byte unit for /proc printout of memory usage for small sizes to be able to detect memory allocation bugs more easily. | |||
2006-10-17 | Add memory usage accounting to avoid DOS problems. | Thomas Hellstrom | |
2006-10-18 | Remove hack which delays activation of a additional channel. The previously ↵ | Ben Skeggs | |
active channel's state is saved to RAMFC before PFIFO gets clobbered. | |||
2006-10-18 | Oops, we have more than 4 subchannels.. | Ben Skeggs | |
2006-10-17 | Implement mm_lock and mm_unlock functions. | Thomas Hellstrom | |
The mm_lock function is used when leaving vt. It evicts _all_ buffers. Buffers with the DRM_BO_NO_MOVE attribute set will be guaranteed to get the same offset when / if they are rebound. | |||
2006-10-17 | Useful output on a FIFO error interrupt. | Ben Skeggs | |
2006-10-17 | typo | Ben Skeggs | |
2006-10-17 | Remove the memory manager parameter from the put_block function, as this | Thomas Hellstrom | |
makes the client code a lot cleaner. Prepare buffer manager for lock and unlock calls. | |||
2006-10-17 | Extend generality for more memory types. | Thomas Hellstrom | |
Fix up init and destruction code. | |||
2006-10-16 | dev->agp_buffer_map is not initialized for AGP DMA on savages | Michael Karcher | |
bug 8662 | |||
2006-10-17 | NV40: *Now* fifo ctx switching works for me.. | Ben Skeggs | |
Ok, I lied before.. it was a fluke it worked and required magic to repeat it.. It actually helps to fill in RAMFC entries in the correct place. The code also clears RAMIN entirely instead of just the hash-table. | |||
2006-10-17 | NV40: FIFO context switching now WorksForMe(tm) | Ben Skeggs | |
2006-10-17 | Setup NV40 RAMFC (in wrong location.. but anyway), rearrange the RAMFC setup ↵ | Ben Skeggs | |
code a bit. | |||
2006-10-17 | Some info on NV40's RAMFC | Ben Skeggs | |
2006-10-16 | Change Intel AGP memory type numbers. | Thomas Hellstrom | |
2006-10-15 | Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/drm into ↵ | Stephane Marchesin | |
nouveau-1 | |||
2006-10-14 | Again more work on context switches. They work, sometimes. And when they do ↵ | Stephane Marchesin | |
they seem to screw up the PGRAPH state. | |||
2006-10-14 | remove config.h from build no longer exists kbuild does it | Dave Airlie | |
2006-10-14 | Add the missing breaks. | Stephane Marchesin | |
2006-10-13 | Fix the fifo context size on nv10, nv20 and nv30. | Stephane Marchesin | |
2006-10-14 | Fix some randomness in activating a second channel on NV40 (odd GET/PUT ↵ | Ben Skeggs | |
vals). Ch 1 GET now advances, but no ctx_switch. | |||
2006-10-12 | Oops. | Stephane Marchesin | |
2006-10-12 | Still more work on the context switching code. | Stephane Marchesin | |
2006-10-12 | Bugfixes. | Thomas Hellstrom | |
2006-10-12 | Simplify the AGP backend interface somewhat. | Thomas Hellstrom | |
Fix buffer bound caching policy changing, Allow on-the-fly changing of caching policy on bound buffers if the hardware supports it. Allow drivers to use driver-specific AGP memory types for TTM AGP pages. Will make AGP drivers much easier to migrate. | |||
2006-10-12 | More work on the context switch code. Still doesn't work. I'm mostly ↵ | Stephane Marchesin | |
convinced it's an initialization issue. | |||
2006-10-11 | Compatibility code for 2.6.15-2.6.18. It is ugly but a little comfort is that | Thomas Hellstrom | |
it will go away in the mainstream kernel. Some bugfixes, mainly in error paths. | |||
2006-10-11 | Big update: | Thomas Hellstrom | |
Adapt for new functions in the 2.6.19 kernel. Remove the ability to have multiple regions in one TTM. This simplifies a lot of code. Remove the ability to access TTMs from user space. We don't need it anymore without ttm regions. Don't change caching policy for evicted buffers. Instead change it only when the buffer is accessed by the CPU (on the first page fault). This tremendously speeds up eviction rates. Current code is safe for kernels <= 2.6.14. Should also be OK with 2.6.19 and above. | |||
2006-10-11 | Context switching work. | Stephane Marchesin | |
Added preliminary support for context switches (triggers the interrupts, but hangs after the switch ; something's not quite right yet). Removed the PFIFO_REINIT ioctl. I hope it's that a good idea... Requires the upcoming commit to the DDX. | |||
2006-10-10 | Use a nopage-based approach to fault in pfns. | Thomas Hellstrom | |
2006-10-10 | only allow specific type-3 packets to pass the verifier instead of all for ↵ | Roland Scheidegger | |
r100/r200 as others might be unsafe (r300 already does this), and add checking for these we need but aren't safe. Check the RADEON_CP_INDX_BUFFER packet on both r200 and r300 as it isn't safe neither. |