Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/2] Revert "tests/intel/xe_pm_residency: Add an assertion on MI_STORE execution time"
@ 2024-10-07 17:23 Himal Prasad Ghimiray
  2024-10-07 17:23 ` [PATCH i-g-t 2/2] tests/intel/xe_pm_residency: Limit max usleep time to 50sec Himal Prasad Ghimiray
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Himal Prasad Ghimiray @ 2024-10-07 17:23 UTC (permalink / raw)
  To: igt-dev
  Cc: Himal Prasad Ghimiray, Matthew Brost, Badal Nilawar, Riana Tauro,
	Anshuman Gupta, Karthik Poosa

The reported time does not reflect the completion time of
MI_STORE_DWORD; instead, it accounts for the delay in the scheduler.
Therefore, it represents the time taken between xe_exec and
syncobj_wait.

This reverts commit 92825ed72be61c5419d95db944fef1c9dda2215a.

Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Badal Nilawar <badal.nilawar@intel.com>
Cc: Riana Tauro <riana.tauro@intel.com>
Cc: Anshuman Gupta <anshuman.gupta@intel.com>
Cc: Karthik Poosa <karthik.poosa@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
---
 tests/intel/xe_pm_residency.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/tests/intel/xe_pm_residency.c b/tests/intel/xe_pm_residency.c
index 772fe9b57..f4d05889c 100644
--- a/tests/intel/xe_pm_residency.c
+++ b/tests/intel/xe_pm_residency.c
@@ -144,15 +144,6 @@ static void exec_load(int fd, struct drm_xe_engine_class_instance *hwe, unsigned
 			  1e-3 * submit,
 			  1e-3 * (elapsed - submit));
 
-		/*
-		 * MI_STORE_DWORD generally completes within couple of ms.
-		 * Assert if it takes more than 1.2 seconds, as it will cause
-		 * IGT test to timeout due to sleep of 120 seconds which is
-		 * the current per test timeout. Currently there is no way to
-		 * read this timeout from IGT test.
-		 */
-		igt_assert((uint64_t)elapsed < (uint64_t)(1.2 * NSEC_PER_SEC));
-
 		syncobj_reset(fd, &syncobj, 1);
 
 		/*
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-10-14 10:38 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 17:23 [PATCH i-g-t 1/2] Revert "tests/intel/xe_pm_residency: Add an assertion on MI_STORE execution time" Himal Prasad Ghimiray
2024-10-07 17:23 ` [PATCH i-g-t 2/2] tests/intel/xe_pm_residency: Limit max usleep time to 50sec Himal Prasad Ghimiray
2024-10-07 17:32   ` Cavitt, Jonathan
2024-10-08  4:13     ` Ghimiray, Himal Prasad
2024-10-08  4:13   ` Poosa, Karthik
2024-10-07 17:31 ` [PATCH i-g-t 1/2] Revert "tests/intel/xe_pm_residency: Add an assertion on MI_STORE execution time" Cavitt, Jonathan
2024-10-14 10:38   ` Gupta, Anshuman
2024-10-07 21:31 ` ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2024-10-07 21:36 ` ✓ CI.xeBAT: " Patchwork
2024-10-08  2:01 ` [PATCH i-g-t 1/2] " Gupta, Anshuman
2024-10-08  3:13   ` Ghimiray, Himal Prasad
2024-10-08  3:22     ` Gupta, Anshuman
2024-10-08  3:47       ` Ghimiray, Himal Prasad
2024-10-08  4:47         ` Poosa, Karthik
2024-10-08  5:00           ` Poosa, Karthik
2024-10-08  8:55 ` ✗ CI.xeFULL: failure for series starting with [i-g-t,1/2] " Patchwork
2024-10-08 20:06 ` ✗ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox