mesa/src/intel
Lionel Landwerlin ec1fa1d51f intel/perf: fix raw query kernel metric selection
The raw query is meant to be used with MDAPI [1]. When using this
metric without this library, we usually selected the TestOa metric to
provide some default sensible values (instead of undefined).
Historically this TestOa metric lived in the kernel at ID=1. We
removed all metrics from the kernel in kernel commit 9aba9c188da136
("drm/i915/perf: remove generated code").

This fixes the Mesa code to use a valid metric set ID (1 could work
some of the time, but not guaranteed).

[1] : https://github.com/intel/metrics-discovery

v2: Store fallback metric at init time

v3: Drop TestOa lookout

v4: Skip the existing queries (Marcin)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
CC: <mesa-stable@lists.freedesktop.org>
Tested-by: Marcin Ślusarz <marcin.slusarz@intel.com> (v1)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6438>
2020-08-24 18:52:23 +00:00
..
blorp nir: Use a single list for all shader variables 2020-07-29 17:38:58 +00:00
common intel/l3: Return the URB size from devinfo for DG1 2020-06-22 11:42:00 -07:00
compiler intel/nir: Allow splitting a single load into up to 32 loads 2020-08-21 22:49:54 +00:00
dev anv: track the current frame and write it into the driver identifier BO 2020-08-07 11:27:54 +00:00
genxml intel/genxml: replace gen_sort_tags.py MIT licence with SPDX equivalent 2020-06-13 01:16:17 +00:00
isl intel/isl: Update mocs for DG1 2020-06-22 11:42:00 -07:00
perf intel/perf: fix raw query kernel metric selection 2020-08-24 18:52:23 +00:00
tools intel/dump_gpu: add an option to capture a single frame 2020-08-07 11:27:54 +00:00
vulkan anv: support fd==-1 in ImportSemaphoreFdKHR 2020-08-21 13:53:53 +00:00
Android.blorp.mk intel: android: remove libdrm_intel requirement 2017-03-30 19:07:23 +01:00
Android.common.mk android: static link with libexpat with Android O+ 2019-03-25 10:11:57 +02:00
Android.compiler.mk android: fix build issues with brw_nir_trig_workarounds.c 2017-10-04 07:39:05 +03:00
Android.dev.mk intel: add identifier for debug purposes 2020-05-20 15:58:22 +00:00
Android.genxml.mk intel/genxml: generate pack files for gen12 on android builds 2019-08-28 13:38:33 -07:00
Android.isl.mk isl: Fix the android build. 2020-02-05 21:31:40 -08:00
Android.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.perf.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.vulkan.mk anv/android: setup gralloc1 usage from gralloc0 usage manually 2020-01-28 14:46:25 +02:00
Makefile.perf.am i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Makefile.sources intel/compiler: fix Android build 2020-06-06 18:42:03 +00:00
meson.build meson: only build imgui when needed 2019-11-25 07:51:56 +00:00