aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2020-04-29 03:00:52 +0000
committerChris Wilson <[email protected]>2020-04-29 06:46:21 +0000
commit2ea4a7ba9bf6e3bc1af899d1af481eb9b4ae8707 (patch)
tree99055acbca7ec383f122ce20a34104c0c509c7e3 /tools/perf/scripts/python/check-perf-trace.py
parentdrm/i915/execlists: Verify we don't submit two identical CCIDs (diff)
downloadkernel-2ea4a7ba9bf6e3bc1af899d1af481eb9b4ae8707.tar.gz
kernel-2ea4a7ba9bf6e3bc1af899d1af481eb9b4ae8707.zip
drm/i915/gt: Avoid uninitialized use of rpcurupei in frequency_show
When building with clang + -Wuninitialized: drivers/gpu/drm/i915/gt/debugfs_gt_pm.c:407:7: warning: variable 'rpcurupei' is uninitialized when used here [-Wuninitialized] rpcurupei, ^~~~~~~~~ drivers/gpu/drm/i915/gt/debugfs_gt_pm.c:304:16: note: initialize the variable 'rpcurupei' to silence this warning u32 rpcurupei, rpcurup, rpprevup; ^ = 0 1 warning generated. rpupei is assigned twice; based on the second argument to intel_uncore_read, it seems this one should have been assigned to rpcurupei. Fixes: 9c878557b1eb ("drm/i915/gt: Use the RPM config register to determine clk frequencies") Link: https://github.com/ClangBuiltLinux/linux/issues/1016 Signed-off-by: Nathan Chancellor <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions