[PATCH] drm/i915/selftests: Increase delay for RPS test

Vinay Belgaumkar vinay.belgaumkar at intel.com
Wed Jul 13 02:43:23 UTC 2022


live_rps_control is failing in BAT on a TGL. Increase the
time we wait for actual frequency to change, and see if this
is just a matter of slowness.

Bug: https://gitlab.freedesktop.org/drm/intel/-/issues/1759
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
---
 drivers/gpu/drm/i915/gt/selftest_rps.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gt/selftest_rps.c b/drivers/gpu/drm/i915/gt/selftest_rps.c
index cfb4708dd62e..5f311a646f32 100644
--- a/drivers/gpu/drm/i915/gt/selftest_rps.c
+++ b/drivers/gpu/drm/i915/gt/selftest_rps.c
@@ -195,7 +195,8 @@ static u8 rps_set_check(struct intel_rps *rps, u8 freq)
 	GEM_BUG_ON(rps->last_freq != freq);
 	mutex_unlock(&rps->lock);
 
-	return wait_for_freq(rps, freq, 50);
+	/* FIXME: Increase delay to debug CI failure */
+	return wait_for_freq(rps, freq, 200);
 }
 
 static void show_pstate_limits(struct intel_rps *rps)
-- 
2.35.1



More information about the dri-devel mailing list