[PATCH 1/1] tests/kms_plane: Restricting number of pixel formats for simulation

Samala, Pranay pranay.samala at intel.com
Wed Feb 14 04:47:32 UTC 2024


Signed-off-by: Samala, Pranay <pranay.samala at intel.com>
---
 tests/intel-pre-si-ci/blocklist/display.blocklist | 1 -
 tests/kms_plane.c                                 | 3 +++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/intel-pre-si-ci/blocklist/display.blocklist b/tests/intel-pre-si-ci/blocklist/display.blocklist
index 6dcf1be6e..5f5476227 100644
--- a/tests/intel-pre-si-ci/blocklist/display.blocklist
+++ b/tests/intel-pre-si-ci/blocklist/display.blocklist
@@ -190,7 +190,6 @@ igt at kms_display_modes@mst-extended-mode-negative
 ##########################################
 # VLK-49643 : Temp blocklist (incompletes)
 ##########################################
-igt at kms_plane@pixel-format
 igt at kms_plane@pixel-format-source-clamping
 igt at kms_plane_alpha_blend@alpha-basic
 igt at kms_plane_lowres@tiling-none
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 406aecc04..2e91eb3b5 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -1080,6 +1080,9 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
 		if (f.format == ref.format &&
 		    f.modifier == ref.modifier)
 			continue;
+		
+		if(f.format != DRM_FORMAT_XRGB8888 && igt_run_in_simulation())
+                        continue;
 
 		/* test each format "class" only once in non-extended tests */
 		if (!data->extended && f.modifier != DRM_FORMAT_MOD_LINEAR) {
-- 
2.34.1



More information about the igt-dev mailing list