diff options
-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 || |