Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-16 | Eliminate support for fake buffers. | [utf-8] Kristian Høgsberg | |
2007-10-02 | ttm: returning into dummy causes a buffer object leak | Dave Airlie | |
as nobody ever derefs dummy, however not returning does the deref correctly. | |||
2007-09-25 | Merge branch 'master' into pre-superioctl-branch | Thomas Hellstrom | |
Conflicts: linux-core/drm_bo.c linux-core/drm_fence.c linux-core/drm_objects.h shared-core/drm.h | |||
2007-09-25 | drm/ttm: fixup fence class naming and interfaces | Dave Airlie | |
This is some code for nouveau that Ben Skeggs worked on, and also fixes the naming (having class in a system header file == C++ keyword == bad plan) | |||
2007-09-22 | Fix pinned buffer fence class. | Thomas Hellstrom | |
2007-09-22 | Fix drm_bo.c compiling. | Thomas Hellstrom | |
2007-09-22 | Add fence error member. | Thomas Hellstrom | |
Modify the TTM backend bind arguments. Export a number of functions needed for driver-specific super-ioctls. Add a function to map buffer objects from the kernel, regardless of where they're currently placed. A number of error fixes. | |||
2007-08-16 | Merge branch 'master' into bo-set-pin | Eric Anholt | |
2007-08-06 | Export some useful ttm functions to drivers. | Ben Skeggs | |
2007-08-02 | Remove the pinned buffer from the LRU when pinning. | Eric Anholt | |
Also, be a little safer with setting the pinned flag within the struct lock. I'm not 100% sure if this is required, but it seems like it might be. | |||
2007-08-02 | Add a couple of doxygen comments from reading the code. | Eric Anholt | |
2007-07-26 | Copy the important parts of object_validate into object_create(). | Eric Anholt | |
This should let us allocate buffers without holding the hardware lock. While here, add DRM_DEBUG info for the drm_bo ioctls, so you can see something more specific than just the cmd value per ioctl. | |||
2007-07-26 | Replace NO_MOVE/NO_EVICT flags to buffer objects with an ioctl to set pinning. | Eric Anholt | |
This cleans up the create/validate interfaces for this very uncommon path, and makes pinned object creation much easier to use for the X Server. | |||
2007-07-26 | drm/bo: set the req pointer for each buffer to validate | Dave Airlie | |
2007-07-26 | drm: fix size argument for copy to/from user | Dave Airlie | |
2007-07-20 | Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. | Eric Anholt | |
The data is now in kernel space, copied in/out as appropriate according to the This results in DRM_COPY_{TO,FROM}_USER going away, and error paths to deal with those failures. This also means that XFree86 4.2.0 support for i810 DRM is lost. | |||
2007-07-20 | Replace filp in ioctl arguments with drm_file *file_priv. | Eric Anholt | |
As a fallout, replace filp storage with file_priv storage for "unique identifier of a client" all over the DRM. There is a 1:1 mapping, so this should be a noop. This could be a minor performance improvement, as everything on Linux dereferenced filp to get file_priv anyway, while only the mmap ioctls went the other direction. | |||
2007-07-18 | drm: remove drm_u64_t, replace with uint64_t everwhere | Dave Airlie | |
This might break something, stdint.h inclusion in drm.h maybe required but I'm not sure yet what platforms have it what ones don't. | |||
2007-07-16 | drm: remove drm_ref_t | Dave Airlie | |
2007-07-16 | drm: detypedef ttm/bo/fence code | Dave Airlie | |
2007-07-16 | drm: remove hashtab/sman and object typedefs | Dave Airlie | |
2007-07-16 | drm: remove drmP.h internal typedefs | Dave Airlie | |
2007-07-16 | drm: remove ttm userspace typedefs | Dave Airlie | |
2007-07-11 | Merge branch 'master' into cleanup | Dave Airlie | |
Conflicts: libdrm/xf86drm.c linux-core/drm_bo.c linux-core/drm_fence.c | |||
2007-06-29 | Fence object reference / dereference cleanup. | Thomas Hellstrom | |
Buffer object dereference cleanup. Add a struct drm_device member to fence objects: This can simplify code, particularly in drivers. | |||
2007-06-15 | Indentation fixes. | Thomas Hellstrom | |
2007-06-15 | Fix refcounting / lock race. | Thomas Hellstrom | |
Reported by Steve Wilkins / Michel Dänzer. | |||
2007-06-15 | Locking fixes and instrumentation. | Thomas Hellstrom | |
2007-06-13 | Make sure we read fence->signaled while spinlocked. | Thomas Hellstrom | |
2007-06-13 | Fix fence object deref race. | Thomas Hellstrom | |
2007-06-12 | Fix some obvious bugs. | Thomas Hellstrom | |
2007-06-12 | Try to make buffer object / fence object ioctl args 64-bit safe. | Thomas Hellstrom | |
Introduce tile members for future tiled buffer support. Allow user-space to explicitly define a fence-class. Remove the implicit fence-class mechanism. 64-bit wide buffer object flag member. | |||
2007-05-26 | Revert "drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls." | Dave Airlie | |
This reverts commit 3fdef0dc2000308b16907b95f637c60acde80a74. ditto not on master yet | |||
2007-05-26 | drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls. | Dave Airlie | |
This is the first bunch of ioctls | |||
2007-05-08 | ttm: complete drm buffer object ioctl split | Dave Airlie | |
retain the op operation for validate/fence operations | |||
2007-05-08 | drm/ttm: ioctl cleanup for buffer object - user side only | Dave Airlie | |
This just cleans up the xf86drm.c to what I want and drm.h, I need to fix up the kernel internals to suit these changes now. I've moved to using struct instead of typedefs for the bo and it doesn't look that bad so I'll do the same thing for mm and fence.. | |||
2007-05-06 | drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls. | Dave Airlie | |
This is the first bunch of ioctls | |||
2007-04-26 | drm/ttm: allow drm_buffer_object_create to be used in-kernel | Jesse Barnes | |
2007-04-26 | Add new buffer object type for kernel allocations that don't initially have ↵ | Jesse Barnes | |
a user mapping. (cherry picked from commit 2e21779992bd5026d8ec4dea52466377dbe5a0ed) | |||
2007-04-17 | Don't always free up memory space when we unpin buffers. | Thomas Hellstrom | |
2007-04-17 | Fix buffer object reference problems. | Thomas Hellstrom | |
(Reported by Dave Airlie). | |||
2007-04-17 | Add a code comment. | Thomas Hellstrom | |
2007-04-16 | Require the hardware lock for buffer creation | Thomas Hellstrom | |
(since that implies a validate). Fix drm_bo_wait_unfenced error messages and codes. Fix some return codes from libdrm. | |||
2007-04-03 | Evicted no-move buffers can get lost if they end up in another | Thomas Hellstrom | |
memory type than local. | |||
2007-04-03 | Fix an oops when trying to clean a not yet initialized memory type. | Thomas Hellstrom | |
2007-03-29 | drm/bo: avoid oops if the memory manager for this type isn't initialised | Dave Airlie | |
2007-03-19 | whitespace cleanup pending a kernel merge | Dave Airlie | |
2007-02-16 | Simple fence object sample driver for via, based on idling the GPU. | Thomas Hellstrom | |
Buffer object driver for via. Some changes to buffer object driver callbacks. Improve fence flushing. | |||
2007-02-15 | Initial support for fence object classes. | Thomas Hellstrom | |
(Fence objects belonging to different command submission mechanisms). | |||
2007-02-13 | More bugfixes. | Thomas Hellstrom | |
Fixed memory, pinned buffers and unmappable memory now seems fully functional. |