diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-07 12:58:27 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-07 17:12:21 +0000 |
commit | fb5970da1b428b6c0f89441b7d3015328da92cb6 (patch) | |
tree | 48b5087bf5b4246b138435f99b14ff5ec871a250 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 71b7cc601ea7f3ffd95e88f7386e9da8c753a9c8 (diff) |
drm/i915/gt: Use the kernel_context to measure the breadcrumb size
We set up a dummy ring in order to measure the size we require for our
breadcrumb emission, so that we don't have to manually count dwords! We
can pass in the kernel_context to use for this so that if required it is
known for the breadcrumb emitter, and we can reuse some details from the
kernel_context to reduce the number of temporaries we have to mock.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200207125827.2787472-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions