diff options
author | Matthew Brost <[email protected]> | 2021-12-18 16:19:09 -0800 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2021-12-27 11:33:34 +0200 |
commit | 0f9d36af8f211d296ffd23bdce61a72cdfbb1a3c (patch) | |
tree | 32066af8b574aa41fc04c1ad3b857f4ee06eaa79 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fc74e0a40e4f9fd0468e34045b0c45bba11dcbb2 (diff) |
drm/i915: Fix possible uninitialized variable in parallel extension
'prev_engine' was declared inside the output loop and checked in the
inner after at least 1 pass of either loop. The variable should be
declared outside both loops as it needs to be persistent across the
entire loop structure.
Fixes: e5e32171a2cf ("drm/i915/guc: Connect UAPI to GuC multi-lrc interface")
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Signed-off-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit cbffbac9c14220b8716b0a9c29d72243f6b14ef3)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions