Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-20 | [gem] Use a separate sequence number field from classic/ttm | Eric Anholt | |
This lets us get some qualities we desire, such as using the full 32-bit range (except zero), avoiding DRM_WAIT_ON, and a 1:1 mapping of active sequence numbers to request structs, which will be used soon for throttling and interrupt-driven list cleanup. | |||
2008-05-20 | [gem] Rename sequence numbers from "cookie" to "seqno" | Eric Anholt | |
2008-05-20 | [gem] Clean up active/inactive list handling using helper functions. | Eric Anholt | |
Additionally, a boolean active field is added to indicate which list an object is on, rather than smashing last_rendering_cookie to 0 to show inactive. This will help with flush-reduction later on, and makes the code clearer. | |||
2008-05-15 | [gem] Hold dev->struct_mutex to protect structure data. | Eric Anholt | |
2008-05-15 | [gem] Rename the GTT LRU lists to active (executing) and inactive (idle). | Eric Anholt | |
2008-05-12 | [GEM] Typo (and thinking) fixes in drm-gem.txt and doxygen. | Eric Anholt | |
2008-05-12 | [intel] When polling for ring space, sleep for a lot longer (10ms) | Keith Packard | |
If the ring is full, the engine will surely be running for more than 10ms. | |||
2008-05-11 | [GEM] Make pread/pwrite manage memory domains. No luck with movnti though. | Keith Packard | |
pread and pwrite must update the memory domains to ensure consistency with the GPU. At some point, it should be possible to avoid clflush through this path, but that isn't working for me. | |||
2008-05-10 | Merge commit 'anholt/drm-gem' into drm-gem | Keith Packard | |
2008-05-10 | [intel-GEM] Clean up GEM ioctl naming. | Keith Packard | |
Rename 'validate_entry' to 'exec_object', then clean up some field names in structures (renaming buffer_offset to just offset, for example). | |||
2008-05-09 | GEM: Separate the LRU into execution list and LRU list. | Eric Anholt | |
Now, the LRU list has objects that are completely done rendering and ready to kick out, while the execution list has things with active rendering, which have associated cookies and reference counts on them. | |||
2008-05-09 | [gem] API cleanup. allocate->create unreference->close name->flink | Keith Packard | |
Make the API names a bit more consistent. | |||
2008-05-08 | [intel-gem] Move domains to relocation records. add set_domain ioctl. | Keith Packard | |
Domain information is about buffer relationships, not buffer contents. That means a relocation contains the domain information as it knows how the source buffer references the target buffer. This also adds the set_domain ioctl so that user space can move buffers to the cpu domain. | |||
2008-05-07 | GEM: Extend cache domain stuff for 965. | Eric Anholt | |
One of our MI_FLUSH bits is reserved on 965, being always implied, and there's a vertex cache that was forgotten. | |||
2008-05-06 | [intel-GEM] ref count objects in gtt-lru. | Keith Packard | |
If objects on the lru aren't ref counted, they'll get pulled from the gtt as soon as they are freed. This change does cause objects to get stuck in the gtt until they're forced out by new requests. The lru should get cleaned when the irq occurs. | |||
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-05 | Dump last batch buffer when hardware lockup is detected. | Keith Packard | |
2008-05-05 | Monitor ACTHD register while polling for idle ring. | Keith Packard | |
When batch buffers are executing, the ring may be stuck for a long time. Monitor the ACTHD pointer which will show if the execution engine is actually hung. | |||
2008-05-05 | Remove some debug messages. | 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 | 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-02 | Fix nouveau warning when returning pointers in uint64_t objects. | Keith Packard | |
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 | 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-23 | Add pread/pwrite ioctls to mmfs. | Eric Anholt | |
2008-04-23 | Extend the mmfs basic test to do a couple of ioctls. | Eric Anholt | |
2008-04-23 | Move mmfs.h userland interface to shared-core. | Eric Anholt | |
2008-04-22 | i915: gfx hw and i945gme fixes from upstream | Dave Airlie | |
From Jesse and Zhenyu originally. | |||
2008-04-20 | [I915] Handle tiled buffers in vblank tasklet | Keith Packard | |
The vblank tasklet update code must build 2D blt commands with the appropriate tiled flags. | |||
2008-04-20 | On I965, use correct 3DSTATE_DRAWING_RECTANGLE command in vblank | Keith Packard | |
The batchbuffer submission paths were fixed to use the 965-specific command, but the vblank tasklet was not. When the older version is sent, the 965 will lock up. | |||
2008-04-11 | Save and restore dsparb and d_state regs | Keith Packard | |
2008-04-05 | nv50: primitive i2c interrupt handler | Maarten Maathuis | |
2008-04-03 | nv50: primitive display interrupt handler. | Maarten Maathuis | |
2008-03-31 | nouveau: fix return from function.. | Dave Airlie | |
dude kernel moduless use kernel errors :) this fixes an oops on init when this codepath hits. | |||
2008-03-30 | nouveau: forgot to add a break | Maarten Maathuis | |
2008-03-30 | nouveau: Add ctx values for nv86. | Maarten Maathuis | |
- Note that this may not work for all nv86. | |||
2008-03-30 | drm/r300: fix wait interface mixup | Dave Airlie | |
This interface was defined completely wrong, however userspace has only ever used 4 values from it (0x1, 0x2, 0x3 and 0x6), so fix the interface to do what userspace actually expected but define new defines for new users to use it properly. |