summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-03-10i915: Only wait for pending flips before asynchronous flips again.i915-pageflipMichel Dänzer1-2/+3
2007-03-09i915: Do not wait for pending flips on both pipes at the same time.Michel Dänzer1-18/+2
The MI_WAIT_FOR_EVENT instruction does not support waiting for several events at once, so this should fix the lockups with page flipping when both pipes are enabled.
2007-02-28i915: Eliminate dev_priv->current_page.Michel Dänzer3-19/+17
Always use dev_priv->sarea_priv->pf_current_page directly. This allows clients to modify it as well while they hold the HW lock, e.g. in order to sync pages between pipes.
2007-02-28i915: Only clean up page flipping when the last client goes away, not any one.Michel Dänzer1-1/+1
2007-02-28i915: Don't emit waits for pending flips before emitting synchronous flips.Michel Dänzer2-19/+13
The assumption is that synchronous flips are not isolated usually, and waiting for all of them could result in stalling the pipeline for long periods of time. Also use i915_emit_mi_flush() instead of an old-fashioned way to achieve the same effect.
2007-02-28i915: Fix test for synchronous flip affecting both pipes.Michel Dänzer1-2/+2
2007-02-22i915: Add support for scheduled buffer swaps to be done as flips.Michel Dänzer3-23/+115
Unfortunately, emitting asynchronous flips during vertical blank results in tearing. So we have to wait for the previous vertical blank and emit a synchronous flip.
2007-02-22Add DRM_VBLANK_FLIP.Michel Dänzer2-0/+2
Used to request that a scheduled buffer swap be done as a flip instead of a blit.
2007-02-19i915: Improved page flipping support, including triple buffering.Michel Dänzer4-33/+122
Pages are tracked independently on each pipe. Bump the minor version for 3D clients to know page flipping is usable, and bump driver date.
2007-02-19i915: Page flipping enhancements.Michel Dänzer2-8/+7
Leave it to the client to wait for the flip to complete when necessary, but wait for a previous flip to complete before emitting another one. This should help avoid unnecessary stalling of the ring due to pending flips. Call i915_do_cleanup_pageflip() unconditionally in preclose.
2007-02-19i915: Unify breadcrumb emission.Michel Dänzer3-23/+16
2007-02-18drm: remove last usage of VM_OFFSETDave Airlie3-5/+3
2007-02-16Leftover files from previous commit.Thomas Hellstrom2-0/+393
2007-02-16Simple fence object sample driver for via, based on idling the GPU.Thomas Hellstrom13-51/+146
Buffer object driver for via. Some changes to buffer object driver callbacks. Improve fence flushing.
2007-02-15Initial support for fence object classes.Thomas Hellstrom9-70/+93
(Fence objects belonging to different command submission mechanisms).
2007-02-15Fix build against older kernels.Michel Dänzer1-1/+1
2007-02-14Merge branch 'ttm-vram-0-1-branch'Thomas Hellstrom21-1684/+2679
2007-02-14Fix multiple spinlock unlockingThomas Hellstrom1-3/+0
2007-02-14Rename drm_ttm.h to drm_objects.httm-vram-0-1-branchThomas Hellstrom3-9/+10
Fix up some header incompatibilities in drm_fence.c caused by the previous commit.
2007-02-14Move fence- and buffer-object related header stuff to drm_ttm.hThomas Hellstrom2-371/+357
2007-02-14Remove an intel-specific hack and replace it with a fence driver callback.Thomas Hellstrom5-50/+79
2007-02-14Set the drm bus map type for each buffer object memory type.Thomas Hellstrom4-3/+9
2007-02-14Rework buffer object vm code to use nopfn() for kernels >= 2.6.19.Thomas Hellstrom3-67/+145
2007-02-14nouveau: fix the build on big endian (thanks CyberFoxx)Stephane Marchesin1-6/+6
2007-02-14nouveau: fix memory initialization with multiple cards.B. Rathmann1-4/+5
2007-02-13Remove debug printout.Thomas Hellstrom1-1/+0
2007-02-13Bugzilla Bug #9457Thomas Hellstrom8-101/+145
Add refcounting of user waiters to the DRM hardware lock, so that we can use the DRM_LOCK_CONT flag more conservatively. Also add a kernel waiter refcount that if nonzero transfers the lock for the kernel context, when it is released. This is useful when waiting for idle and can be used for very simple fence object driver implementations for the new memory manager. It also resolves the AIGLX startup deadlock for the sis and the via drivers. i810, i830 still require that the hardware lock is really taken so the deadlock remains for those two. I'm not sure about ffb. Anyone familiar with that code?
2007-02-13More bugfixes.Thomas Hellstrom4-61/+139
Fixed memory, pinned buffers and unmappable memory now seems fully functional.
2007-02-12Fix some outdated URLs, remove others.Adam Jackson1-22/+1
2007-02-12Update flags and comments.Thomas Hellstrom1-35/+60
2007-02-12Lindent.Thomas Hellstrom5-305/+244
2007-02-12More bugfixes.Thomas Hellstrom2-33/+34
2007-02-12Cleanup and fix support for pinned buffers.Thomas Hellstrom4-185/+263
2007-02-10Various bugfixes.Thomas Hellstrom4-33/+103
2007-02-09I915 accelerated blit copy functional.Thomas Hellstrom6-17/+77
Fixed - to System memory copies are implemented by flipping in a cache-coherent TTM, blitting to it, and then flipping it out.
2007-02-09Reinstate some LRU handling.Thomas Hellstrom1-0/+21
2007-02-09Remove some code that should have gone inThomas Hellstrom1-19/+0
commit 6a49d9a8abd9f168211017c2d585d0d64e89c530
2007-02-09Fix copyright statements.Thomas Hellstrom6-31/+32
2007-02-09Fix evict_mutex locking range.Thomas Hellstrom3-22/+38
Implement unmappable buffers. (fault moves them to mappable when needed). Various bugfixes.
2007-02-08Add an accelerated buffer copy cleanup helper.Thomas Hellstrom4-54/+177
Export helper functions and make some important buffer-object functions non-static. Add an i915 accelerated blit buffer move for pci memory buffers.
2007-02-08Don't create a ttm just to copy from.Thomas Hellstrom2-2/+3
2007-02-08Fix mm_block leak.Thomas Hellstrom3-4/+6
Some other minor fixes.
2007-02-08A minor function interface change and some memcpy bugfixing.Thomas Hellstrom4-29/+31
Hooray!! it sort of works with a fixed AGP area as faked VRAM.
2007-02-08Simplify external ttm page allocation.Thomas Hellstrom7-107/+210
Implement a memcpy fallback for copying between buffers.
2007-02-08Update memory compatibility tests.Thomas Hellstrom1-11/+78
Now only pinned buffers are broken.
2007-02-07Warning fix: correct type of i915_mmio argument.Eric Anholt1-1/+1
2007-02-07Define __iomem for systems without it.Eric Anholt1-0/+3
2007-02-07Add chip family flags to i915 driver, and fix a missing '"' in mach64 ID list.Eric Anholt2-13/+20
2007-02-07Checkpoint commit.Thomas Hellstrom9-207/+142
Flag handling and memory type selection cleanup. glxgears won't start.
2007-02-07Fix a stray unlock_kernel() in drm_vm.cThomas Hellstrom6-203/+264
Add a file for memory move helpers, drm_bo_move.c Implement generic memory move. Cached, no_move and unmapped memory temporarily broken.