diff options
author | Jan Beich <[email protected]> | 2020-05-21 01:55:11 +0000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-30 21:05:52 +0000 |
commit | 2e5b2145068223bbe0b4a8cb1ffb2f26e2fb6527 (patch) | |
tree | f2133f2a9f42657c31b02c022836fe2300196e4a | |
parent | 5a27efdf0e36be8e36390c6a27eef91cbef21e71 (diff) |
anv: disable i915_perf warning on non-Linux
$ vkcube
INTEL-MESA: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5461>
-rw-r--r-- | src/intel/perf/gen_perf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/perf/gen_perf.c b/src/intel/perf/gen_perf.c index 6fd66a1d2dd..24fee821474 100644 --- a/src/intel/perf/gen_perf.c +++ b/src/intel/perf/gen_perf.c @@ -678,9 +678,9 @@ load_oa_metrics(struct gen_perf_config *perf, int fd, if (paranoid == 0 || geteuid() == 0) i915_perf_oa_available = true; } - } - perf->platform_supported = oa_register != NULL; + perf->platform_supported = oa_register != NULL; + } if (!i915_perf_oa_available || !oa_register || |