Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-12 | Avoid large kmallocs. | Thomas Hellstrom | |
2008-03-06 | drm: reorganise minor number handling using code from modesetting branch | Dave Airlie | |
Rip out the whole head thing and replace it with an idr and drm_minor structure. | |||
2008-03-05 | i915: Evict if relocatee buffer is CACHED_MAPPED before | Xiang, Haihao | |
writting relocations, otherwise the GPU probably sees some inconsistent data. Fix fd.o bug#14656 | |||
2008-02-27 | Reinstate buffer idle before applying relocations. | Thomas Hellstrom | |
2008-02-27 | Don't wait for buffer idle before applying relocations. | Thomas Hellstrom | |
2008-02-26 | [i915] Relocation fixes. | Thomas Hellstrom | |
2008-02-26 | Make the execbuffer code reasonably safe against errors. | Thomas Hellstrom | |
In particular -EAGAINs, which should be common during Xserver operation. Also handle the fence creation failure case. | |||
2008-02-22 | Fix one last occurance of struct _drm_i915_batchbuffer. | Kristian Høgsberg | |
Thanks to Todd Merrill for pointing it out. | |||
2008-02-13 | i915: Add a dri2 init path that gets the lock from the dri2 sarea. | Kristian Høgsberg | |
2008-02-13 | i915: Only look up dev_priv->mmio_map if it's not already set up | Kristian Høgsberg | |
2008-02-13 | i915: Add I915_PARAM_CHIPSET_ID param to get chipset ID. | Kristian Høgsberg | |
2008-02-13 | i915: Make sarea_priv setup optional. | Kristian Høgsberg | |
2008-02-05 | i915: Re-report breadcrumbs on poll to the fence manager, | Thomas Hellstrom | |
since a breadcrumb may actually turn up before a corresponding fence object has been placed on the fence ring. | |||
2008-01-30 | i915: Avoid calling drm_fence_flush_old excessively. | Thomas Hellstrom | |
2008-01-30 | Simplify the fencing code and differentiate between flushes and | Thomas Hellstrom | |
waiting types. Add a "command_stream_barrier" method to the bo driver. | |||
2008-01-24 | i915: fix missing header when copying data from userspace | Dave Airlie | |
2008-01-24 | i915 make relocs use copy from user | Dave Airlie | |
Switch relocs to using copy from user and remove index and pass buffer handles in instead. | |||
2008-01-15 | Properly propagate the user-space fence flags. | Thomas Hellstrom | |
This avoids a sync flush when user-space has already programmed and MI_FLUSH in the batchbuffer. | |||
2008-01-03 | drm: cleanup DRM_DEBUG() parameters | Márton Németh | |
As DRM_DEBUG macro already prints out the __FUNCTION__ string (see drivers/char/drm/drmP.h), it is not worth doing this again. At some other places the ending "\n" was added. airlied:- I cleaned up a few that this patch missed also | |||
2007-12-15 | Document drm_bo_handle_validate. Match drm_bo_do_validate parameter order. | Keith Packard | |
Document parameters and usage for drm_bo_handle_validate. Change parameter order to match drm_bo_do_validate (fence_class has been moved to after flags, hint and mask values). Existing users of this function have been changed, but out-of-tree users must be modified separately. | |||
2007-12-11 | Make relocation validate client computed values when debugging | Keith Packard | |
2007-12-11 | i915: wait for buffer idle before writing relocations | Keith Packard | |
When writing a relocation entry, make sure the target buffer is idle, otherwise the GPU may see inconsistent data. | |||
2007-12-11 | Allow relocation to be skipped when buffers don't move. | Keith Packard | |
One of the costs of superioctl has been the need to perform relocations inside the kernel. The cost of mapping the buffers to the CPU and writing data is fairly high, especially if those buffers have been mapped and read by the GPU. If we assume that buffers don't move around very often, we can have the client compute the relocations itself using the previous GPU address. When that object doesn't move, the kernel can skip computing and writing the updated data. Here's a patch which adds a new field to struct drm_bo_info_req called 'presumed_offset', and a new DRM_BO_HINT_PRESUMED_OFFSET that is set when this field has been filled in by the client. There are two separate optimizations performed when the presumed_offset is correct: 1. i915_exec_reloc checks to see if all previous buffer offsets were guessed correctly. If so, there's no need for it to look at *any* of the relocations for a buffer. When this happens, it skips the whole relocation process, simply returning success. 2. i915_apply_reloc checks to see if the target buffer offset was guessed correctly. If so, it skips mapping the relocatee, computing the relocation and writing the value. If no relocations are needed, the relocatee should never be mapped to the CPU, and so the kernel shouldn't need to wait for any fences to pass. | |||
2007-12-05 | Remove references to the sarea_priv perf_boxes field. | Kristian Høgsberg | |
This field isn't touched or read by any other code in the stack so it's time to retire these last few references. | |||
2007-12-01 | Clarify order of operations | Robert Noland | |
2007-12-01 | DRM_DEBUG already prints the function name. | Robert Noland | |
2007-12-01 | drm: Add _DRM_DRIVER map flag. | Robert Noland | |
This flag indicates that the driver is responsible for the map. | |||
2007-11-29 | Beside the emitted warning, the added cast (u64 -> unsigned) strips out | Jiri Slaby | |
part of address on 64 bit. Cast to unsigned long instead. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> | |||
2007-11-29 | drm: more cleanups | Dave Airlie | |
2007-11-28 | i965: oops force mi batchbuffer start | Dave Airlie | |
2007-11-22 | drm: major whitespace/coding style realignment with kernel | Dave Airlie | |
2007-11-19 | Fix capitalization of __linux__ define. | Eric Anholt | |
2007-11-18 | Bug #13233: Fix build on FreeBSD. | Robert Noland | |
2007-11-15 | intel: add flushing for i8xx chipsets. | Dave Airlie | |
Add a nut vs hammer style chipset flush for the i8xx chipsets - reenable TTM code paths | |||
2007-11-07 | i915: oops disable TTM is backwards | Dave Airlie | |
2007-11-06 | i915: disable TTM on 8xx chips for now until flushing is solved | Dave Airlie | |
2007-11-05 | drm: remove lots of spurious whitespace. | Dave Airlie | |
Kernel "cleanfile" script run. | |||
2007-10-31 | drm: add chipset flushing via agp support | Dave Airlie | |
2007-10-31 | i915: add backwards compat chipset flushing code | Dave Airlie | |
2007-10-26 | i915: suspend/resume support | Jesse Barnes | |
Add suspend/resume support to the i915 driver. Moves some of the initialization into the driver load routine, and fixes up places where we assumed no dev_private existed in some of the cleanup paths. This allows us to suspend/resume properly even if X isn't running. | |||
2007-10-25 | Merge branch 'master' into drm-ttm-finalize | Thomas Hellstrom | |
2007-10-25 | i915: relocate buffers before validation add memory barrier between two | Dave Airlie | |
2007-10-25 | i915: remove relocatee kernel mapping sooner stops mutex taking during sleep | Dave Airlie | |
2007-10-24 | Fix missing \n on some DRM_ERROR in i915_dma.c | Eric Anholt | |
2007-10-24 | i915: use a drm memory barrier define | Dave Airlie | |
2007-10-23 | i915: require mfence before submitting batchbuffer | Dave Airlie | |
2007-10-22 | A cmdbuf mutex to implement validate-submit-fence atomicity in the absence | Thomas Hellstrom | |
of a hardware lock. | |||
2007-10-22 | i915: split reloc execution into separate function | Dave Airlie | |
2007-10-21 | Adapt i915 super-ioctl for lock-free operation. | Thomas Hellstrom | |
2007-10-20 | Simple replacement for hardware lock in some cases. | Thomas Hellstrom | |
Fix i915 since last commit. |