[igt-dev] [PATCH i-g-t 05/23] i915/perf: Bump timestamp tolerance for DG1
Umesh Nerlige Ramappa
umesh.nerlige.ramappa at intel.com
Tue Aug 23 18:30:18 UTC 2022
Timestamp deltas obtained from the batch vs the delta obtained from oa
reports have a delta that's between 4 to 5 us in DG1. Adjust the test
accordingly.
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
---
tests/i915/perf.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/i915/perf.c b/tests/i915/perf.c
index ca3ccc17..95600562 100644
--- a/tests/i915/perf.c
+++ b/tests/i915/perf.c
@@ -4084,8 +4084,9 @@ static void gen12_single_ctx_helper(void)
delta_delta = delta_ts64_ns > delta_oa32_ns ?
(delta_ts64_ns - delta_oa32_ns) :
(delta_oa32_ns - delta_ts64_ns);
- if (delta_delta > 500) {
- igt_debug("delta_delta exceeds margin, skipping..\n");
+ if (delta_delta > 5000) {
+ igt_debug("delta_delta = %d. exceeds margin, skipping..\n",
+ delta_delta);
exit(EAGAIN);
}
--
2.25.1
More information about the igt-dev
mailing list