[PATCH i-g-t 2/2] tests/i915/perf: trybot: Try 500 us oa period for polling-small-buf
Umesh Nerlige Ramappa
umesh.nerlige.ramappa at intel.com
Mon Sep 14 22:19:01 UTC 2020
Fix the random SKL failures.
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
---
tests/i915/perf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/i915/perf.c b/tests/i915/perf.c
index 991f5891..2f13d6d1 100644
--- a/tests/i915/perf.c
+++ b/tests/i915/perf.c
@@ -2295,7 +2295,7 @@ test_polling(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ker
static void test_polling_small_buf(void)
{
- int oa_exponent = max_oa_exponent_for_period_lte(40 * 1000); /* 40us */
+ int oa_exponent = max_oa_exponent_for_period_lte(500 * 1000); /* 40us */
uint64_t properties[] = {
/* Include OA reports in samples */
DRM_I915_PERF_PROP_SAMPLE_OA, true,
@@ -2312,7 +2312,7 @@ static void test_polling_small_buf(void)
.num_properties = NUM_PROPERTIES(properties),
.properties_ptr = to_user_pointer(properties),
};
- uint32_t test_duration = 80 * 1000 * 1000;
+ uint32_t test_duration = 1 * 1000 * 1000 * 1000;
struct drm_i915_perf_record_header *header;
int sample_size = (sizeof(*header) +
get_oa_format(test_set->perf_oa_format).size);
--
2.20.1
More information about the Intel-gfx-trybot
mailing list