[PATCH i-g-t 2/2] tests/intel/kms_fbt: Remove checking display_ver for fpcpsr tests

Jouni Högander jouni.hogander at intel.com
Wed Mar 27 05:47:50 UTC 2024


We have now solution to check if fbcpsr tests can be run which works for
any display version. Remove redundant related display version check.

Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 tests/intel/kms_frontbuffer_tracking.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/tests/intel/kms_frontbuffer_tracking.c b/tests/intel/kms_frontbuffer_tracking.c
index 6d5395a0c..e45d17dd6 100644
--- a/tests/intel/kms_frontbuffer_tracking.c
+++ b/tests/intel/kms_frontbuffer_tracking.c
@@ -2925,13 +2925,6 @@ static void check_test_requirements(const struct test_mode *t)
 
 	if (opt.only_pipes != PIPE_COUNT)
 		igt_require(t->pipes == opt.only_pipes);
-
-	/* Kernel disables fbc for display versions 12 and 13 if psr is enabled. */
-	if (drm.display_ver >= 12 && drm.display_ver <= 13)
-		igt_require_f(!((t->feature & FEATURE_PSR) &&
-				(t->feature & FEATURE_FBC)),
-			      "Can't test PSR and FBC together\n");
-
 }
 
 static void set_crtc_fbs(const struct test_mode *t)
-- 
2.34.1



More information about the igt-dev mailing list