Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-06 | [intel-GEM] Add memory domain support. | Keith Packard | |
Memory domains allow the kernel to track which caches to flush and how to move objects before buffer execution. | |||
2008-05-06 | Merge commit 'anholt/drm-gem' into drm-gem | Keith Packard | |
2008-05-06 | Start coding up memory domains | Keith Packard | |
2008-05-06 | GEM: Use irq-based fencing rather than syncing and evicting every exec. | Eric Anholt | |
2008-05-06 | GEM: Skip relocation if presumed offset matches. | Eric Anholt | |
2008-05-06 | GEM: Save the last ioremapped page for relocations in case we need it again. | Eric Anholt | |
2008-05-05 | Dump last batch buffer when hardware lockup is detected. | Keith Packard | |
2008-05-05 | Unlock pages right after getting them. | Keith Packard | |
pages come back from find_or_create_page locked, but must not stay locked for long. Unlock them immediately instead of waiting until we're done with them to avoid deadlock when applications try to touch them. | |||
2008-05-05 | Merge commit 'anholt/drm-gem' into drm-gem | Keith Packard | |
Conflicts: linux-core/i915_gem.c | |||
2008-05-05 | GEM: Replace drm_memrange_for_each with just evicting what we brought in. | Eric Anholt | |
I was wrong about how the data structure worked, and didn't care to fix it to support debugging code. | |||
2008-05-05 | Remove some debug messages. | Keith Packard | |
2008-05-05 | Add object base to relocation store address. | Keith Packard | |
The relocated value was being written to the wrong location, missing the object base address. | |||
2008-05-05 | Emit clflush and chipset flush when mapping objects to gtt | Keith Packard | |
2008-05-05 | Correct execbuffer offset. Add memory barrier and chipset flush. | Keith Packard | |
2008-05-05 | Add i915_dispatch_gem_execbuffer (broken). | Keith Packard | |
This function submits a gem-based execbuffer to the ring. It doesn't work yet. | |||
2008-05-02 | Don't forget to set the memrange private, and reset ring on kernel entry. | Eric Anholt | |
2008-05-02 | Don't include the tail guard memrange in foreach callbacking. | Eric Anholt | |
2008-05-02 | Check for do_mmap errors | Keith Packard | |
2008-05-02 | Add a bit of /proc/dri/*/gem support. Clean up some refcount/pagelock issues. | Keith Packard | |
Track named objects in /proc/dri/0/gem_names. Track total object count in /proc/dri/0/gem_objects. Initialize device gem data. return -ENODEV for gem ioctls if the driver doesn't support gem. Call unlock_page when unbinding from gtt. Add numerous misssing calls to drm_gem_object_unreference. | |||
2008-05-02 | Add name/open ioctls, separate handle and pointer ref counts. | Keith Packard | |
Names are just another unique integer set (from another idr object). Names are removed when the user refernces (handles) are all destroyed -- this required that handles for objects be counted separately from internal kernel references (so that we can tell when the handles are all gone). | |||
2008-05-02 | Remove drm_driver argument to functions taking drm_gem_object. | Keith Packard | |
Now that drm_gem_object has a drm_driver * in it, functions don't need both parameters. | |||
2008-05-01 | Add alignment to all aperture allocation requests. | Keith Packard | |
When pinning buffers, or using execbuffer, allow the application to specify the necessary aperture allocation alignment constraints. | |||
2008-05-01 | Fix gem ioctls to be 32/64-bit clean. | Keith Packard | |
mixed 32/64 bit systems need 'special' help for ioctl where the user-space and kernel-space datatypes differ. Fixing the datatypes to be the same size, and align the same way for both 32 and 64-bit ppc and x86 environments will elimiante the need to have magic 32/64-bit ioctl translation code. | |||
2008-05-01 | Use krefs for refcounting. | Keith Packard | |
krefs are way easier than a custom-coded spinlock+int combo. | |||
2008-05-01 | Unbind objects when freeing, fix some error paths, and warn in others. | Eric Anholt | |
2008-05-01 | Fix offset passed to AGP to be pages instead of bytes. | Eric Anholt | |
Fix some utterly bonged loop while we were staring at it. | |||
2008-05-01 | Fix missing member settings in obj/obj_priv, and some error paths. | Eric Anholt | |
2008-05-01 | Make GEM object handles be nonzero. | Eric Anholt | |
2008-05-01 | Remove _args from gem ioctl argument structure tags. | Eric Anholt | |
2008-05-01 | Add pin/unpin object ioctls for gem. | Eric Anholt | |
2008-05-01 | checkpoint: relocations support. | Eric Anholt | |
2008-05-01 | checkpoint: gtt binding written. | Eric Anholt | |
2008-05-01 | checkpoint: rename to GEM and a few more i915 bits. | Eric Anholt | |
2008-04-30 | Hacking towards hooking up execbuffer. | Eric Anholt | |
2008-04-29 | Remove the remainder of the mmfs device. | Eric Anholt | |
2008-04-29 | Move mmfs ioctls into the DRM. Untested. | Eric Anholt | |
2008-04-29 | i915: fix off by one in VGA save/restore of AR & CR regs | Jesse Barnes | |
Turns out it's important to save/restore AR14 in particular. | |||
2008-04-28 | Rename drm_mm.c and its fuctions to drm_memrange. | Eric Anholt | |
It's not really a graphics memory allocator, just something to track ranges of address space. It doesn't involve actual allocation, and was consuming some desired namespace. | |||
2008-04-27 | Use fixed sized types in new ioctls | Jesse Barnes | |
Make both crtc and the command argument 32 bits to avoid any 32-on-64 compat issues. | |||
2008-04-23 | Add mmap ioctl to mmfs. | Eric Anholt | |
2008-04-23 | Add pread/pwrite ioctls to mmfs. | Eric Anholt | |
2008-04-23 | Move mmfs.h userland interface to shared-core. | Eric Anholt | |
2008-04-23 | Initial add of mmfs module. | Eric Anholt | |
2008-04-23 | Clarify that drm_agp_ttm_backend is associated with a drm_ttm. | Eric Anholt | |
On first looking at it I assumed it was an aspect of the ttm backend as a whole rather than specific allocations from a backend. | |||
2008-04-23 | Don't disable IRQs, just tasklets, when taking the drm lock spinlock. | Thomas Hellstrom | |
2008-04-23 | Fixed unlock check on EAGAIN | Jakob Bornecrantz | |
2008-04-22 | linux-core Makefile: add GIT_REVISION | Pekka Paalanen | |
This tries to automatically fetch a git revision string and if succeeds, it #defines GIT_REVISION string macro. Packagers can override it by 'make GIT_REVISION=foo'. Update Nouveau to use GIT_REVISION, if defined, instead of DRIVER_DATE in struct drm_driver. Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2008-04-14 | Fix buffer object map wait error. | Thomas Hellstrom | |
Add some branch prediction hints. | |||
2008-04-14 | Fix buffer object creation validation. | Thomas Hellstrom | |
BO lock fixes. | |||
2008-04-14 | Unlock the BO mutex while waiting for idle, unmapped, unfenced. | Thomas Hellstrom | |
Move unfenced checking into idle checking. Never time out while waiting for software events like unmapped or unfenced. |