Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] tests/intel/kms_big_fb: Intel display version 20 onwards doesn't do hflip with tile4
@ 2024-11-18  8:18 Pranay Samala
  2024-11-18  8:18 ` [PATCH i-g-t 1/2] " Pranay Samala
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Pranay Samala @ 2024-11-18  8:18 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, sameer.lattannavar, pranay.samala

Intel display version 20 onwards, Tile4 no longer can be used with
horizontal flip.

Bspec: 69853

Pranay Samala (2):
  tests/intel/kms_big_fb: Intel display version 20 onwards doesn't do
    hflip with tile4
  HAX: Do not merge

 tests/intel-ci/fast-feedback.testlist    |  5 +++++
 tests/intel-ci/xe-fast-feedback.testlist |  5 +++++
 tests/intel/kms_big_fb.c                 | 15 +++++++++++++++
 3 files changed, 25 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH i-g-t 1/2] tests/intel/kms_frontbuffer_tracking: Add skip condition for bmg platform
@ 2025-01-08 20:39 Mohammed Thasleem
  2025-01-08 20:39 ` [PATCH i-g-t 2/2] HAX: DO NOT MERGE Mohammed Thasleem
  0 siblings, 1 reply; 11+ messages in thread
From: Mohammed Thasleem @ 2025-01-08 20:39 UTC (permalink / raw)
  To: igt-dev; +Cc: Mohammed Thasleem

FBC test isn't supported on bmg, skip the test on this platform.

v2: Add workaround id: Wa_16023588340. (Swati)
v3: Add workaround id in code.

Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
 tests/intel/kms_frontbuffer_tracking.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/tests/intel/kms_frontbuffer_tracking.c b/tests/intel/kms_frontbuffer_tracking.c
index 3d833864a..21bbaf61e 100644
--- a/tests/intel/kms_frontbuffer_tracking.c
+++ b/tests/intel/kms_frontbuffer_tracking.c
@@ -2755,6 +2755,10 @@ static void prepare_subtest_data(const struct test_mode *t,
 
 static void prepare_subtest_screens(const struct test_mode *t)
 {
+	/* FBC disabled: Wa_16023588340 */
+	igt_skip_on_f((IS_BATTLEMAGE(drm.devid) && t->feature == FEATURE_FBC),
+		      "FBC isn't supported on BMG\n");
+
 	if (t->pipes == PIPE_DUAL)
 		enable_both_screens_and_wait(t);
 	else
@@ -2799,6 +2803,10 @@ static void prepare_subtest(const struct test_mode *t,
  */
 static void rte_subtest(const struct test_mode *t)
 {
+	/* FBC disabled: Wa_16023588340 */
+	igt_skip_on_f((IS_BATTLEMAGE(drm.devid) && t->feature == FEATURE_FBC),
+		      "FBC isn't supported on BMG\n");
+
 	prepare_subtest_data(t, NULL);
 
 	unset_all_crtcs();
@@ -4294,6 +4302,10 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
 			t.flip = -1;
 			t.tiling = opt.tiling;
 
+			/* FBC disabled: Wa_16023588340 */
+			igt_skip_on_f((IS_BATTLEMAGE(drm.devid) && t.feature == FEATURE_FBC),
+				      "FBC isn't supported on BMG\n");
+
 			for_each_pipe(&drm.display, pipe) {
 				if (pipe == default_pipe) {
 					igt_info("pipe-%s: FBC validated in other subtest\n", kmstest_pipe_name(pipe));
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [PATCH i-g-t 1/2] tests/chamelium/kms_chamelium_edid: Use extended flag to reduce the number of edid
@ 2024-10-17 19:41 Pranay Samala
  2024-10-17 19:41 ` [PATCH i-g-t 2/2] HAX: Do not merge Pranay Samala
  0 siblings, 1 reply; 11+ messages in thread
From: Pranay Samala @ 2024-10-17 19:41 UTC (permalink / raw)
  To: igt-dev
  Cc: karthik.b.s, kunal1.joshi, swati2.sharma, sameer.lattannavar,
	pranay.samala

This test iterates on all the available edids of HDMI.
Due to CI test timeut limitation, we are reducing the
number of edids to execute to avoid result as timeout.

Using extended flag to achieve this. The test will execute
only 25 edids when this flag is not used as CI doesnt uses
this flag.
In local execution to execute on all edids, we have to give
this flag at the runtime.

Signed-off-by: Pranay Samala <pranay.samala@intel.com>
---
 tests/chamelium/kms_chamelium_edid.c | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/tests/chamelium/kms_chamelium_edid.c b/tests/chamelium/kms_chamelium_edid.c
index 8438f5f15..1bdde1768 100644
--- a/tests/chamelium/kms_chamelium_edid.c
+++ b/tests/chamelium/kms_chamelium_edid.c
@@ -122,6 +122,7 @@
  */
 
 #define MODE_CLOCK_ACCURACY 0.05 /* 5% */
+static bool extended;
 
 static void get_connectors_link_status_failed(chamelium_data_t *data,
 					      bool *link_status_failed)
@@ -273,6 +274,9 @@ static void edid_stress_resolution(chamelium_data_t *data,
 			      data->ports, data->port_count);
 
 
+	if (!extended)
+		edids_list_len = 25;
+
 	for (i = 0; i < edids_list_len; ++i) {
 		struct chamelium_edid *chamelium_edid;
 		drmModeModeInfo mode;
@@ -504,8 +508,22 @@ static void test_mode_timings(chamelium_data_t *data,
 	} while (++i < count_modes);
 }
 
+static int opt_handler(int opt, int opt_index, void *_data)
+{
+	switch (opt) {
+	case 'e':
+		extended = true;
+		break;
+	}
+
+	return IGT_OPT_HANDLER_SUCCESS;
+}
+
+const char *help_str =
+	"  -e \tExtended tests.\n";
+
 IGT_TEST_DESCRIPTION("Testing EDID with a Chamelium board");
-igt_main
+igt_main_args("e", NULL, help_str, opt_handler, NULL)
 {
 	chamelium_data_t data;
 	struct chamelium_port *port;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [PATCH i-g-t 1/2] tests/kms_flip.c: Updating the skip message
@ 2024-10-15 17:18 Pranay Samala
  2024-10-15 17:18 ` [PATCH i-g-t 2/2] HAX: Do not merge Pranay Samala
  0 siblings, 1 reply; 11+ messages in thread
From: Pranay Samala @ 2024-10-15 17:18 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, sameer.lattannavar, pranay.samala

Debugging would be easier if we had logs available for
test failures and skips. This patch rephrases the skip
message for better understanding.

Signed-off-by: Pranay Samala <pranay.samala@intel.com>
---
 tests/kms_flip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index cbabbe74f..88cd41083 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1896,7 +1896,7 @@ static void run_pair(int duration, int flags)
 
 	/* If we have fewer than 2 connected outputs then we won't have any
 	 * configuration at all. So skip in that case. */
-	igt_require_f(modes, "At least two displays required\n");
+	igt_require_f(modes, "At least two displays with same modes are required\n");
 
 	if (duration) {
 		duration = duration * 1000 / modes;
-- 
2.34.1


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

end of thread, other threads:[~2025-01-08 20:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-18  8:18 [PATCH i-g-t 0/2] tests/intel/kms_big_fb: Intel display version 20 onwards doesn't do hflip with tile4 Pranay Samala
2024-11-18  8:18 ` [PATCH i-g-t 1/2] " Pranay Samala
2024-11-21 19:19   ` Sharma, Swati2
2024-11-22  5:12     ` B, Jeevan
2024-11-18  8:18 ` [PATCH i-g-t 2/2] HAX: Do not merge Pranay Samala
2024-11-18 20:16 ` ✗ CI.xeBAT: failure for tests/intel/kms_big_fb: Intel display version 20 onwards doesn't do hflip with tile4 Patchwork
2024-11-18 20:25 ` ✗ Fi.CI.BAT: " Patchwork
2024-11-19  3:52 ` ✗ CI.xeFULL: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2025-01-08 20:39 [PATCH i-g-t 1/2] tests/intel/kms_frontbuffer_tracking: Add skip condition for bmg platform Mohammed Thasleem
2025-01-08 20:39 ` [PATCH i-g-t 2/2] HAX: DO NOT MERGE Mohammed Thasleem
2024-10-17 19:41 [PATCH i-g-t 1/2] tests/chamelium/kms_chamelium_edid: Use extended flag to reduce the number of edid Pranay Samala
2024-10-17 19:41 ` [PATCH i-g-t 2/2] HAX: Do not merge Pranay Samala
2024-10-15 17:18 [PATCH i-g-t 1/2] tests/kms_flip.c: Updating the skip message Pranay Samala
2024-10-15 17:18 ` [PATCH i-g-t 2/2] HAX: Do not merge Pranay Samala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox