diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-08-12 11:36:12 (GMT) |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-08 09:23:50 (GMT) |
commit | 8dc5d14741dc1ee0074a14b360993a10c2c02d24 (patch) | |
tree | 9b4885aa1e74161138caf5f611e5f99d379a817e /drivers/gpu/drm/drm_gem.c | |
parent | 5cd68c9864d65e49c910c701716e4e94e09f7ce0 (diff) | |
download | linux-fsl-qoriq-8dc5d14741dc1ee0074a14b360993a10c2c02d24.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
0 files changed, 0 insertions, 0 deletions