diff options
| author | Chris Wilson <[email protected]> | 2016-10-28 13:58:52 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-10-28 20:53:54 +0100 |
| commit | caddfe7192f5e74d65ebcfdae614f99e8fd87222 (patch) | |
| tree | 948ab78439fcb584190078df8f3af0ed68eecbe6 /tools/perf/scripts/python | |
| parent | 98f29e8d908f2b9e3d966f6f7d63cd69b4aaf0a2 (diff) | |
drm/i915: Defer breadcrumb emission
Move the actual emission of the breadcrumb for closing the request from
i915_add_request() to the submit callback. (It can be moved later when
required.) This allows us to defer the allocation of the global_seqno
from request construction to actual submission, allowing us to emit the
requests out of order (wrt to the order of their construction, they
still will only be executed one all of their dependencies are resolved
including that all earlier requests on their timeline have been
submitted.) We have to specialise how we then emit the request in order
to write into the preallocated space, rather than at the tail of the
ringbuffer (which will have been advanced by the addition of new
requests).
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions