summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorZhang Xiaoxu <zhangxiaoxu5@huawei.com>2020-11-16 17:41:12 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2020-11-16 18:56:02 +0300
commit01d708840c26c9532579677eaca942363a009fd5 (patch)
tree9c184e741d23d2a4702c8b23c234786de39bfae8 /tools/perf/scripts/python/exported-sql-viewer.py
parent77c296966e866a795742a46fc52a218771894867 (diff)
downloadlinux-01d708840c26c9532579677eaca942363a009fd5.tar.xz
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 <hulkci@huawei.com> Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20201116144112.3673011-1-zhangxiaoxu5@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions