There's not a useful way to implement this, so just silence the warning
to cleanup shader-db runs.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14132>
break;
}
+ case DRM_I915_QUERY_PERF_CONFIG:
+ /* This is known but not supported by the shim. Handling this here
+ * suppresses some spurious warning messages in shader-db runs.
+ */
+ item->length = -EINVAL;
+ break;
+
default:
fprintf(stderr, "Unknown drm_i915_query_item id=%lli\n", item->query_id);
item->length = -EINVAL;