diff options
| author | Matt Atwood <[email protected]> | 2022-04-14 12:22:30 -0700 |
|---|---|---|
| committer | Matt Roper <[email protected]> | 2022-04-15 08:00:55 -0700 |
| commit | c94fde8f516610b0961b65a59bc8885e6df23cb9 (patch) | |
| tree | d2b2aca8990fcba28606391069b283e351d8c592 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1c671ad753dbbf5f5da7b18175d05acc3cccf1a8 (diff) | |
drm/i915/uapi: Add DRM_I915_QUERY_GEOMETRY_SUBSLICES
Newer platforms have DSS that aren't necessarily available for both
geometry and compute, two queries will need to exist. This introduces
the first, when passing a valid engine class and engine instance in the
flags returns a topology describing geometry.
Based on past discussion, we currently only support this new query item
on Xe_HP and beyond; earlier platforms do not need to worry about
geometry and compute pipelines having access to different topology and
should continue to use the existing topology query.
v2: fix white space errors
v3: change flags from hosting 2 8 bit numbers to holding a
i915_engine_class_instance struct
v4: add error if non rcs engine passed.
v5 (by MattR):
- Improve kerneldoc and cross references to related structs/enums.
(Daniel)
- Clarify that geometry query is only supported on render engines
(Francisco)
- Clarify that the new query is only supported on Xe_HP+.
- Fix checkpatch warnings.
Cc: Ashutosh Dixit <[email protected]>
Cc: Matt Roper <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Francisco Jerez <[email protected]>
UMD (mesa): https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14143
Testcase: igt@i915_query@test-query-geometry-subslices
Signed-off-by: Matt Atwood <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions