Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] test/intel/perf_pmu: Dump drpc for correct gt
@ 2023-11-20 14:30 Anshuman Gupta
  2023-11-20 20:27 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Anshuman Gupta @ 2023-11-20 14:30 UTC (permalink / raw)
  To: igt-dev

other-idle-gt rc6 test dumps drpc for wrong gt.
use gt, which has passed as function argument to
test_rc6 to dump drpc.

Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
---
 tests/intel/perf_pmu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/intel/perf_pmu.c b/tests/intel/perf_pmu.c
index c6e6a8b77..80763af1d 100644
--- a/tests/intel/perf_pmu.c
+++ b/tests/intel/perf_pmu.c
@@ -1981,7 +1981,7 @@ test_rc6(int gem_fd, unsigned int gt, unsigned int num_gt, unsigned int flags)
 		}
 	}
 
-	igt_require_f(wait_for_rc6(fd[0], 1, pmus, test_idx),
+	igt_require_f(wait_for_rc6(fd[0], 1, pmus, gt),
 		      "failed to enter c6 \n%s\n", drpc = get_drpc(gem_fd, test_idx));
 
 	/* While idle check full RC6. */
@@ -2022,7 +2022,7 @@ test_rc6(int gem_fd, unsigned int gt, unsigned int num_gt, unsigned int flags)
 		}
 	}
 
-	igt_require_f(wait_for_rc6(fd[0], 5, pmus, test_idx),
+	igt_require_f(wait_for_rc6(fd[0], 5, pmus, gt),
 		      "failed to enter c6 \n%s\n", drpc = get_drpc(gem_fd, test_idx));
 
 	ts[0] = pmu_read_multi(fd[0], pmus, prev);
-- 
2.25.1

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

end of thread, other threads:[~2023-11-29 14:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-20 14:30 [igt-dev] [PATCH i-g-t] test/intel/perf_pmu: Dump drpc for correct gt Anshuman Gupta
2023-11-20 20:27 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-11-20 21:20 ` [igt-dev] ✗ CI.xeBAT: failure " Patchwork
2023-11-22 12:32 ` [igt-dev] ✓ Fi.CI.BAT: success for test/intel/perf_pmu: Dump drpc for correct gt (rev2) Patchwork
2023-11-22 13:30 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-11-23  4:48 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-11-29 14:10 ` [igt-dev] [PATCH i-g-t] test/intel/perf_pmu: Dump drpc for correct gt Kamil Konieczny

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