diff options
| author | Chris Wilson <[email protected]> | 2019-01-25 10:05:20 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-01-25 11:19:39 +0000 |
| commit | e1a73a54a96e80dc6009e73c9209e4f81ae22285 (patch) | |
| tree | cadd51eb146190119e6fcd60916b77a2accc96a3 /tools/perf/scripts/python/sctop.py | |
| parent | 8e525cb4a622148fbe30134ee3a1a34ad839a43a (diff) | |
drm/i915: Measure the required reserved size for request emission
Instead of tediously and fragilely counting up the number of dwords
required to emit the breadcrumb to seal a request, fake a request and
measure it automatically once during engine setup.
The downside is that this requires a fair amount of mocking to create a
proper breadcrumb. Still, should be less error prone in future as the
breadcrumb size fluctuates!
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions