summaryrefslogtreecommitdiff
path: root/linux-core/drm_ttm.c
AgeCommit message (Collapse)Author
2006-10-17Lindent.Thomas Hellstrom
2006-10-17Add memory usage accounting to avoid DOS problems.Thomas Hellstrom
2006-10-17Remove the memory manager parameter from the put_block function, as thisThomas Hellstrom
makes the client code a lot cleaner. Prepare buffer manager for lock and unlock calls.
2006-10-12Simplify 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-11Compatibility code for 2.6.15-2.6.18. It is ugly but a little comfort is thatThomas Hellstrom
it will go away in the mainstream kernel. Some bugfixes, mainly in error paths.
2006-10-11Big 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-10Use a nopage-based approach to fault in pfns.Thomas Hellstrom
2006-10-03Get rid of all ugly PTE hacks.Thomas Hellstrom
2006-10-02Make the user_token 44-bit for TTMs, and have them occupy a unique file spaceThomas Hellstrom
starting at 0x00100000000. This will hopefully allow us to use unmap_mapping_range(). Note that user-space will need 64-bit file offset support.
2006-10-02Allow for 44 bit user-tokens (or drm_file offsets)Thomas Hellstrom
2006-09-27Adapt to architecture-specific hooks for gatt pages.Thomas Hellstrom
2006-09-14Simplify ttm alloc and free.Thomas Hellstrom
2006-09-14Remove the use of reserved pages, and use locked pages instead.Thomas Hellstrom
Update compatibility for latest linux versions.
2006-09-12Fix some debug messages.Thomas Hellstrom
2006-09-12More bugfixes.Thomas Hellstrom
Disable the i915 IRQ turnoff for now since it seems to be causing problems.
2006-09-08Various bugfixes.Thomas Hellstrom
2006-09-01Flag bit pattern bugfixes. Remove some error messages.Thomas Hellstrom
2006-09-01Various bugfixes.Thomas Hellstrom
2006-08-30Buffer object reply fill in.Thomas Hellstrom
Lindent of drm_bo.c drm_ttm.c
2006-08-29Checkpoint commit. Buffer object flags and IOCTL argument list.Thomas Hellstrom
2006-08-29Checkpoint ttm addition to buffer objects.Thomas Hellstrom
2006-08-2964-bit IOCTL integer (Michel Dänzer & Brian Paul)Thomas Hellstrom
2006-08-28Proper TTM dereferencingThomas Hellstrom
Initial buffer object creation.
2006-08-28Add a 64-bit drm unsigned type for 64-bit clean IOCTLS.Thomas Hellstrom
Conversion functions in drmP.h and xf86drm.c.
2006-08-27Bugfixes.Thomas Hellstrom
2006-08-27Remove the ioctl multiplexing, and instead allow for genericThomas Hellstrom
drm ioctls 0x80 - 0xFF.
2006-08-27Have TTM create and reference ioctl call return the actual TTM size.Thomas Hellstrom
2006-08-27Add TTM map handle on reference.Thomas Hellstrom
2006-08-27ttm create / destroy / ref / unref ioctl.Thomas Hellstrom
2006-08-25More ioctl stubs.Thomas Hellstrom
Buffer object locking order documentation.
2006-08-25ttm and buffer objects ioctl stubs.Thomas Hellstrom
2006-08-25Checkpoint commitThomas Hellstrom
Buffer object code.
2006-08-22More ttm cleanups.Thomas Hellstrom
2006-08-22ttm code cleanup.Thomas Hellstrom
Fix the sleep-in-page-table-spinlock bug discovered by Dave Airlie
2006-08-22Bring in stripped TTM functionality.Thomas Hellstrom