Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-09-23 | intel: Do strerror on errno, not on the -1 return value from ioctl. | Eric Anholt | |
2008-09-22 | intel: Fix driver-supplied argument to exec function (fd.o bug #17653). | Xiang, Haihao | |
2008-09-10 | Add missing \ to libdrm_la_SOURCES | Eric Anholt | |
Reported by jcristau. | |||
2008-09-10 | intel: don't forget to include config.h in bufmgr code. | Eric Anholt | |
Thanks to airlied for catching this. | |||
2008-09-10 | intel: move drm calls to exec buffers to libdrm_intel. | Eric Anholt | |
This avoids duplicating the effort in 3 places. Also, added emit/wait fence callbacks back in bufmgr_fake since we need it for non-drm 2d. Sigh. | |||
2008-09-10 | intel: Move IRQ emit/wait from callbacks into the bufmgr. | Eric Anholt | |
In the process, work around the glaring bugs of the kernel irq wait function. | |||
2008-09-10 | Move intel libdrm stuff to libdrm_intel.so | Eric Anholt | |
dri_bufmgr.h is replaced by intel_bufmgr.h, and several functions are renamed, though the structures and many functions remain dri_bufmgr_* and dri_bo_* | |||
2008-08-26 | [intel_bufmgr_gem] Remember global name when creating buffer from name. | Kristian Høgsberg | |
2008-08-24 | libdrm: add udev support. | Dave Airlie | |
This patch allows you to --enable-udev, and will avoid having libdrm make device nodes. If you are using udev, you should really --enable-udev your libdrm. | |||
2008-08-18 | Change prototype of drmIoctl to unsigned long request. | Coleman Kane | |
This resolves and issue on amd64 FreeBSD and it looks like the linux ioctl syscall should be unsigned long as well. Signed-off-by: Robert Noland <rnoland@2hip.net> | |||
2008-08-12 | [intel_bufmgr_gem] Fix flink buffer name caching (#17085, #17092). | Kristian Høgsberg | |
Store the global name in global_name, don't overwrite the gem_handle. | |||
2008-08-11 | libdrm: Allow build outside of source tree. | Matthieu Herrb | |
2008-08-08 | Drop TTM interfaces from the userland library. | Eric Anholt | |
2008-08-08 | Fix compile warning from check_aperture change. | Eric Anholt | |
2008-08-08 | Replace the check_aperture API with one we can make thread-safe. | Eric Anholt | |
While the bufmgr isn't thread-safe at the moment, we need it to be for shared objects between contexts. | |||
2008-08-07 | Make flink save the kernel-assigned name and return it instead of creating ↵ | Keith Packard | |
another name | |||
2008-08-04 | Expose pin/unpin/set_tiling/flink APIs | Keith Packard | |
2008-06-24 | [intel-gem] Use I915_GEM_DOMAIN_GTT in dri_gem_bo_wait_rendering. | Keith Packard | |
I915_GEM_DOMAIN_CPU is very expensive to wait for -- it generally requires clflushing the frame buffer. | |||
2008-06-20 | [intel-gem] Add DRM_IOCTL_I915_GEM_SW_FINISH to flag CPU writes | Keith Packard | |
When a software fallback has completed, usermode must notify the kernel so that any scanout buffers can be synchronized. This ioctl should be called whenever a fallback completes to flush CPU and chipset caches. | |||
2008-06-13 | [libdrm] Restart all ioctls on signal receipt | Keith Packard | |
Receiving a signal should be ignored by the library, so just restart any ioctl which returns EINTR or EAGAIN. | |||
2008-06-13 | [gem] Catch -EINTR from blocking ioctls and restart them. | Eric Anholt | |
Thanks to Thomas Hellstrom for catching the issue, no thanks to the kernel developer who authoritatively told me that they would get restarted on their own. | |||
2008-06-11 | Move the renaming of mm.c symbols to #defines in the header. | Eric Anholt | |
This reduces the diff from Mesa and reduces the illegibility of what I did. | |||
2008-06-11 | [gem] Move potentially device-specific ioctls to the intel driver. | Eric Anholt | |
This is the create (may want location flags), pread/pwrite/mmap (performance tuning hints), and set_domain (will 32 bits be enough for everyone?) ioctls. Left in the generic set are just flink/open/close. The 2D driver must be updated for this change, and API but not ABI is broken for 3D. The driver version is bumped to mark this. | |||
2008-06-06 | [gem] Don't forget to munmap in the non-bo-reuse object-freeing case. | Eric Anholt | |
2008-06-06 | [libdrm/intel] Eliminate extra dri_gem_bo_bucket_entry structure | Keith Packard | |
Place the buffer reuse links right into the dri_bo_gem object. | |||
2008-06-06 | [libdrm/intel] Remove unused intel_validate_entry structure | Keith Packard | |
2008-06-06 | [libdrm/intel] Reuse entire dri_bo_gem structure | Keith Packard | |
The code was discarding the dri_bo_gem structure and saving only the kernel handle. This lost the mmap address, causing pain when the next buffer user wanted to map the buffer. | |||
2008-06-05 | Add a function to bufmgr_fake to evict all buffers in the GTT. | Eric Anholt | |
This will be used by the X Server for VT switch. | |||
2008-06-03 | Fix libdrm to actually include the new code instead of just building it. | Eric Anholt | |
2008-06-03 | Fix and hook up bufmgr code to the build. | Eric Anholt | |
2008-06-03 | Import bufmgr code to libdrm. Not yet hooked up to the build. | Eric Anholt | |
2008-04-07 | Add DragonFly BSD support for device creation | Hasso Tepper | |
DragonFly behaves just like FreeBSD in this regard. | |||
2008-03-06 | drm/ttm: add ioctl to get back memory managed area sized | Dave Airlie | |
taken from modesetting branch but could be useful outside it. | |||
2008-03-04 | Don't shortcut the info syscall for drmBOBusy on nonshareable objects. | Eric Anholt | |
This broke the results when you're trying to check if a buffer you dispatched some time ago is done being rendered from. | |||
2007-12-21 | Rename inappropriately named 'mask' fields to 'proposed_flags' instead. | Keith Packard | |
Flags pending validation were stored in a misleadingly named field, 'mask'. As 'mask' is already used to indicate pieces of a flags field which are changing, it seems better to use a name reflecting the actual purpose of this field. I chose 'proposed_flags' as they may not actually end up in 'flags', and in an case will be modified when they are moved over. This affects the API, but not ABI of the user-mode interface. | |||
2007-11-05 | Fill fence sequence after emit ioctl. | Ben Skeggs | |
2007-11-02 | User buffer support. | Thomas Hellstrom | |
2007-11-02 | Return fence errors. | Thomas Hellstrom | |
Time out properly in the presence of signals. | |||
2007-10-26 | Minor libdrm fixes. | Thomas Hellstrom | |
2007-10-25 | Tighten permissions on some buffer manager ioctls. | Thomas Hellstrom | |
Set bo init minor to 0. Add the version function to header. | |||
2007-10-25 | Buffer manager: | Thomas Hellstrom | |
Implement a version check IOCTL for drivers that don't use drmMMInit from user-space. Remove the minor check from the kernel code. That's really up to the driver. Bump major. | |||
2007-10-22 | Setstatus header. | Thomas Hellstrom | |
2007-10-21 | Get the lock flags right in libdrm. | Thomas Hellstrom | |
2007-10-21 | Remove the need for the hardware lock in the buffer manager. | Thomas Hellstrom | |
Add interface entry cleaning a memory type without touching NO_EVICT buffers. | |||
2007-10-20 | Simple replacement for hardware lock in some cases. | Thomas Hellstrom | |
Fix i915 since last commit. | |||
2007-10-19 | No fence_class argument on drmBOSetStatus since it's not | Thomas Hellstrom | |
associated with a particular command submission. | |||
2007-10-17 | Remove the op ioctl, and replace it with a setuser ioctl. | Thomas Hellstrom | |
Remove need for lock for now. May create races when we clean memory areas or on takedown. Needs to be fixed. Really do a validate on buffer creation in order to avoid problems with fixed memory buffers. | |||
2007-10-17 | Revert "Replace NO_MOVE/NO_EVICT flags to buffer objects with an ioctl to ↵ | Thomas Hellstrom | |
set pinning." This reverts cf2d569daca6954d11a796f4d110148ae2e0c827 commit. | |||
2007-10-16 | drm: drop drm bo list handling code | Dave Airlie | |
2007-10-16 | drm: rename drmBOUnReference to drmBOUnreference for consistency | Dave Airlie | |