diff options
author | Chris Wilson <[email protected]> | 2017-09-21 14:54:43 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-09-25 10:21:21 +0100 |
commit | 604a8f6f1e33ed53529a117baec92d28e746a601 (patch) | |
tree | 7a78a1f771b13dcb07e6b3f9dfd30a40f94074ee /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 76e70087d360fdbe97f24c205d585ada04126e5f (diff) |
drm/i915/lrc: Only enable per-context and per-bb buffers if set
The per-context and per-batch workaround buffers are optional, yet we
tell the GPU to execute them even if they contain no instructions. Doing
so incurs the dispatch latency, which we can avoid if we don't ask the
GPU to execute the no-op buffers. Allow ourselves to skip setup of empty
buffer, and then to only enable non-empty buffers in the context image.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions