summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-11-09 16:51:26 +0000
committerLionel Landwerlin <[email protected]>2017-11-28 13:34:04 +0000
commit74f41fd781b9b93be1fc0bc05b6d25ce1f2887ce (patch)
tree376427aa062944cfd7c0d6e0c204ed210d4b519e
parenta543ae4c2a75b5dfe956309b32f3ece1f0233f5b (diff)
i965: perf: add busyness metric sets on gen8/9 platforms
Signed-off-by: Lionel Landwerlin <[email protected]> Acked-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_oa_bdw.xml183
-rw-r--r--src/mesa/drivers/dri/i965/brw_oa_bxt.xml160
-rw-r--r--src/mesa/drivers/dri/i965/brw_oa_kblgt2.xml164
-rw-r--r--src/mesa/drivers/dri/i965/brw_oa_kblgt3.xml186
-rw-r--r--src/mesa/drivers/dri/i965/brw_oa_sklgt2.xml164
-rw-r--r--src/mesa/drivers/dri/i965/brw_oa_sklgt3.xml187
-rw-r--r--src/mesa/drivers/dri/i965/brw_oa_sklgt4.xml187
7 files changed, 1231 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_oa_bdw.xml b/src/mesa/drivers/dri/i965/brw_oa_bdw.xml
index fd3c28ffaef..258fcacfd59 100644
--- a/src/mesa/drivers/dri/i965/brw_oa_bdw.xml
+++ b/src/mesa/drivers/dri/i965/brw_oa_bdw.xml
@@ -14900,6 +14900,189 @@
</register_config>
</set>
+ <set name="Gpu Rings Busyness"
+ mdapi_supported_apis="OGL OCL MEDIA IO BB"
+ underscore_name="gpu_busyness"
+ hw_config_guid="0a9eb7be-feee-4275-a139-6d9cedf0fdb0"
+ chipset="BDW"
+ symbol_name="GpuBusyness"
+ >
+ <counter name="GPU Core Clocks"
+ description="The total number of GPU core clocks elapsed during the measurement."
+ data_type="uint64"
+ equation="GPU_CLOCK 0 READ"
+ underscore_name="gpu_core_clocks"
+ units="cycles"
+ symbol_name="GpuCoreClocks"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="Vebox Ring Busy"
+ description="The percentage of time when vebox command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 5 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vebox_busy"
+ units="percent"
+ symbol_name="VeboxBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="GPU Time Elapsed"
+ description="Time elapsed on the GPU during the measurement."
+ data_type="uint64"
+ equation="GPU_TIME 0 READ 1000000000 UMUL $GpuTimestampFrequency UDIV"
+ underscore_name="gpu_time"
+ units="ns"
+ symbol_name="GpuTime"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="AVG GPU Core Frequency"
+ description="Average GPU Core Frequency in the measurement."
+ data_type="uint64"
+ max_equation="$GpuMaxFrequency"
+ equation="$GpuCoreClocks 1000000000 UMUL $GpuTime UDIV"
+ underscore_name="avg_gpu_core_frequency"
+ units="hz"
+ symbol_name="AvgGpuCoreFrequency"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Render Ring Busy"
+ description="The percentage of time when render command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 7 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="render_busy"
+ units="percent"
+ symbol_name="RenderBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox0 Ring Busy"
+ description="The percentage of time when Vdbox0 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 6 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox0_busy"
+ units="percent"
+ symbol_name="Vdbox0Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Blitter Ring Busy"
+ description="The percentage of time when blitter command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 4 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="blitter_busy"
+ units="percent"
+ symbol_name="BlitterBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="AnyRingBusy"
+ description="The percentage of time when any command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="B 0 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="any_ring_busy"
+ units="percent"
+ symbol_name="AnyRingBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox1 Ring Busy"
+ description="The percentage of time when Vdbox1 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 3 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox1_busy"
+ units="percent"
+ symbol_name="Vdbox1Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <register_config type="NOA">
+ <register type="NOA" address="0x00009840" value="0x000000A0" />
+ <register type="NOA" address="0x00009888" value="0x1AF00100" />
+ <register type="NOA" address="0x00009888" value="0x118B0000" />
+ <register type="NOA" address="0x00009888" value="0x11850008" />
+ <register type="NOA" address="0x00009888" value="0x17830100" />
+ <register type="NOA" address="0x00009888" value="0x1A700100" />
+ <register type="NOA" address="0x00009888" value="0x1D940040" />
+ <register type="NOA" address="0x00009888" value="0x02F00085" />
+ <register type="NOA" address="0x00009888" value="0x10F00000" />
+ <register type="NOA" address="0x00009888" value="0x24F00000" />
+ <register type="NOA" address="0x00009888" value="0x078B0003" />
+ <register type="NOA" address="0x00009888" value="0x238B0400" />
+ <register type="NOA" address="0x00009888" value="0x258B0000" />
+ <register type="NOA" address="0x00009888" value="0x058C8000" />
+ <register type="NOA" address="0x00009888" value="0x038D2000" />
+ <register type="NOA" address="0x00009888" value="0x03850500" />
+ <register type="NOA" address="0x00009888" value="0x1F858800" />
+ <register type="NOA" address="0x00009888" value="0x2185000A" />
+ <register type="NOA" address="0x00009888" value="0x05834055" />
+ <register type="NOA" address="0x00009888" value="0x11830000" />
+ <register type="NOA" address="0x00009888" value="0x09830000" />
+ <register type="NOA" address="0x00009888" value="0x0B838000" />
+ <register type="NOA" address="0x00009888" value="0x0D834000" />
+ <register type="NOA" address="0x00009888" value="0x03844000" />
+ <register type="NOA" address="0x00009888" value="0x0584C000" />
+ <register type="NOA" address="0x00009888" value="0x07844000" />
+ <register type="NOA" address="0x00009888" value="0x1380C000" />
+ <register type="NOA" address="0x00009888" value="0x1580C000" />
+ <register type="NOA" address="0x00009888" value="0x17804000" />
+ <register type="NOA" address="0x00009888" value="0x04708500" />
+ <register type="NOA" address="0x00009888" value="0x10700000" />
+ <register type="NOA" address="0x00009888" value="0x24700000" />
+ <register type="NOA" address="0x00009888" value="0x21800000" />
+ <register type="NOA" address="0x00009888" value="0x4D801000" />
+ <register type="NOA" address="0x00009888" value="0x3F800000" />
+ <register type="NOA" address="0x00009888" value="0x4F800004" />
+ <register type="NOA" address="0x00009888" value="0x418014A0" />
+ <register type="NOA" address="0x00009888" value="0x31800000" />
+ <register type="NOA" address="0x00009840" value="0x00000080" />
+ </register_config>
+ <register_config type="OA">
+ <register type="OA" address="0x00002740" value="0x00000000" />
+ <register type="OA" address="0x00002710" value="0x00000000" />
+ <register type="OA" address="0x00002714" value="0x10800000" />
+ <register type="OA" address="0x00002720" value="0x00000000" />
+ <register type="OA" address="0x00002724" value="0x00800000" />
+ <register type="OA" address="0x00002770" value="0x0007C000" />
+ <register type="OA" address="0x00002774" value="0x000007FF" />
+ </register_config>
+ </set>
+
<set name="MDAPI testing set Gen8"
mdapi_supported_apis="OGL OCL IO BB"
underscore_name="test_oa"
diff --git a/src/mesa/drivers/dri/i965/brw_oa_bxt.xml b/src/mesa/drivers/dri/i965/brw_oa_bxt.xml
index 972ff22e212..5b18369b2cb 100644
--- a/src/mesa/drivers/dri/i965/brw_oa_bxt.xml
+++ b/src/mesa/drivers/dri/i965/brw_oa_bxt.xml
@@ -9020,6 +9020,166 @@
</register_config>
</set>
+ <set name="Gpu Rings Busyness"
+ mdapi_supported_apis="OGL OCL MEDIA IO BB"
+ underscore_name="gpu_busyness"
+ hw_config_guid="c9f5fa3a-d14f-400c-a89a-211206b00ee7"
+ chipset="BXT"
+ symbol_name="GpuBusyness"
+ >
+ <counter name="GPU Core Clocks"
+ description="The total number of GPU core clocks elapsed during the measurement."
+ data_type="uint64"
+ equation="GPU_CLOCK 0 READ"
+ underscore_name="gpu_core_clocks"
+ units="cycles"
+ symbol_name="GpuCoreClocks"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="Vebox Ring Busy"
+ description="The percentage of time when vebox command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 5 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vebox_busy"
+ units="percent"
+ symbol_name="VeboxBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="GPU Time Elapsed"
+ description="Time elapsed on the GPU during the measurement."
+ data_type="uint64"
+ equation="GPU_TIME 0 READ 1000000000 UMUL $GpuTimestampFrequency UDIV"
+ underscore_name="gpu_time"
+ units="ns"
+ symbol_name="GpuTime"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="AVG GPU Core Frequency"
+ description="Average GPU Core Frequency in the measurement."
+ data_type="uint64"
+ max_equation="$GpuMaxFrequency"
+ equation="$GpuCoreClocks 1000000000 UMUL $GpuTime UDIV"
+ underscore_name="avg_gpu_core_frequency"
+ units="hz"
+ symbol_name="AvgGpuCoreFrequency"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Render Ring Busy"
+ description="The percentage of time when render command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 7 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="render_busy"
+ units="percent"
+ symbol_name="RenderBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox0 Ring Busy"
+ description="The percentage of time when Vdbox0 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 6 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox0_busy"
+ units="percent"
+ symbol_name="Vdbox0Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Blitter Ring Busy"
+ description="The percentage of time when blitter command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 4 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="blitter_busy"
+ units="percent"
+ symbol_name="BlitterBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="AnyRingBusy"
+ description="The percentage of time when any command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="B 0 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="any_ring_busy"
+ units="percent"
+ symbol_name="AnyRingBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <register_config type="NOA">
+ <register type="NOA" address="0x00009840" value="0x00000080" />
+ <register type="NOA" address="0x00009888" value="0x13805800" />
+ <register type="NOA" address="0x00009888" value="0x05962C00" />
+ <register type="NOA" address="0x00009888" value="0x19950016" />
+ <register type="NOA" address="0x00009888" value="0x21C05800" />
+ <register type="NOA" address="0x00009888" value="0x07800035" />
+ <register type="NOA" address="0x00009888" value="0x11800000" />
+ <register type="NOA" address="0x00009888" value="0x23810008" />
+ <register type="NOA" address="0x00009888" value="0x07960025" />
+ <register type="NOA" address="0x00009888" value="0x1D960000" />
+ <register type="NOA" address="0x00009888" value="0x0F960000" />
+ <register type="NOA" address="0x00009888" value="0x0B934000" />
+ <register type="NOA" address="0x00009888" value="0x09948000" />
+ <register type="NOA" address="0x00009888" value="0x05950085" />
+ <register type="NOA" address="0x00009888" value="0x11950000" />
+ <register type="NOA" address="0x00009888" value="0x1D950400" />
+ <register type="NOA" address="0x00009888" value="0x0B924000" />
+ <register type="NOA" address="0x00009888" value="0x0D922000" />
+ <register type="NOA" address="0x00009888" value="0x0F922000" />
+ <register type="NOA" address="0x00009888" value="0x19908000" />
+ <register type="NOA" address="0x00009888" value="0x1B908000" />
+ <register type="NOA" address="0x00009888" value="0x1D904000" />
+ <register type="NOA" address="0x00009888" value="0x1F908000" />
+ <register type="NOA" address="0x00009888" value="0x0BC000A5" />
+ <register type="NOA" address="0x00009888" value="0x37900000" />
+ <register type="NOA" address="0x00009888" value="0x53900000" />
+ <register type="NOA" address="0x00009888" value="0x45900442" />
+ <register type="NOA" address="0x00009888" value="0x55900000" />
+ <register type="NOA" address="0x00009888" value="0x47900000" />
+ <register type="NOA" address="0x00009888" value="0x33900000" />
+ </register_config>
+ <register_config type="OA">
+ <register type="OA" address="0x00002740" value="0x00000000" />
+ <register type="OA" address="0x00002710" value="0x00000000" />
+ <register type="OA" address="0x00002714" value="0x10800000" />
+ <register type="OA" address="0x00002720" value="0x00000000" />
+ <register type="OA" address="0x00002724" value="0x00800000" />
+ <register type="OA" address="0x00002770" value="0x00078000" />
+ <register type="OA" address="0x00002774" value="0x00000FFF" />
+ </register_config>
+ </set>
+
<set name="MDAPI testing set Gen9"
mdapi_supported_apis="OGL OCL IO BB"
underscore_name="test_oa"
diff --git a/src/mesa/drivers/dri/i965/brw_oa_kblgt2.xml b/src/mesa/drivers/dri/i965/brw_oa_kblgt2.xml
index 94d6cf61d13..da2954e9e2d 100644
--- a/src/mesa/drivers/dri/i965/brw_oa_kblgt2.xml
+++ b/src/mesa/drivers/dri/i965/brw_oa_kblgt2.xml
@@ -10265,6 +10265,170 @@
</register_config>
</set>
+ <set name="Gpu Rings Busyness"
+ mdapi_supported_apis="OGL OCL MEDIA IO BB"
+ underscore_name="gpu_busyness"
+ hw_config_guid="6c66fe6e-2988-454a-bfae-7fca3bbcbec2"
+ chipset="KBLGT2"
+ symbol_name="GpuBusyness"
+ >
+ <counter name="GPU Core Clocks"
+ description="The total number of GPU core clocks elapsed during the measurement."
+ data_type="uint64"
+ equation="GPU_CLOCK 0 READ"
+ underscore_name="gpu_core_clocks"
+ units="cycles"
+ symbol_name="GpuCoreClocks"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="Vebox Ring Busy"
+ description="The percentage of time when vebox command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 5 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vebox_busy"
+ units="percent"
+ symbol_name="VeboxBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="GPU Time Elapsed"
+ description="Time elapsed on the GPU during the measurement."
+ data_type="uint64"
+ equation="GPU_TIME 0 READ 1000000000 UMUL $GpuTimestampFrequency UDIV"
+ underscore_name="gpu_time"
+ units="ns"
+ symbol_name="GpuTime"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="AVG GPU Core Frequency"
+ description="Average GPU Core Frequency in the measurement."
+ data_type="uint64"
+ max_equation="$GpuMaxFrequency"
+ equation="$GpuCoreClocks 1000000000 UMUL $GpuTime UDIV"
+ underscore_name="avg_gpu_core_frequency"
+ units="hz"
+ symbol_name="AvgGpuCoreFrequency"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Render Ring Busy"
+ description="The percentage of time when render command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 7 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="render_busy"
+ units="percent"
+ symbol_name="RenderBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox0 Ring Busy"
+ description="The percentage of time when Vdbox0 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 6 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox0_busy"
+ units="percent"
+ symbol_name="Vdbox0Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Blitter Ring Busy"
+ description="The percentage of time when blitter command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 4 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="blitter_busy"
+ units="percent"
+ symbol_name="BlitterBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="AnyRingBusy"
+ description="The percentage of time when any command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="B 0 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="any_ring_busy"
+ units="percent"
+ symbol_name="AnyRingBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <register_config type="NOA">
+ <register type="NOA" address="0x00009840" value="0x00000080" />
+ <register type="NOA" address="0x00009888" value="0x13805800" />
+ <register type="NOA" address="0x00009888" value="0x05962C00" />
+ <register type="NOA" address="0x00009888" value="0x19950016" />
+ <register type="NOA" address="0x00009888" value="0x19C05800" />
+ <register type="NOA" address="0x00009888" value="0x07800035" />
+ <register type="NOA" address="0x00009888" value="0x11800000" />
+ <register type="NOA" address="0x00009888" value="0x1D810400" />
+ <register type="NOA" address="0x00009888" value="0x07960025" />
+ <register type="NOA" address="0x00009888" value="0x21960000" />
+ <register type="NOA" address="0x00009888" value="0x0B964000" />
+ <register type="NOA" address="0x00009888" value="0x1B930062" />
+ <register type="NOA" address="0x00009888" value="0x17948000" />
+ <register type="NOA" address="0x00009888" value="0x1B940008" />
+ <register type="NOA" address="0x00009888" value="0x05950075" />
+ <register type="NOA" address="0x00009888" value="0x1D950000" />
+ <register type="NOA" address="0x00009888" value="0x07E54000" />
+ <register type="NOA" address="0x00009888" value="0x09924000" />
+ <register type="NOA" address="0x00009888" value="0x05982000" />
+ <register type="NOA" address="0x00009888" value="0x19908000" />
+ <register type="NOA" address="0x00009888" value="0x1B904000" />
+ <register type="NOA" address="0x00009888" value="0x1D908000" />
+ <register type="NOA" address="0x00009888" value="0x1F908000" />
+ <register type="NOA" address="0x00009888" value="0x09978000" />
+ <register type="NOA" address="0x00009888" value="0x05C08500" />
+ <register type="NOA" address="0x00009888" value="0x25C00000" />
+ <register type="NOA" address="0x00009888" value="0x1BC00000" />
+ <register type="NOA" address="0x00009888" value="0x0BC54000" />
+ <register type="NOA" address="0x00009888" value="0x11900000" />
+ <register type="NOA" address="0x00009888" value="0x37900000" />
+ <register type="NOA" address="0x00009888" value="0x53900000" />
+ <register type="NOA" address="0x00009888" value="0x43900C60" />
+ <register type="NOA" address="0x00009888" value="0x45900040" />
+ <register type="NOA" address="0x00009888" value="0x33900000" />
+ </register_config>
+ <register_config type="OA">
+ <register type="OA" address="0x00002740" value="0x00000000" />
+ <register type="OA" address="0x00002710" value="0x00000000" />
+ <register type="OA" address="0x00002714" value="0x10800000" />
+ <register type="OA" address="0x00002720" value="0x00000000" />
+ <register type="OA" address="0x00002724" value="0x00800000" />
+ <register type="OA" address="0x00002770" value="0x00078000" />
+ <register type="OA" address="0x00002774" value="0x00000FFF" />
+ </register_config>
+ </set>
+
<set name="MDAPI testing set Gen9.5"
mdapi_supported_apis="OGL OCL IO BB"
underscore_name="test_oa"
diff --git a/src/mesa/drivers/dri/i965/brw_oa_kblgt3.xml b/src/mesa/drivers/dri/i965/brw_oa_kblgt3.xml
index a30d51b34c2..aa1e83e3da1 100644
--- a/src/mesa/drivers/dri/i965/brw_oa_kblgt3.xml
+++ b/src/mesa/drivers/dri/i965/brw_oa_kblgt3.xml
@@ -10310,6 +10310,192 @@
</register_config>
</set>
+ <set name="Gpu Rings Busyness"
+ mdapi_supported_apis="OGL OCL MEDIA IO BB"
+ underscore_name="gpu_busyness"
+ hw_config_guid="b55ecba1-2aa9-422e-89ff-b9e30f03d447"
+ chipset="KBLGT3"
+ symbol_name="GpuBusyness"
+ >
+ <counter name="GPU Core Clocks"
+ description="The total number of GPU core clocks elapsed during the measurement."
+ data_type="uint64"
+ equation="GPU_CLOCK 0 READ"
+ underscore_name="gpu_core_clocks"
+ units="cycles"
+ symbol_name="GpuCoreClocks"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="Vebox Ring Busy"
+ description="The percentage of time when vebox command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 4 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vebox_busy"
+ units="percent"
+ symbol_name="VeboxBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="GPU Time Elapsed"
+ description="Time elapsed on the GPU during the measurement."
+ data_type="uint64"
+ equation="GPU_TIME 0 READ 1000000000 UMUL $GpuTimestampFrequency UDIV"
+ underscore_name="gpu_time"
+ units="ns"
+ symbol_name="GpuTime"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="AVG GPU Core Frequency"
+ description="Average GPU Core Frequency in the measurement."
+ data_type="uint64"
+ max_equation="$GpuMaxFrequency"
+ equation="$GpuCoreClocks 1000000000 UMUL $GpuTime UDIV"
+ underscore_name="avg_gpu_core_frequency"
+ units="hz"
+ symbol_name="AvgGpuCoreFrequency"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Render Ring Busy"
+ description="The percentage of time when render command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 7 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="render_busy"
+ units="percent"
+ symbol_name="RenderBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox0 Ring Busy"
+ description="The percentage of time when Vdbox0 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 6 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox0_busy"
+ units="percent"
+ symbol_name="Vdbox0Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Blitter Ring Busy"
+ description="The percentage of time when blitter command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 3 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="blitter_busy"
+ units="percent"
+ symbol_name="BlitterBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="AnyRingBusy"
+ description="The percentage of time when any command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="B 0 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="any_ring_busy"
+ units="percent"
+ symbol_name="AnyRingBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox1 Ring Busy"
+ description="The percentage of time when Vdbox1 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 5 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox1_busy"
+ units="percent"
+ symbol_name="Vdbox1Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <register_config type="NOA">
+ <register type="NOA" address="0x00009840" value="0x00000080" />
+ <register type="NOA" address="0x00009888" value="0x19D05800" />
+ <register type="NOA" address="0x00009888" value="0x13805800" />
+ <register type="NOA" address="0x00009888" value="0x05962C25" />
+ <register type="NOA" address="0x00009888" value="0x19950016" />
+ <register type="NOA" address="0x00009888" value="0x19C05800" />
+ <register type="NOA" address="0x00009888" value="0x05D00085" />
+ <register type="NOA" address="0x00009888" value="0x25D00000" />
+ <register type="NOA" address="0x00009888" value="0x09D54000" />
+ <register type="NOA" address="0x00009888" value="0x07800035" />
+ <register type="NOA" address="0x00009888" value="0x11800000" />
+ <register type="NOA" address="0x00009888" value="0x1D810400" />
+ <register type="NOA" address="0x00009888" value="0x21960000" />
+ <register type="NOA" address="0x00009888" value="0x0996C000" />
+ <register type="NOA" address="0x00009888" value="0x0B964000" />
+ <register type="NOA" address="0x00009888" value="0x19938000" />
+ <register type="NOA" address="0x00009888" value="0x1B930068" />
+ <register type="NOA" address="0x00009888" value="0x15948000" />
+ <register type="NOA" address="0x00009888" value="0x1B94000C" />
+ <register type="NOA" address="0x00009888" value="0x03957500" />
+ <register type="NOA" address="0x00009888" value="0x1D950000" />
+ <register type="NOA" address="0x00009888" value="0x17950000" />
+ <register type="NOA" address="0x00009888" value="0x07E54000" />
+ <register type="NOA" address="0x00009888" value="0x07928000" />
+ <register type="NOA" address="0x00009888" value="0x03988000" />
+ <register type="NOA" address="0x00009888" value="0x17908000" />
+ <register type="NOA" address="0x00009888" value="0x19904000" />
+ <register type="NOA" address="0x00009888" value="0x1B908000" />
+ <register type="NOA" address="0x00009888" value="0x1D908000" />
+ <register type="NOA" address="0x00009888" value="0x1F908000" />
+ <register type="NOA" address="0x00009888" value="0x09978000" />
+ <register type="NOA" address="0x00009888" value="0x05C08500" />
+ <register type="NOA" address="0x00009888" value="0x25C00000" />
+ <register type="NOA" address="0x00009888" value="0x1BC00000" />
+ <register type="NOA" address="0x00009888" value="0x0BC54000" />
+ <register type="NOA" address="0x00009888" value="0x11900000" />
+ <register type="NOA" address="0x00009888" value="0x37900000" />
+ <register type="NOA" address="0x00009888" value="0x51900000" />
+ <register type="NOA" address="0x00009888" value="0x43900463" />
+ <register type="NOA" address="0x00009888" value="0x53900000" />
+ <register type="NOA" address="0x00009888" value="0x45900040" />
+ <register type="NOA" address="0x00009888" value="0x33900000" />
+ </register_config>
+ <register_config type="OA">
+ <register type="OA" address="0x00002740" value="0x00000000" />
+ <register type="OA" address="0x00002710" value="0x00000000" />
+ <register type="OA" address="0x00002714" value="0x10800000" />
+ <register type="OA" address="0x00002720" value="0x00000000" />
+ <register type="OA" address="0x00002724" value="0x00800000" />
+ <register type="OA" address="0x00002770" value="0x0007C000" />
+ <register type="OA" address="0x00002774" value="0x000007FF" />
+ </register_config>
+ </set>
+
<set name="MDAPI testing set Gen9"
mdapi_supported_apis="OGL OCL IO BB"
underscore_name="test_oa"
diff --git a/src/mesa/drivers/dri/i965/brw_oa_sklgt2.xml b/src/mesa/drivers/dri/i965/brw_oa_sklgt2.xml
index 0e2b35bc97c..343de0c5ea9 100644
--- a/src/mesa/drivers/dri/i965/brw_oa_sklgt2.xml
+++ b/src/mesa/drivers/dri/i965/brw_oa_sklgt2.xml
@@ -10766,6 +10766,170 @@
</register_config>
</set>
+ <set name="Gpu Rings Busyness"
+ mdapi_supported_apis="OGL OCL MEDIA IO BB"
+ underscore_name="gpu_busyness"
+ hw_config_guid="c44a5cf7-886d-477b-bebd-2d738923e4c3"
+ chipset="SKLGT2"
+ symbol_name="GpuBusyness"
+ >
+ <counter name="GPU Core Clocks"
+ description="The total number of GPU core clocks elapsed during the measurement."
+ data_type="uint64"
+ equation="GPU_CLOCK 0 READ"
+ underscore_name="gpu_core_clocks"
+ units="cycles"
+ symbol_name="GpuCoreClocks"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="Vebox Ring Busy"
+ description="The percentage of time when vebox command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 5 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vebox_busy"
+ units="percent"
+ symbol_name="VeboxBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="GPU Time Elapsed"
+ description="Time elapsed on the GPU during the measurement."
+ data_type="uint64"
+ equation="GPU_TIME 0 READ 1000000000 UMUL $GpuTimestampFrequency UDIV"
+ underscore_name="gpu_time"
+ units="ns"
+ symbol_name="GpuTime"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="AVG GPU Core Frequency"
+ description="Average GPU Core Frequency in the measurement."
+ data_type="uint64"
+ max_equation="$GpuMaxFrequency"
+ equation="$GpuCoreClocks 1000000000 UMUL $GpuTime UDIV"
+ underscore_name="avg_gpu_core_frequency"
+ units="hz"
+ symbol_name="AvgGpuCoreFrequency"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Render Ring Busy"
+ description="The percentage of time when render command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 7 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="render_busy"
+ units="percent"
+ symbol_name="RenderBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox0 Ring Busy"
+ description="The percentage of time when Vdbox0 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 6 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox0_busy"
+ units="percent"
+ symbol_name="Vdbox0Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Blitter Ring Busy"
+ description="The percentage of time when blitter command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 4 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="blitter_busy"
+ units="percent"
+ symbol_name="BlitterBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="AnyRingBusy"
+ description="The percentage of time when any command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="B 0 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="any_ring_busy"
+ units="percent"
+ symbol_name="AnyRingBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <register_config type="NOA">
+ <register type="NOA" address="0x00009840" value="0x00000080" />
+ <register type="NOA" address="0x00009888" value="0x13805800" />
+ <register type="NOA" address="0x00009888" value="0x05962C00" />
+ <register type="NOA" address="0x00009888" value="0x19950016" />
+ <register type="NOA" address="0x00009888" value="0x21C05800" />
+ <register type="NOA" address="0x00009888" value="0x07800035" />
+ <register type="NOA" address="0x00009888" value="0x11800000" />
+ <register type="NOA" address="0x00009888" value="0x1D810400" />
+ <register type="NOA" address="0x00009888" value="0x07960025" />
+ <register type="NOA" address="0x00009888" value="0x21960000" />
+ <register type="NOA" address="0x00009888" value="0x0B964000" />
+ <register type="NOA" address="0x00009888" value="0x1B930062" />
+ <register type="NOA" address="0x00009888" value="0x17948000" />
+ <register type="NOA" address="0x00009888" value="0x1B940008" />
+ <register type="NOA" address="0x00009888" value="0x05950075" />
+ <register type="NOA" address="0x00009888" value="0x1D950000" />
+ <register type="NOA" address="0x00009888" value="0x07E54000" />
+ <register type="NOA" address="0x00009888" value="0x09924000" />
+ <register type="NOA" address="0x00009888" value="0x05982000" />
+ <register type="NOA" address="0x00009888" value="0x19908000" />
+ <register type="NOA" address="0x00009888" value="0x1B904000" />
+ <register type="NOA" address="0x00009888" value="0x1D908000" />
+ <register type="NOA" address="0x00009888" value="0x1F908000" />
+ <register type="NOA" address="0x00009888" value="0x09978000" />
+ <register type="NOA" address="0x00009888" value="0x0BC000A5" />
+ <register type="NOA" address="0x00009888" value="0x11C00000" />
+ <register type="NOA" address="0x00009888" value="0x05C00000" />
+ <register type="NOA" address="0x00009888" value="0x0BC54000" />
+ <register type="NOA" address="0x00009888" value="0x11900000" />
+ <register type="NOA" address="0x00009888" value="0x37900000" />
+ <register type="NOA" address="0x00009888" value="0x53900000" />
+ <register type="NOA" address="0x00009888" value="0x43900C60" />
+ <register type="NOA" address="0x00009888" value="0x45900040" />
+ <register type="NOA" address="0x00009888" value="0x33900000" />
+ </register_config>
+ <register_config type="OA">
+ <register type="OA" address="0x00002740" value="0x00000000" />
+ <register type="OA" address="0x00002710" value="0x00000000" />
+ <register type="OA" address="0x00002714" value="0x10800000" />
+ <register type="OA" address="0x00002720" value="0x00000000" />
+ <register type="OA" address="0x00002724" value="0x00800000" />
+ <register type="OA" address="0x00002770" value="0x00078000" />
+ <register type="OA" address="0x00002774" value="0x00000FFF" />
+ </register_config>
+ </set>
+
<set name="MDAPI testing set Gen9"
mdapi_supported_apis="OGL OCL IO BB"
underscore_name="test_oa"
diff --git a/src/mesa/drivers/dri/i965/brw_oa_sklgt3.xml b/src/mesa/drivers/dri/i965/brw_oa_sklgt3.xml
index 68b6f5ac03f..00b016f0c64 100644
--- a/src/mesa/drivers/dri/i965/brw_oa_sklgt3.xml
+++ b/src/mesa/drivers/dri/i965/brw_oa_sklgt3.xml
@@ -10309,6 +10309,193 @@
</register_config>
</set>
+ <set name="Gpu Rings Busyness"
+ mdapi_supported_apis="OGL OCL MEDIA IO BB"
+ underscore_name="gpu_busyness"
+ hw_config_guid="0c5058ff-fdf4-4e0d-81fb-c0310fb76525"
+ chipset="SKLGT3"
+ symbol_name="GpuBusyness"
+ >
+ <counter name="GPU Core Clocks"
+ description="The total number of GPU core clocks elapsed during the measurement."
+ data_type="uint64"
+ equation="GPU_CLOCK 0 READ"
+ underscore_name="gpu_core_clocks"
+ units="cycles"
+ symbol_name="GpuCoreClocks"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="Vebox Ring Busy"
+ description="The percentage of time when vebox command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 4 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vebox_busy"
+ units="percent"
+ symbol_name="VeboxBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="GPU Time Elapsed"
+ description="Time elapsed on the GPU during the measurement."
+ data_type="uint64"
+ equation="GPU_TIME 0 READ 1000000000 UMUL $GpuTimestampFrequency UDIV"
+ underscore_name="gpu_time"
+ units="ns"
+ symbol_name="GpuTime"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="AVG GPU Core Frequency"
+ description="Average GPU Core Frequency in the measurement."
+ data_type="uint64"
+ max_equation="$GpuMaxFrequency"
+ equation="$GpuCoreClocks 1000000000 UMUL $GpuTime UDIV"
+ underscore_name="avg_gpu_core_frequency"
+ units="hz"
+ symbol_name="AvgGpuCoreFrequency"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Render Ring Busy"
+ description="The percentage of time when render command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 7 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="render_busy"
+ units="percent"
+ symbol_name="RenderBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox0 Ring Busy"
+ description="The percentage of time when Vdbox0 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 6 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox0_busy"
+ units="percent"
+ symbol_name="Vdbox0Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Blitter Ring Busy"
+ description="The percentage of time when blitter command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 3 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="blitter_busy"
+ units="percent"
+ symbol_name="BlitterBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="AnyRingBusy"
+ description="The percentage of time when any command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="B 0 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="any_ring_busy"
+ units="percent"
+ symbol_name="AnyRingBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox1 Ring Busy"
+ description="The percentage of time when Vdbox1 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 5 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox1_busy"
+ units="percent"
+ symbol_name="Vdbox1Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <register_config type="NOA">
+ <register type="NOA" address="0x00009840" value="0x00000080" />
+ <register type="NOA" address="0x00009888" value="0x21D05800" />
+ <register type="NOA" address="0x00009888" value="0x13805800" />
+ <register type="NOA" address="0x00009888" value="0x05962C25" />
+ <register type="NOA" address="0x00009888" value="0x19950016" />
+ <register type="NOA" address="0x00009888" value="0x21C05800" />
+ <register type="NOA" address="0x00009888" value="0x09D000A5" />
+ <register type="NOA" address="0x00009888" value="0x11D00000" />
+ <register type="NOA" address="0x00009888" value="0x05D00000" />
+ <register type="NOA" address="0x00009888" value="0x09D54000" />
+ <register type="NOA" address="0x00009888" value="0x07800035" />
+ <register type="NOA" address="0x00009888" value="0x11800000" />
+ <register type="NOA" address="0x00009888" value="0x1D810400" />
+ <register type="NOA" address="0x00009888" value="0x21960000" />
+ <register type="NOA" address="0x00009888" value="0x0996C000" />
+ <register type="NOA" address="0x00009888" value="0x0B964000" />
+ <register type="NOA" address="0x00009888" value="0x19938000" />
+ <register type="NOA" address="0x00009888" value="0x1B930068" />
+ <register type="NOA" address="0x00009888" value="0x15948000" />
+ <register type="NOA" address="0x00009888" value="0x1B94000C" />
+ <register type="NOA" address="0x00009888" value="0x03957500" />
+ <register type="NOA" address="0x00009888" value="0x1D950000" />
+ <register type="NOA" address="0x00009888" value="0x17950000" />
+ <register type="NOA" address="0x00009888" value="0x07E54000" />
+ <register type="NOA" address="0x00009888" value="0x07928000" />
+ <register type="NOA" address="0x00009888" value="0x03988000" />
+ <register type="NOA" address="0x00009888" value="0x17908000" />
+ <register type="NOA" address="0x00009888" value="0x19904000" />
+ <register type="NOA" address="0x00009888" value="0x1B908000" />
+ <register type="NOA" address="0x00009888" value="0x1D908000" />
+ <register type="NOA" address="0x00009888" value="0x1F908000" />
+ <register type="NOA" address="0x00009888" value="0x09978000" />
+ <register type="NOA" address="0x00009888" value="0x0BC000A5" />
+ <register type="NOA" address="0x00009888" value="0x11C00000" />
+ <register type="NOA" address="0x00009888" value="0x05C00000" />
+ <register type="NOA" address="0x00009888" value="0x0BC54000" />
+ <register type="NOA" address="0x00009888" value="0x11900000" />
+ <register type="NOA" address="0x00009888" value="0x37900000" />
+ <register type="NOA" address="0x00009888" value="0x51900000" />
+ <register type="NOA" address="0x00009888" value="0x43900463" />
+ <register type="NOA" address="0x00009888" value="0x53900000" />
+ <register type="NOA" address="0x00009888" value="0x45900040" />
+ <register type="NOA" address="0x00009888" value="0x33900000" />
+ </register_config>
+ <register_config type="OA">
+ <register type="OA" address="0x00002740" value="0x00000000" />
+ <register type="OA" address="0x00002710" value="0x00000000" />
+ <register type="OA" address="0x00002714" value="0x10800000" />
+ <register type="OA" address="0x00002720" value="0x00000000" />
+ <register type="OA" address="0x00002724" value="0x00800000" />
+ <register type="OA" address="0x00002770" value="0x0007C000" />
+ <register type="OA" address="0x00002774" value="0x000007FF" />
+ </register_config>
+ </set>
+
<set name="MDAPI testing set Gen9"
mdapi_supported_apis="OGL OCL IO BB"
underscore_name="test_oa"
diff --git a/src/mesa/drivers/dri/i965/brw_oa_sklgt4.xml b/src/mesa/drivers/dri/i965/brw_oa_sklgt4.xml
index 30a30065ed9..d52fc335c9b 100644
--- a/src/mesa/drivers/dri/i965/brw_oa_sklgt4.xml
+++ b/src/mesa/drivers/dri/i965/brw_oa_sklgt4.xml
@@ -10332,6 +10332,193 @@
</register_config>
</set>
+ <set name="Gpu Rings Busyness"
+ mdapi_supported_apis="OGL OCL MEDIA IO BB"
+ underscore_name="gpu_busyness"
+ hw_config_guid="4e5b1599-5b01-4b3d-89fa-6b26a25fe02b"
+ chipset="SKLGT4"
+ symbol_name="GpuBusyness"
+ >
+ <counter name="GPU Core Clocks"
+ description="The total number of GPU core clocks elapsed during the measurement."
+ data_type="uint64"
+ equation="GPU_CLOCK 0 READ"
+ underscore_name="gpu_core_clocks"
+ units="cycles"
+ symbol_name="GpuCoreClocks"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="Vebox Ring Busy"
+ description="The percentage of time when vebox command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 4 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vebox_busy"
+ units="percent"
+ symbol_name="VeboxBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="GPU Time Elapsed"
+ description="Time elapsed on the GPU during the measurement."
+ data_type="uint64"
+ equation="GPU_TIME 0 READ 1000000000 UMUL $GpuTimestampFrequency UDIV"
+ underscore_name="gpu_time"
+ units="ns"
+ symbol_name="GpuTime"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_hw_unit_type="gpu"
+ mdapi_group="GPU"
+ />
+ <counter name="AVG GPU Core Frequency"
+ description="Average GPU Core Frequency in the measurement."
+ data_type="uint64"
+ max_equation="$GpuMaxFrequency"
+ equation="$GpuCoreClocks 1000000000 UMUL $GpuTime UDIV"
+ underscore_name="avg_gpu_core_frequency"
+ units="hz"
+ symbol_name="AvgGpuCoreFrequency"
+ semantic_type="event"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Tier1 Overview System Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Render Ring Busy"
+ description="The percentage of time when render command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 7 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="render_busy"
+ units="percent"
+ symbol_name="RenderBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox0 Ring Busy"
+ description="The percentage of time when Vdbox0 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 6 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox0_busy"
+ units="percent"
+ symbol_name="Vdbox0Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Blitter Ring Busy"
+ description="The percentage of time when blitter command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 3 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="blitter_busy"
+ units="percent"
+ symbol_name="BlitterBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="AnyRingBusy"
+ description="The percentage of time when any command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="B 0 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="any_ring_busy"
+ units="percent"
+ symbol_name="AnyRingBusy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="Frame Batch Draw"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <counter name="Vdbox1 Ring Busy"
+ description="The percentage of time when Vdbox1 command streamer was busy."
+ data_type="float"
+ max_equation="100"
+ equation="C 5 READ 100 UMUL $GpuCoreClocks FDIV"
+ underscore_name="vdbox1_busy"
+ units="percent"
+ symbol_name="Vdbox1Busy"
+ semantic_type="duration"
+ mdapi_supported_apis=""
+ mdapi_usage_flags="System Frame Batch"
+ mdapi_group="GPU"
+ mdapi_hw_unit_type="gpu"
+ />
+ <register_config type="NOA">
+ <register type="NOA" address="0x00009840" value="0x00000080" />
+ <register type="NOA" address="0x00009888" value="0x21D05800" />
+ <register type="NOA" address="0x00009888" value="0x13805800" />
+ <register type="NOA" address="0x00009888" value="0x05962C25" />
+ <register type="NOA" address="0x00009888" value="0x19950016" />
+ <register type="NOA" address="0x00009888" value="0x21C05800" />
+ <register type="NOA" address="0x00009888" value="0x09D000A5" />
+ <register type="NOA" address="0x00009888" value="0x11D00000" />
+ <register type="NOA" address="0x00009888" value="0x05D00000" />
+ <register type="NOA" address="0x00009888" value="0x09D54000" />
+ <register type="NOA" address="0x00009888" value="0x07800035" />
+ <register type="NOA" address="0x00009888" value="0x11800000" />
+ <register type="NOA" address="0x00009888" value="0x1D810400" />
+ <register type="NOA" address="0x00009888" value="0x21960000" />
+ <register type="NOA" address="0x00009888" value="0x0996C000" />
+ <register type="NOA" address="0x00009888" value="0x0B964000" />
+ <register type="NOA" address="0x00009888" value="0x19938000" />
+ <register type="NOA" address="0x00009888" value="0x1B930068" />
+ <register type="NOA" address="0x00009888" value="0x15948000" />
+ <register type="NOA" address="0x00009888" value="0x1B94000C" />
+ <register type="NOA" address="0x00009888" value="0x03957500" />
+ <register type="NOA" address="0x00009888" value="0x1D950000" />
+ <register type="NOA" address="0x00009888" value="0x17950000" />
+ <register type="NOA" address="0x00009888" value="0x07E54000" />
+ <register type="NOA" address="0x00009888" value="0x07928000" />
+ <register type="NOA" address="0x00009888" value="0x03988000" />
+ <register type="NOA" address="0x00009888" value="0x17908000" />
+ <register type="NOA" address="0x00009888" value="0x19904000" />
+ <register type="NOA" address="0x00009888" value="0x1B908000" />
+ <register type="NOA" address="0x00009888" value="0x1D908000" />
+ <register type="NOA" address="0x00009888" value="0x1F908000" />
+ <register type="NOA" address="0x00009888" value="0x09978000" />
+ <register type="NOA" address="0x00009888" value="0x0BC000A5" />
+ <register type="NOA" address="0x00009888" value="0x11C00000" />
+ <register type="NOA" address="0x00009888" value="0x05C00000" />
+ <register type="NOA" address="0x00009888" value="0x0BC54000" />
+ <register type="NOA" address="0x00009888" value="0x11900000" />
+ <register type="NOA" address="0x00009888" value="0x37900000" />
+ <register type="NOA" address="0x00009888" value="0x51900000" />
+ <register type="NOA" address="0x00009888" value="0x43900463" />
+ <register type="NOA" address="0x00009888" value="0x53900000" />
+ <register type="NOA" address="0x00009888" value="0x45900040" />
+ <register type="NOA" address="0x00009888" value="0x33900000" />
+ </register_config>
+ <register_config type="OA">
+ <register type="OA" address="0x00002740" value="0x00000000" />
+ <register type="OA" address="0x00002710" value="0x00000000" />
+ <register type="OA" address="0x00002714" value="0x10800000" />
+ <register type="OA" address="0x00002720" value="0x00000000" />
+ <register type="OA" address="0x00002724" value="0x00800000" />
+ <register type="OA" address="0x00002770" value="0x0007C000" />
+ <register type="OA" address="0x00002774" value="0x000007FF" />
+ </register_config>
+ </set>
+
<set name="MDAPI testing set Gen9"
mdapi_supported_apis="OGL OCL IO BB"
underscore_name="test_oa"