[igt-dev] [i-g-t V4 08/20] tests/kms_rotation_crc: Add tiling support for XE

Bhanuprakash Modem bhanuprakash.modem at intel.com
Wed Aug 16 16:31:54 UTC 2023


Remove the tiling restrictions in Xe specific tests

V2: - Update XE blocklist

Fixes: e1d5b831e (tests/kms_rotation_crc: Add XE support)
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 tests/intel-ci/xe.blocklist.txt | 1 -
 tests/kms_rotation_crc.c        | 8 ++------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/tests/intel-ci/xe.blocklist.txt b/tests/intel-ci/xe.blocklist.txt
index 01495c7c9..cc6a68c73 100644
--- a/tests/intel-ci/xe.blocklist.txt
+++ b/tests/intel-ci/xe.blocklist.txt
@@ -73,7 +73,6 @@ igt at kms_addfb_basic@clobberred-modifier
 igt at kms_async_flips@.*
 igt at kms_plane_multiple@tiling-(4|x|y|yf)
 igt at kms_cursor_legacy@flip-vs-cursor-busy-crc-(atomic|legacy)
-igt at kms_rotation_crc@primary-(4|x|y|yf)-tiled-.*
 igt at kms_rotation_crc@exhaust-fences
 igt at kms_force_connector_basic@force-load-detect
 igt at kms_.*@.*hang.*
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index b80cf695e..f08d31e37 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -977,10 +977,6 @@ static void test_multi_plane_rotation(data_t *data, enum pipe pipe)
 		igt_pipe_crc_start(data->pipe_crc);
 
 		for (i = 0; i < ARRAY_SIZE(planeconfigs); i++) {
-			if (is_xe_device(data->gfx_fd) &&
-			    planeconfigs[i].modifier != DRM_FORMAT_MOD_LINEAR)
-				continue;
-
 			p[0].fbinfo = &planeconfigs[i];
 			pointlocation(data, p, mode, 0);
 
@@ -1351,7 +1347,7 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
 	igt_describe("Tiling and Rotation test for gen 10+ for primary plane");
 	for (reflect_x = reflect_x_subtests; reflect_x->modifier; reflect_x++) {
 		igt_fixture
-			igt_require_i915(data.gfx_fd);
+			igt_require_intel(data.gfx_fd);
 
 		igt_subtest_f("primary-%s-reflect-x-%s",
 			      modifier_test_str(reflect_x->modifier),
@@ -1412,7 +1408,7 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
 		enum pipe pipe;
 		igt_output_t *output;
 
-		igt_require_i915(data.gfx_fd);
+		igt_require_intel(data.gfx_fd);
 		igt_display_require_output(&data.display);
 
 		for_each_pipe_with_valid_output(&data.display, pipe, output) {
-- 
2.40.0



More information about the igt-dev mailing list