igt-dev.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] tests/intel/xe_pmu: Fix frequency assertion when RPe raises min frequency
@ 2025-10-30 19:26 Sk Anirban
  2025-10-30 19:26 ` [PATCH 2/2] HAX: Add gt-frequency test to fast feedback list Sk Anirban
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Sk Anirban @ 2025-10-30 19:26 UTC (permalink / raw)
  To: igt-dev
  Cc: anshuman.gupta, badal.nilawar, riana.tauro, karthik.poosa,
	raag.jadav, soham.purkait, mallesh.koujalagi, vinay.belgaumkar,
	Sk Anirban

While running workloads, RPe may dynamically raise the minimum frequency
above the original value. To balance this, set the minimum frequency to
original minimum.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5841
Suggested-by: Badal Nilawar <badal.nilawar@intel.com>
Signed-off-by: Sk Anirban <sk.anirban@intel.com>
---
 tests/intel/xe_pmu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/intel/xe_pmu.c b/tests/intel/xe_pmu.c
index 9525655ba..1a5b17de0 100644
--- a/tests/intel/xe_pmu.c
+++ b/tests/intel/xe_pmu.c
@@ -912,6 +912,7 @@ static void test_gt_frequency(int fd, struct drm_xe_engine_class_instance *eci)
 	/*
 	 * Set GPU to min frequency and read PMU counters.
 	 */
+	igt_assert(xe_gt_set_freq(fd, gt, "min", orig_min) > 0);
 	igt_assert(xe_gt_set_freq(fd, gt, "max", orig_min) > 0);
 	igt_assert(xe_gt_get_freq(fd, gt, "max") == orig_min);
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH 0/2] Fix frequency assertion when RPe raises min frequency
@ 2025-10-16 10:29 Sk Anirban
  2025-10-16 10:29 ` [PATCH 1/2] tests/intel/xe_pmu: " Sk Anirban
  0 siblings, 1 reply; 8+ messages in thread
From: Sk Anirban @ 2025-10-16 10:29 UTC (permalink / raw)
  To: igt-dev
  Cc: anshuman.gupta, badal.nilawar, riana.tauro, karthik.poosa,
	raag.jadav, soham.purkait, mallesh.koujalagi, vinay.belgaumkar,
	Sk Anirban

When running workloads, RPe may dynamically raise the minimum frequency
above the original value. To handle this, set the maximum frequency to
current minimum instead of the original minimum.

Sk Anirban (2):
  tests/intel/xe_pmu: Fix frequency assertion when RPe raises min
    frequency
  HAX: Add gt-frequency test to fast feedback list

 tests/intel-ci/xe-fast-feedback.testlist | 1 +
 tests/intel/xe_pmu.c                     | 9 ++++++---
 2 files changed, 7 insertions(+), 3 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-11-14 13:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-30 19:26 [PATCH 1/2] tests/intel/xe_pmu: Fix frequency assertion when RPe raises min frequency Sk Anirban
2025-10-30 19:26 ` [PATCH 2/2] HAX: Add gt-frequency test to fast feedback list Sk Anirban
2025-10-30 23:54 ` ✓ i915.CI.BAT: success for series starting with [1/2] tests/intel/xe_pmu: Fix frequency assertion when RPe raises min frequency Patchwork
2025-10-31  0:12 ` ✓ Xe.CI.BAT: " Patchwork
2025-10-31  9:20 ` ✓ Xe.CI.Full: " Patchwork
2025-10-31 12:47 ` ✗ i915.CI.Full: failure " Patchwork
2025-11-14 13:10 ` [PATCH 1/2] " Nilawar, Badal
  -- strict thread matches above, loose matches on Subject: below --
2025-10-16 10:29 [PATCH 0/2] " Sk Anirban
2025-10-16 10:29 ` [PATCH 1/2] tests/intel/xe_pmu: " Sk Anirban

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).