summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-06-08Backport the trunk hlist hash table implementation. Enable libdrmdrm-ttm_20060608drm-ttm-20060621drm-ttm-branchThomas Hellstrom4-52/+57
sched_yeild() Bump i915 driver date an patchlevel.
2006-06-06Hash table key generation fix.Thomas Hellstrom1-1/+1
2006-05-26Replace the fast but very unflexible closed hash table implementation withThomas Hellstrom10-151/+303
a generic open hash table ditto. It uses the kernel list_entry() macro to obtain the actual object from a "drm_hash_item_t *". This is done in exactly the same way as a list object is obtained from a "struct list_head *"
2006-05-26i915: Only enable user IRQs when we actually wait for them.Thomas Hellstrom2-1/+36
2006-05-26Remove the core memory manager spinlock. It is not needed and it is buggy.Thomas Hellstrom3-40/+17
(Reported by Dave Airlie)
2006-03-29Fix signal delivery while waiting for fence.drm-ttm_20060330Thomas Hellstrom1-1/+1
2006-03-29Indentation and version updates.Thomas Hellstrom5-36/+36
2006-03-29ttm/intel: Add means for fence ageing and eviction of old regions. libdrm:Thomas Hellstrom6-17/+87
Be paranoid and always validate buffers when told to do so.
2006-03-27kernel: Small optimization. libdrm: User space pool rework for multipleThomas Hellstrom3-92/+175
threads.
2006-03-26Leftover commit.Thomas Hellstrom1-0/+1
2006-03-25-Fix buffer removal semaphore bug.Thomas Hellstrom2-6/+10
-Silence cached binding error message. Intel: -Automatically fence kernel buffers when a breadcrumb is emitted, pending scheduler implementation.
2006-03-25remove trailing comma in enum list to silence gcc -pedantic warningBrian Paul1-1/+1
2006-03-24Delayed buffer destruction bugfixes, Pinned buffer destruction fixes.Thomas Hellstrom6-93/+133
2006-03-24typo: s/mulitpass/multipass/Brian Paul1-2/+2
2006-03-22ttm: semaphore fixes, fix up initialization and final exit. DisableThomas Hellstrom9-60/+99
initialization hack. (You can reenable with define). Requires new 2D-driver for initialization. intel: Have 3D driver call kernel on emit_fence. Stop wait_fence from emitting irqs. (Which causes problems, since wait_fence is in general not called locked).
2006-03-20libdrm: Fix memory leak. drm: Be paranoid about SMP locking for now. LaterThomas Hellstrom5-9/+30
we may relax the use of the semaphores. in particular dev->struct_sem.
2006-03-20Correct SMP locking order. Use the correct mm semaphores andThomas Hellstrom3-50/+225
page_table_locks when evicting buffers mapped by other processes.
2006-03-17Handle signals correctly while waiting for fence.Thomas Hellstrom3-33/+57
2006-03-17mm: Clean up and fix flag handling.Thomas Hellstrom5-79/+195
2006-03-16Delayed buffer destruction. Set aperture size to 32M.Thomas Hellstrom7-56/+133
2006-03-13Make sure cache is flushed before binding.Thomas Hellstrom1-2/+7
2006-03-13ttm: Fix for backdoor mapping.Thomas Hellstrom2-85/+134
2006-03-10Fix for nopage of aperture adresses, which is not allowed. Untested. Don'tThomas Hellstrom3-25/+76
try to use yet.
2006-03-09ttm: Check for invalid pfns while doing backdoor mapping.Thomas Hellstrom2-10/+19
2006-03-09Verbose PageAnon reporting.Thomas Hellstrom1-0/+12
2006-03-07libdrm: Wait for fence before mapping a buffer. ttm: Remove some leftoverThomas Hellstrom2-2/+10
debugging output.
2006-03-06Bump driver dateKeith Whitwell1-1/+1
2006-03-06mm: Flag documentation in libdrm. Validation sequence numbers in mm blocksThomas Hellstrom4-21/+95
so that we can evict a buffer before it's validation sequence wraps around. (Every 100th day or so :))
2006-03-05Move over to libdrm.Thomas Hellstrom11-320/+637
2006-03-03First version of the libdrm interface of the memory manager. Basically thisThomas Hellstrom4-60/+665
interface only exposes the kernel functionality as a wrapper around the IOCTLs, but fencing and userspace arbitration is implemented: The MM sarea is heavily utilized with focus on avoiding kernel calls as much as possible. Currently untested.
2006-03-02ttm: Add lazy rx flush when pages are inserted. Typically this should flushThomas Hellstrom2-29/+45
texture caches when a buffer is swapped in unknowingly to the client, as a result of a previous eviction. localize validation action flag structure.
2006-03-02mm: Fix eviction loop intel: Fix aperture size Silence compiler warning.Thomas Hellstrom2-3/+11
2006-03-01mm: Add libdrm init and fencing code. intel: fencing modifications.Thomas Hellstrom13-48/+408
2006-03-01mm: via_drv.c leftover.Thomas Hellstrom1-1/+1
2006-02-28mm: Kernel side of fence IOCTL. Fence code updated to know about fenceThomas Hellstrom8-56/+178
types. Current intel code has just one type of fences.
2006-02-28mm: Initialize and update mm sarea. Lindent.Thomas Hellstrom7-37/+98
2006-02-28mm: Initialization ioctl. Basic vram-awareness.Thomas Hellstrom19-79/+241
2006-02-27intel: Make sure to update the sarea breadcrumb as often as possible.Thomas Hellstrom2-1/+2
2006-02-27ttm: Treat eviction as unbind to clearly define the caching state ofThomas Hellstrom5-133/+103
uncached ttms. intel: Sync flush as part of fence. Fix breadcrumb wraparounds.
2006-02-26ttm: Fix typo.Thomas Hellstrom1-1/+1
2006-02-26ttm: Fix lockup on premature client exit (fencing problem). Unmap backdoorThomas Hellstrom5-20/+49
pages before unbinding. Really unbind pages when destroying a TTM.
2006-02-24ttm: Backdoor aperture maps.Thomas Hellstrom6-22/+106
2006-02-23ttm: BugfixesThomas Hellstrom8-95/+113
2006-02-18ttm: Make memory manager base alignment-aware.Thomas Hellstrom3-6/+22
2006-02-18ttm: Make via driver build again.Thomas Hellstrom1-1/+1
2006-02-18ttm: Add some comments about security- and code duplication issues forThomas Hellstrom2-5/+26
linux kernel inclusion.
2006-02-17ttm: Cleanups. Add missing i915_ttm.cThomas Hellstrom4-59/+117
2006-02-03ttm: Reworked driver interface. Reworked ioctl interface. Can now handleThomas Hellstrom23-311/+648
multiple buffers in single IOCTL. Numerous bugfixes. Possibility to request cached / uncached buffers from user space, if the driver supports it. Updated user space test program. i915: Added MI FLUSH function for fencing. Currently untested.
2006-02-01ttm: Memory manager fixes. The generic manager as well as the evictionThomas Hellstrom3-153/+164
mechanism with fencing is working.
2006-02-01ttm: More mm infrastructure. Separate create-bind and unbind-destroy forThomas Hellstrom10-53/+163
ttm regions. Fill in fence and ttm_mm fields for i915 driver.