diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-09-21 14:54:43 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-09-25 10:21:21 +0100 |
commit | 604a8f6f1e33ed53529a117baec92d28e746a601 (patch) | |
tree | 7a78a1f771b13dcb07e6b3f9dfd30a40f94074ee /scripts/faddr2line | |
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 <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170921135444.27330-1-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'scripts/faddr2line')
0 files changed, 0 insertions, 0 deletions