summaryrefslogtreecommitdiff
path: root/libdrm
AgeCommit message (Collapse)AuthorFilesLines
2006-11-09libdrm: add drmOpenOnce + drmCloseOnce to libdrmdrm-2.3.0Dave Airlie2-0/+64
2006-11-08libdrm: add support for server side functionality in libdrmDave Airlie3-84/+104
This adds APIs to allow the X server to use libdrm from the system rather than its own in-built copy.
2006-10-29Minor bugfix, indentation and removal of unnused variables.Thomas Hellstrom1-11/+9
2006-10-27Reserve the new IOCTLs also for *bsd.Thomas Hellstrom1-5/+1
Bump libdrm version number to 2.2.0
2006-10-27Last minute changes to support multi-page size buffer offset alignments.Thomas Hellstrom2-5/+12
This will come in very handy for tiled buffers on intel hardware. Also add some padding to interface structures to allow future binary backwards compatible changes.
2006-10-18Merging drm-ttm-0-2-branchThomas Hellstrom4-2/+1174
Conflicts: linux-core/drmP.h linux-core/drm_drv.c linux-core/drm_irq.c linux-core/drm_stub.c shared-core/drm.h shared-core/i915_drv.h shared-core/i915_irq.c
2006-10-17Remove some debugging messages.Thomas Hellstrom1-5/+0
2006-10-17Remove max number of locked pages check and call, sinceThomas Hellstrom2-16/+0
that is now handled by the memory accounting.
2006-10-17Implement mm_lock and mm_unlock functions.Thomas Hellstrom2-1/+35
The mm_lock function is used when leaving vt. It evicts _all_ buffers. Buffers with the DRM_BO_NO_MOVE attribute set will be guaranteed to get the same offset when / if they are rebound.
2006-10-17Extend generality for more memory types.Thomas Hellstrom2-13/+27
Fix up init and destruction code.
2006-10-11Compatibility code for 2.6.15-2.6.18. It is ugly but a little comfort is thatThomas Hellstrom1-2/+7
it will go away in the mainstream kernel. Some bugfixes, mainly in error paths.
2006-10-11Big update:Thomas Hellstrom2-99/+6
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-02Bug 6242: [mach64] Use private DMA buffers, part #3.George Sapountzis1-1/+2
Add DRM_PCI_BUFFER_RO flag for mapping PCI DMA buffer read-only. An additional flag is needed, since PCI DMA buffers do not have an associated map.
2006-10-02Make the user_token 44-bit for TTMs, and have them occupy a unique file spaceThomas Hellstrom1-3/+10
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-09-29Core vsync: Add flag DRM_VBLANK_NEXTONMISS.Michel Dänzer1-0/+1
When this flag is set and the target sequence is missed, wait for the next vertical blank instead of returning immediately. (cherry picked from 89e323e4900af84cc33219ad24eb0b435a039d23 commit)
2006-09-29Add definition of DRM_VBLANK_SECONDARY.Michel Dänzer1-0/+1
(cherry picked from 84b38b63f05e04ade8b1ddfb770047fd86de0d64 commit)
2006-09-29Add support for tracking drawable information to coreMichel Dänzer2-0/+19
Actually make the existing ioctls for adding and removing drawables do something useful, and add another ioctl for the X server to update drawable information. The only kind of drawable information tracked so far is cliprects. (cherry picked from 29598e5253ff5c085ccf63580fd24b84db848424 commit)
2006-09-28Core vsync: Add flag DRM_VBLANK_NEXTONMISS.Michel Dänzer1-0/+1
When this flag is set and the target sequence is missed, wait for the next vertical blank instead of returning immediately.
2006-09-28Add definition of DRM_VBLANK_SECONDARY.Michel Dänzer1-0/+1
2006-09-28Add support for tracking drawable information to coreMichel Dänzer2-0/+19
Actually make the existing ioctls for adding and removing drawables do something useful, and add another ioctl for the X server to update drawable information. The only kind of drawable information tracked so far is cliprects.
2006-09-26Silence valgrind.Thomas Hellstrom1-27/+31
2006-09-20Allow for 64-bit map handles of ttms and buffer objects.Thomas Hellstrom1-2/+2
2006-09-18Alternative implementation of page table zeroing using zap page_range.Thomas Hellstrom1-2/+4
(Disabled for now) Fix bo_wait_idle bug. Remove stray debug message.
2006-09-18More verbose error reporting in some cases.Thomas Hellstrom2-3/+35
Add a buffer object waitIdle user-space function. Fix some names and minor glitches.
2006-09-15Some bugfixes.Thomas Hellstrom3-83/+85
Change the fence object interface somewhat to allow some more flexibility. Make list IOCTLS really restartable. Try to avoid busy-waits in the kernel using immediate return to user-space with an -EAGAIN.
2006-09-12Use lazy fence wait when possible even for RW fences. Saves some CPU.Thomas Hellstrom1-2/+10
Lindent.
2006-09-12More bugfixes.Thomas Hellstrom3-21/+56
Disable the i915 IRQ turnoff for now since it seems to be causing problems.
2006-09-08Various bugfixes.Thomas Hellstrom1-28/+51
2006-09-05Multithreaded application note.Thomas Hellstrom2-23/+16
2006-09-05Fence all unfenced buffers function.Thomas Hellstrom2-0/+16
2006-09-04Libdrm function headers. Some renaming.Thomas Hellstrom2-5/+56
2006-09-01Flag bit pattern bugfixes. Remove some error messages.Thomas Hellstrom1-32/+42
2006-09-01Export buffer info on map and validate ioctls.Thomas Hellstrom2-21/+65
Add an info ioctl operation.
2006-09-01Various bugfixes.Thomas Hellstrom1-2/+2
2006-08-31More mapping synchronization.Thomas Hellstrom2-40/+302
libdrm validate and fencing functions.
2006-08-30Remove the buffer object hint field and use it onlyThomas Hellstrom2-3/+0
as an argument. Validate stub.
2006-08-30Add missing map flags.Thomas Hellstrom1-2/+3
2006-08-30Buffer object mapping and mapping synchronization for multiple clients.Thomas Hellstrom2-12/+99
2006-08-30Memory manager init and takedown.Thomas Hellstrom4-3/+40
2006-08-29Part of buffer object libdrm interface.Thomas Hellstrom3-38/+194
2006-08-29Checkpoint commit. Buffer object flags and IOCTL argument list.Thomas Hellstrom2-1/+239
2006-08-2964-bit IOCTL integer (Michel Dänzer & Brian Paul)Thomas Hellstrom1-26/+6
2006-08-28Add a 64-bit drm unsigned type for 64-bit clean IOCTLS.Thomas Hellstrom2-10/+14
Conversion functions in drmP.h and xf86drm.c.
2006-08-27Bugfixes.Thomas Hellstrom2-36/+28
2006-08-27Remove the ioctl multiplexing, and instead allow for genericThomas Hellstrom2-0/+103
drm ioctls 0x80 - 0xFF.
2006-08-22Add a fence object class field for future use (For example VSYNC fence objects)Thomas Hellstrom2-2/+12
2006-08-21User / Kernel space fence objects (device-independent part).Thomas Hellstrom2-0/+139
2006-07-19.cvsignore -> .gitignoreMichel Dänzer1-8/+0
Sort the merged file, remove the redundant explicit .ko lines and add some generated symlinks.
2006-03-15Avoid walking off the end of the hash table. (Coverity report #465)Adam Jackson2-2/+8
2006-02-20Formatting cleanup, dead code removal. Remove N() namespacing macro,Adam Jackson8-228/+138
useless. Remove SIGIO handling functions as they're server-only and properly belong in libdri.