Revision b5462cc377748181af2b05729c69f5faecec3717 authored by Zhang Xiaoxu on 16 November 2020, 14:35:40 UTC, committed by Rodrigo Vivi on 16 November 2020, 23:06:28 UTC
If intel context create failed, the perf_request_latency() will return 0 rather than error, because we doesn't initialize the return value. Fixes: 25c26f18ea79 ("drm/i915/selftests: Measure dispatch latency") 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/20201116143540.3648870-1-zhangxiaoxu5@huawei.com (cherry picked from commit 19384452052a1e0525e663bfbdd62ac1399bb647) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
1 parent 2106edb
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.8 KB |
Makefile | -rw-r--r-- | 260 bytes |
balloc.c | -rw-r--r-- | 27.7 KB |
cylinder.c | -rw-r--r-- | 5.7 KB |
dir.c | -rw-r--r-- | 15.7 KB |
file.c | -rw-r--r-- | 998 bytes |
ialloc.c | -rw-r--r-- | 9.3 KB |
inode.c | -rw-r--r-- | 32.8 KB |
namei.c | -rw-r--r-- | 7.2 KB |
super.c | -rw-r--r-- | 44.2 KB |
swab.h | -rw-r--r-- | 2.5 KB |
ufs.h | -rw-r--r-- | 5.0 KB |
ufs_fs.h | -rw-r--r-- | 34.6 KB |
util.c | -rw-r--r-- | 6.1 KB |
util.h | -rw-r--r-- | 16.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...