This is just a refresh of the earlier patch along with cover letter for the IGT testing. The query provides the engine cs cycles counter.
v2: Use GRAPHICS_VER() instead of IG_GEN() v3: Add R-b to the patch v4: Split cpu timestamp array into timestamp and delta for cleaner API v5: Add width of the cs cycles to the uapi
Signed-off-by: Umesh Nerlige Ramappa umesh.nerlige.ramappa@intel.com Test-with: 20210504001003.69445-1-umesh.nerlige.ramappa@intel.com
Umesh Nerlige Ramappa (1): i915/query: Correlate engine and cpu timestamps with better accuracy
drivers/gpu/drm/i915/i915_query.c | 157 ++++++++++++++++++++++++++++++ include/uapi/drm/i915_drm.h | 56 +++++++++++ 2 files changed, 213 insertions(+)