[Intel-gfx] [igt PATCH] igt/pm_rps: Remove remaining assert on CUR <= MAX

jeff.mcgee at intel.com jeff.mcgee at intel.com
Wed Jun 14 19:44:01 UTC 2017


From: Jeff McGee <jeff.mcgee at intel.com>

This completes the change started by:

commit 39cccab83b7c515a2b57abe679a8cb304c8933ef
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri May 19 09:41:40 2017 +0100

    igt/pm_rps: Allow CUR to be greater than MAX (overclocking)

Cc: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Jeff McGee <jeff.mcgee at intel.com>
---
 tests/pm_rps.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/pm_rps.c b/tests/pm_rps.c
index f0455e78..1a322459 100644
--- a/tests/pm_rps.c
+++ b/tests/pm_rps.c
@@ -145,7 +145,6 @@ static int do_writeval(FILE *filp, int val, int lerrno, bool readback_check)
 static void checkit(const int *freqs)
 {
 	igt_assert_lte(freqs[MIN], freqs[MAX]);
-	igt_assert_lte(freqs[CUR], freqs[MAX]);
 	igt_assert_lte(freqs[RPn], freqs[CUR]);
 	igt_assert_lte(freqs[RPn], freqs[MIN]);
 	igt_assert_lte(freqs[MAX], freqs[RP0]);
-- 
2.11.0



More information about the Intel-gfx mailing list