diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-06-19 16:19:38 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-06-19 20:00:18 +0100 |
| commit | 5a15550e56cc57bb5b953b0f6629c6805f4724fe (patch) | |
| tree | 39c55564f3ef480485fc528c07fe2d7e20bb0320 /tools/perf/scripts/python/flamegraph.py | |
| parent | drm/i915/query: Use struct_size() helper (diff) | |
| download | linux-5a15550e56cc57bb5b953b0f6629c6805f4724fe.tar.gz linux-5a15550e56cc57bb5b953b0f6629c6805f4724fe.zip | |
drm/i915/gt: Initialise rps timestamp
Smatch warns that we may iterate over an empty array of gt->engines[].
One hopes that this is impossible, but nevertheless we can simply
appease smatch by initialising the timestamp to zero before we starting
probing the busy-time from the engines.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200619151938.21740-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
