diff options
author | Zhang Xiaoxu <[email protected]> | 2020-11-16 09:41:12 -0500 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2020-11-16 18:06:26 -0500 |
commit | 2106edbdfd15e37afa6c5225421b8036bf0e38ec (patch) | |
tree | 78add7f4513f1b254d7009dc05554850aa3339a2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 973dd87fa56ac943ce1060fd07244d7652115164 (diff) |
drm/i915/selftests: Fix wrong return value of perf_series_engines()
If intel context create failed, the perf_series_engines() will return 0
rather than error, because we doesn't initialize the return value.
Fixes: cbfd3a0c5a55 ("drm/i915/selftests: Add request throughput measurement to perf")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhang Xiaoxu <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 01d708840c26c9532579677eaca942363a009fd5)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions