commit | 8dc5d14741dc1ee0074a14b360993a10c2c02d24 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Aug 12 12:36:12 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Sep 08 10:23:50 2010 +0100 |
tree | 9b4885aa1e74161138caf5f611e5f99d379a817e | |
parent | 5cd68c9864d65e49c910c701716e4e94e09f7ce0 [diff] |
drm/i915: Preallocate requests By allocating the request prior to writing to the ringbuffer, we can abort the operation without leaving the GPU in an inconsistent state. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>