intel/perf: fix querying of configurations
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 20 Nov 2023 09:43:24 +0000 (11:43 +0200)
committerEric Engestrom <eric@engestrom.ch>
Wed, 22 Nov 2023 08:42:40 +0000 (08:42 +0000)
commit4e9ef47839f366b6d732af440ef4bddb1ea5182e
tree3ffdbd2744d1d900f5b9eb28071d9eaa6d33598b
parent16361af817e79e24147523e1481a36ccc8f8954a
intel/perf: fix querying of configurations

Using the unsized data field is incorrect. The data is located behind
the entire drm_i915_query_perf_config structure.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26285>
(cherry picked from commit f9bab3566bcfbf4d33bcbb9fb8d5e8d416cb5674)
.pick_status.json
src/intel/perf/intel_perf.c