From: Ashutosh Dixit <ashutosh.dixit@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Subject: [PATCH i-g-t] lib/i915/perf: Accumulate clocks for MPEC format too
Date: Fri, 10 May 2024 10:04:50 -0700 [thread overview]
Message-ID: <20240510170450.2404385-1-ashutosh.dixit@intel.com> (raw)
Clocks/gpu_ticks should also be accumulated in intel_perf_accumulate_reports.
Fixes: cbe11c2939f8 ("lib/i915/perf: Add support for select MPEC formats")
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
lib/i915/perf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/i915/perf.c b/lib/i915/perf.c
index bbfa360607..9333edfebb 100644
--- a/lib/i915/perf.c
+++ b/lib/i915/perf.c
@@ -928,7 +928,7 @@ void intel_perf_accumulate_reports(struct intel_perf_accumulator *acc,
deltas[idx++] += (end64[1] - start64[1]) >> (-perf->devinfo.oa_timestamp_shift);
/* 64 bit clock */
- deltas[idx++] = end64[3] - start64[3];
+ deltas[idx++] += end64[3] - start64[3];
/* 8x 32bit MPEC counters */
for (i = 0; i < 8; i++)
--
2.41.0
next reply other threads:[~2024-05-10 17:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-10 17:04 Ashutosh Dixit [this message]
2024-05-10 17:53 ` [PATCH i-g-t] lib/i915/perf: Accumulate clocks for MPEC format too Kamil Konieczny
2024-05-10 19:11 ` ✓ CI.xeBAT: success for " Patchwork
2024-05-10 19:17 ` ✓ Fi.CI.BAT: " Patchwork
2024-05-10 20:12 ` ✗ CI.xeFULL: failure " Patchwork
2024-05-13 14:23 ` Kamil Konieczny
2024-05-10 20:25 ` [PATCH i-g-t] " Umesh Nerlige Ramappa
2024-05-12 6:42 ` ✗ Fi.CI.IGT: failure for " Patchwork
2024-05-13 14:13 ` Kamil Konieczny
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=20240510170450.2404385-1-ashutosh.dixit@intel.com \
--to=ashutosh.dixit@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=umesh.nerlige.ramappa@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox