aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/dri_bufmgr.c
Commit message (Collapse)AuthorAgeFilesLines
* i915: make i915 use the cached mappings for batch/buffer objects.Dave Airlie2007-11-011-3/+2
| | | | This should restore gears speed on 9xx hardware
* i915: fixup up bufmgr to pass num buffers to kernelDave Airlie2007-10-091-14/+2
| | | | remove unneeded entry points
* i915: add superioctl support to the ttm codepaths.Dave Airlie2007-10-041-2/+2
| | | | | gears now runs for about 10-15 seconds with some artifacts before falling over.
* i915: add superioctl initial support inside bufmgr ttmDave Airlie2007-10-031-2/+2
|
* i915/drmbuf: attempt to push relocations into buffer managerDave Airlie2007-10-031-0/+16
| | | | | This moves the relocations into the buffer manager in prepration for a superioctl move.
* Add buffer manager destroy function.Eric Anholt2007-05-311-0/+6
|
* Replace the flags/hint arguments to bo_alloc{,_static} with a location mask.Eric Anholt2007-05-241-5/+17
| | | | | | | | | | | | Now, allocations only take locations, rather than a variety of unused flags. The only interesting flag before was the no_move/no_evict pair for scanout and similar buffers, which the DRI drivers don't use. That will be readded when we get to using this code for display buffer allocation, by adding a pin/unpin call (dynamic pinning/unpinning may be useful for VT switching and root window resizing). This commit changes one instance of DRM_BO_FLAG_MEM_LOCAL with DRM_BO_FLAG_MEM_TT, which appeared to have been unintentional.
* Merge branch 'master' into i915-unificationEric Anholt2007-05-181-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/intel_batchpool.c src/mesa/drivers/dri/i915tex/intel_buffer_objects.c src/mesa/drivers/dri/i915tex/intel_regions.c src/mesa/drivers/dri/i915tex/intel_screen.c src/mesa/drivers/dri/i915tex/intel_screen.h
| * Make sure we are locked when creating drm buffer objects.Thomas Hellstrom2007-04-161-3/+9
| | | | | | | | | | Don't place buffer objects on unfenced list when newly created. Fix a buffer object wait-for-idle deadlock.
* | Allow unreference with a NULL argument.Eric Anholt2007-05-181-0/+6
| |
* | Convert i915tex to the new interface and make it compile.Eric Anholt2007-05-171-0/+6
| |
* | WIP: Replace TTM buffer pool manager with a simplified interface.Eric Anholt2007-05-161-438/+68
|/ | | | | | | | The interface is not solid yet (some simplification to do still, and adjustment for 0-copy), and the drivers are not converted. However, the new interface allows using the same calls to support either a TTM or a classic static allocation backend, with the static backend allowing a more limited feature set.
* use passed target parameterAlan Hourihane2007-03-201-1/+1
|
* Merge texmem-0-3-branch.Keith Whitwell2006-11-011-0/+493