Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-25 | Remove buffer object user list check in drm_bo_destroy_unlocked | Jesse Barnes | |
In the case of driver allocated buffers, there won't necessarily be a user list associated with the buffer, so don't bug out on an empty list. | |||
2007-09-24 | Merge branch 'master' into modesetting-101 - TTM & typedef removal | Jesse Barnes | |
Conflicts: linux-core/drmP.h linux-core/drm_bo.c linux-core/drm_drv.c linux-core/drm_objects.h shared-core/drm.h shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c Mostly removing typedefs that snuck into the modesetting code and updating to the latest TTM APIs. As of today, the i915 driver builds, but there are likely to be problems, so debugging and bugfixes will come next. | |||
2007-09-22 | Fix pinned buffer fence class. | Thomas Hellstrom | |
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 | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into ↵ | Alan Hourihane | |
modesetting-101 Conflicts: linux-core/drm_drv.c linux-core/drm_fops.c linux-core/drm_objects.h linux-core/drm_stub.c shared-core/i915_dma.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-18 | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into ↵ | Alan Hourihane | |
modesetting-101 Conflicts: shared-core/i915_dma.c | |||
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-18 | Merge branch 'origin' into modesetting-101 | Dave Airlie | |
Conflicts: linux-core/drm_bo.c Merge in changes from master from Thomas fixiing TTM problems | |||
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 | I don't think this dec is necessary and my stuff all works without .. | Dave Airlie | |
with it everything falls over | |||
2007-04-17 | add some missing export symbols | 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-13 | export drm_bo_driver_finish symbol | David Airlie | |
2007-04-11 | Add new buffer object type for kernel allocations that don't initially have ↵ | Jesse Barnes | |
a user mapping. | |||
2007-04-11 | Various changes for in-kernel modesetting: | Jesse Barnes | |
- allow drm_buffer_object_create to be called w/o dev_mapping - fixup i915 init code to allocate memory, fb and set modes right - pass fb to drm_initial_config for setup - change some debug output to make it easier to spot - fixup lvds code to use DDC probing correctly | |||
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 | |