From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Sushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com>
Cc: <igt-dev@lists.freedesktop.org>, <kamil.konieczny@linux.intel.com>
Subject: Re: [PATCH 1/2] lib/xe/oa: Add perf consts to support more metrics
Date: Tue, 26 Aug 2025 14:31:04 -0700 [thread overview]
Message-ID: <87h5xtn52f.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20250826211545.17076-1-sushma.venkatesh.reddy@intel.com>
On Tue, 26 Aug 2025 14:15:44 -0700, Sushma Venkatesh Reddy wrote:
>
> Add new metrics: SqidiTotalCount, L3BankTotalCount, L3NodeTotalCount,
> GeometryPipeTotalCount, DepthPipeTotalCount and ColorPipeTotalCount
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
>
> Signed-off-by: Sushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com>
> ---
> lib/xe/oa-configs/codegen.py | 9 ++++++++-
> lib/xe/xe_oa.h | 13 +++++++++++++
> 2 files changed, 21 insertions(+), 1 deletion(-)
>
> diff --git a/lib/xe/oa-configs/codegen.py b/lib/xe/oa-configs/codegen.py
> index 8629eac6d..d3742e11b 100644
> --- a/lib/xe/oa-configs/codegen.py
> +++ b/lib/xe/oa-configs/codegen.py
> @@ -128,7 +128,6 @@ class Set:
> return self.xml.find(path)
>
>
> -#TODO add SqidiTotalCount, L3BankTotalCount, L3NodeTotalCount
> hw_vars_mapping = {
> "$EuCoresTotalCount": { 'c': "perf->devinfo.n_eus", 'desc': "The total number of execution units" },
> "$EuSlicesTotalCount": { 'c': "perf->devinfo.n_eu_slices" },
> @@ -164,6 +163,14 @@ hw_vars_mapping = {
> "$ComputeEngineTotalCount": { 'c': "perf->devinfo.n_eus", 'desc': "The total number of execution units" },
>
> "$CopyEngineTotalCount": { 'c': "perf->devinfo.n_eus", 'desc': "The total number of execution units" },
> +
> + "$SqidiTotalCount": { 'c': "perf->devinfo.n_sq_idis", 'desc': "Total number of SQIDI units" },
> + "$L3BankTotalCount": { 'c': "perf->devinfo.l3_banks", 'desc': "Total L3 bank count" },
> + "$L3NodeTotalCount": { 'c': "perf->devinfo.n_l3_nodes", 'desc': "Total L3 node count" },
> +
> + "$GeometryPipeTotalCount": { 'c': "perf->devinfo.n_geom_pipes", 'desc': "The total number of geometry pipelines" },
> + "$DepthPipeTotalCount": { 'c': "perf->devinfo.n_depth_pipes", 'desc': "The total number of depth pipelines" },
> + "$ColorPipeTotalCount": { 'c': "perf->devinfo.n_color_pipes", 'desc': "The total number of color pipelines" },
> }
>
> def is_hw_var(name):
> diff --git a/lib/xe/xe_oa.h b/lib/xe/xe_oa.h
> index 7d3d07456..020f6d058 100644
> --- a/lib/xe/xe_oa.h
> +++ b/lib/xe/xe_oa.h
> @@ -110,6 +110,19 @@ struct intel_xe_perf_devinfo {
> /* Number of threads in one EU */
> uint64_t eu_threads_count;
>
> + /* Squidi Total Count */
> + uint32_t n_sq_idis;
> + /* L3 Bank Count */
> + uint32_t l3_banks;
> + /* Number of L3 nodes */
> + uint32_t n_l3_nodes;
> + /* Number of depth pipes */
> + uint32_t n_depth_pipes;
> + /* Number of geometry pipes */
> + uint32_t n_geom_pipes;
> + /* Number of color pipes */
> + uint32_t n_color_pipes;
> +
> /**
> * Maximu number of slices present on this device (can be more than
> * num_slices if some slices are fused).
> --
> 2.43.0
>
next prev parent reply other threads:[~2025-08-26 21:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-26 21:15 [PATCH 1/2] lib/xe/oa: Add perf consts to support more metrics Sushma Venkatesh Reddy
2025-08-26 21:15 ` [PATCH 2/2] lib/xe/oa: Update PTL oa-metrics with new compute, memory, and stall counters Sushma Venkatesh Reddy
2025-08-27 2:58 ` Dixit, Ashutosh
2025-08-26 21:31 ` Dixit, Ashutosh [this message]
2025-08-26 22:19 ` ✓ Xe.CI.BAT: success for series starting with [1/2] lib/xe/oa: Add perf consts to support more metrics Patchwork
2025-08-26 22:29 ` ✓ i915.CI.BAT: " Patchwork
2025-08-27 9:22 ` ✗ Xe.CI.Full: failure " Patchwork
2025-08-27 10:51 ` ✓ i915.CI.Full: success " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2025-08-23 0:25 [PATCH 1/2] " Sushma Venkatesh Reddy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h5xtn52f.wl-ashutosh.dixit@intel.com \
--to=ashutosh.dixit@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=sushma.venkatesh.reddy@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.