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/bin | |
| parent | drm/i915: Fix force-probe failure message (diff) | |
| download | linux-fb5970da1b428b6c0f89441b7d3015328da92cb6.tar.gz linux-fb5970da1b428b6c0f89441b7d3015328da92cb6.zip | |
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/bin')
0 files changed, 0 insertions, 0 deletions
