diff --git a/src/intel/perf/gen_perf.py b/src/intel/perf/gen_perf.py index 425cdc0621e..febdda21b52 100644 --- a/src/intel/perf/gen_perf.py +++ b/src/intel/perf/gen_perf.py @@ -217,6 +217,7 @@ exp_ops = {} # (n operands, splicer) exp_ops["AND"] = (2, splice_bitwise_and) exp_ops["OR"] = (2, splice_bitwise_or) +exp_ops["UGT"] = (2, splice_ugt) exp_ops["UGTE"] = (2, splice_ugte) exp_ops["ULT"] = (2, splice_ult) exp_ops["&&"] = (2, splice_logical_and) @@ -253,6 +254,9 @@ hw_vars["$L3BankTotalCount"] = "perf->sys_vars.n_l3_banks" hw_vars["$L3BankMaxCount"] = "perf->sys_vars.n_l3_banks" hw_vars["$L3NodeTotalCount"] = "perf->sys_vars.n_l3_nodes" hw_vars["$SqidiTotalCount"] = "perf->sys_vars.n_sq_idis" +hw_vars["$DepthPipeTotalCount"] = "perf->sys_vars.n_depth_pipes" +hw_vars["$GeometryPipeTotalCount"] = "perf->sys_vars.n_geom_pipes" +hw_vars["$ColorPipeTotalCount"] = "perf->sys_vars.n_color_pipes" def resolve_variable(name, set, allow_counters): if name in hw_vars: diff --git a/src/intel/perf/intel_perf.c b/src/intel/perf/intel_perf.c index acfb35d4240..cb566ff3aec 100644 --- a/src/intel/perf/intel_perf.c +++ b/src/intel/perf/intel_perf.c @@ -325,6 +325,9 @@ compute_topology_builtins(struct intel_perf_config *perf) perf->sys_vars.n_l3_banks = devinfo->l3_banks; perf->sys_vars.n_l3_nodes = devinfo->l3_banks / 4; perf->sys_vars.n_sq_idis = devinfo->num_slices; + perf->sys_vars.n_depth_pipes = devinfo->num_depth_pipes; + perf->sys_vars.n_geom_pipes = devinfo->num_geom_pipes; + perf->sys_vars.n_color_pipes = devinfo->num_color_pipes; perf->sys_vars.n_eu_slice0123 = 0; for (int s = 0; s < MIN2(4, devinfo->max_slices); s++) { diff --git a/src/intel/perf/intel_perf.h b/src/intel/perf/intel_perf.h index 0d038c3b462..6ef032783d1 100644 --- a/src/intel/perf/intel_perf.h +++ b/src/intel/perf/intel_perf.h @@ -479,6 +479,9 @@ struct intel_perf_config { uint64_t n_l3_banks; /** $L3BankTotalCount */ uint64_t n_l3_nodes; /** $L3NodeTotalCount */ uint64_t n_sq_idis; /** $SqidiTotalCount */ + uint64_t n_depth_pipes; /** $DepthPipeTotalCount */ + uint64_t n_geom_pipes; /** $GeometryPipeTotalCount */ + uint64_t n_color_pipes; /** $ColorPipeTotalCount */ uint64_t slice_mask; /** $SliceMask */ uint64_t subslice_mask; /** $SubsliceMask */ uint64_t gt_min_freq; /** $GpuMinFrequency */ diff --git a/src/intel/perf/oa-ptl.xml b/src/intel/perf/oa-ptl.xml index a9fe08a10fa..1878ccaf2cc 100644 --- a/src/intel/perf/oa-ptl.xml +++ b/src/intel/perf/oa-ptl.xml @@ -1,5 +1,5 @@ - + + + + + + + + @@ -2768,6 +2859,58 @@ mdapi_supported_apis="" mdapi_hw_unit_type="gpu" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6658,6 +7113,1026 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +