diff options
author | John Harrison <John.C.Harrison@Intel.com> | 2015-05-29 19:43:25 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-06-23 15:01:57 +0300 |
commit | 0c8dac889539ab26382ba1636ec1159cae73f2b3 (patch) | |
tree | 5615c5e1973c6203fb75c9a9eb46adbf288cbbde /block/blk-mq-tag.h | |
parent | bf7dc5b70952eb58c4fd57c9b964488650303a32 (diff) | |
download | linux-0c8dac889539ab26382ba1636ec1159cae73f2b3.tar.xz |
drm/i915: Early alloc request in execbuff
Start of explicit request management in the execbuffer code path. This patch
adds a call to allocate a request structure before all the actual hardware work
is done. Thus guaranteeing that all that work is tagged by a known request. At
present, nothing further is done with the request, the rest comes later in the
series.
The only noticable change is that failure to get a request (e.g. due to lack of
memory) will be caught earlier in the sequence. It now occurs right at the start
before any un-undoable work has been done.
v2: Simplified the error handling path.
For: VIZ-5115
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Tomas Elf <tomas.elf@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'block/blk-mq-tag.h')
0 files changed, 0 insertions, 0 deletions