summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
AgeCommit message (Collapse)Author
2007-09-25drm: update bufmgr code to reflect changes in drm interfaceDave Airlie
2007-09-21Fix buffer/fence reference counting due to Destroy vs Unreference difference.Eric Anholt
While here, remove the unnecessary fence type saving for the wait ioctl, as a 0 argument for type means "use your other saved copy".
2007-09-20Add disabled-by-default tracing of TTM bufmgr operations.Eric Anholt
2007-09-20Fix flipped sign to strerror.Eric Anholt
2007-09-18Add some error reporting and a couple of assertions to TTM bufmgr.Eric Anholt
2007-08-16Convert TTM code to require the server provide buffers for front/back/depth.Eric Anholt
This removes the use of fake buffers from the driver, such that it could probably be removed from the interface. It also should assist in proper synchronization of access.
2007-08-16Fix bad printf on TTM fence_wait failure.Eric Anholt
2007-08-16Don't forget to update buffer offset after validation.Eric Anholt
2007-07-25Add notes about bufmgr initialization failures.Eric Anholt
2007-07-06bufmgr_ttm: hook up destroy function, track buffer names.Eric Anholt
2007-07-05Merge branch 'i915-unification' of ↵Eric Anholt
git+ssh://people.freedesktop.org/~anholt/mesa into i915-unification
2007-06-18Fix TTM static allocation flags.Eric Anholt
2007-06-18Test for TTM presence initially rather than test for lack of classic aperture.Eric Anholt
2007-05-31Add buffer manager destroy function.Eric Anholt
2007-05-24Replace the flags/hint arguments to bo_alloc{,_static} with a location mask.Eric Anholt
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.
2007-05-16WIP: Replace TTM buffer pool manager with a simplified interface.Eric Anholt
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.