Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-26 | update DRM sysfs support | Jesse Barnes | |
Make DRM devices use real Linux devices instead of class devices, which are going away. While we're at it, clean up some of the interfaces to take struct drm_device * or struct device * and use the global drm_class where needed instead of passing it around. | |||
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-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 | Drop destroy ioctls for fences and buffer objects. | Kristian Høgsberg | |
We now always create a drm_ref_object for user objects and this is then the only things that holds a reference to the user object. This way unreference on will destroy the user object when the last drm_ref_object goes way. | |||
2007-10-04 | linux-drm: Obey device class requirements when detecting devices. | Maarten Maathuis | |
2007-09-26 | Add brackets | Alan Hourihane | |
2007-09-26 | don't copy back if an error was returned. | Alan Hourihane | |
2007-08-16 | Merge branch 'master' into bo-set-pin | Eric Anholt | |
2007-08-02 | drm: add unlocked ioctl code path - not used yet | Dave Airlie | |
2007-07-26 | debug print ioctl return value as -integer rather than fffffwhatever. | Eric Anholt | |
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-21 | Fix misc ioctl issues, makes Nouveau run. | Pekka Paalanen | |
Debug print fix in drm_release(). Forgotten local variable init in drm_setversion(). Unnecessary put_user() in drm_addmap_ioctl(). ioctl->cmd check broken in drm_ioctl(); workaround. | |||
2007-07-21 | fix missing brace placement for IOC_IN | Dave Airlie | |
2007-07-21 | fix drm no-compile due to BSD :-) | 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-16 | drm: remove drmP.h internal typedefs | Dave Airlie | |
2007-07-16 | drm: detypedef drm.h and fixup all problems | 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-07-11 | Made drm_sg_alloc accessible from inside the DRM - drm_sg_alloc_ioctl is the ↵ | Arthur Huillet | |
ioctl wrapper | |||
2007-07-02 | Fix must-check warnings and implement a few error paths. | Kristian Høgsberg | |
2007-06-10 | use krh's idr mods to remove lists from idr code | Dave Airlie | |
2007-06-03 | Revert "drm: add new drm_wait_on function to replace macro" | root | |
This reverts commit 6e860d08d0f5b1e9a2d711aaf9fd6b982aa8039e. As I said not a good plan - this macro will have to stay for now, trying to do the vbl code with the inline was a bit messy - may need specialised drm wait on functions | |||
2007-05-27 | drm: convert drawable handling to use Linux idr | Dave Airlie | |
This cleans this code up a lot and uses the generic Linux idr which is designed for this. Signed-off-by: Dave Airlie <airlied@linux.ie> | |||
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 | Revert "drm/ttm: cleanup most of fence ioctl split out" | Dave Airlie | |
This reverts commit 3dfc1400e9fc58c69292d7cf7c2e1653fa5e6991. this shouldn't have gone on master yet | |||
2007-05-26 | whitespace fixups from kernel | Dave Airlie | |
2007-05-26 | drm/ttm: cleanup most of fence ioctl split out | Dave Airlie | |
2007-05-26 | drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls. | Dave Airlie | |
This is the first bunch of ioctls | |||
2007-05-26 | drm: cleanup use of Linux list handling macros | Dave Airlie | |
This makes the drms use of the list handling macros a lot cleaner and more along the lines of how they should be used. | |||
2007-05-08 | ttm: complete drm buffer object ioctl split | Dave Airlie | |
retain the op operation for validate/fence operations | |||
2007-05-06 | drm/ttm: cleanup most of fence ioctl split out | Dave Airlie | |
2007-05-06 | drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls. | Dave Airlie | |
This is the first bunch of ioctls | |||
2007-04-28 | drm: add new drm_wait_on function to replace macro | Dave Airlie | |
2007-04-28 | remove DRM_GETSAREA and replace with drm_getsarea function | Dave Airlie | |
2007-03-20 | rename badly named define | Dave Airlie | |
2007-03-19 | cleanup ioctl expansion code | Dave Airlie | |
2007-03-19 | make drm fops const from kernel | Dave Airlie | |
2007-01-25 | Remove a scary error printed when we were leaking memory caches. | Thomas Hellstrom | |
We don't use memory caches anymore... Fix memory accounting initialization to only use low or DMA32 memory. | |||
2006-12-15 | Remove the memory caches for fence objects and memory manager nodes, | Thomas Hellstrom | |
since the support for memory caches has gone from 2.6.20. | |||
2006-10-20 | Bug #8707, 2.6.19-rc compatibility for memory manager code. | Thomas Hellstrom | |
2006-10-17 | Add vma list memory usage to memory accounting. | Thomas Hellstrom | |
Use byte unit for /proc printout of memory usage for small sizes to be able to detect memory allocation bugs more easily. | |||
2006-10-17 | Add memory usage accounting to avoid DOS problems. | Thomas Hellstrom | |
2006-10-17 | Extend generality for more memory types. | Thomas Hellstrom | |
Fix up init and destruction code. | |||
2006-10-11 | Big 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-10 | Use a nopage-based approach to fault in pfns. | Thomas Hellstrom | |
2006-10-03 | Get rid of all ugly PTE hacks. | Thomas Hellstrom | |
2006-10-02 | Add a buffer object manager for TTM maps. | Thomas Hellstrom | |