anv: disable i915_perf warning on non-Linux
authorJan Beich <jbeich@FreeBSD.org>
Thu, 21 May 2020 01:55:11 +0000 (01:55 +0000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 30 Jun 2020 21:05:52 +0000 (21:05 +0000)
commit2e5b2145068223bbe0b4a8cb1ffb2f26e2fb6527
treef2133f2a9f42657c31b02c022836fe2300196e4a
parent5a27efdf0e36be8e36390c6a27eef91cbef21e71
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 <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5461>
src/intel/perf/gen_perf.c