public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg
@ 2023-01-19  9:25 Swati Sharma
  2023-01-19  9:25 ` [igt-dev] [v3 1/4] lib/dsc: Move VDSC functions to separate lib file Swati Sharma
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Swati Sharma @ 2023-01-19  9:25 UTC (permalink / raw)
  To: igt-dev

In this patch series, helper functions for kms_dsc
are introuduced which will reduce code duplication
while creating dsc concurrent tests (eg: PSR)

This is split from https://patchwork.freedesktop.org/series/111342/
since YCBCR420 DSC required driver+igt changes.

Also, few other trivial changes are done.

Swati Sharma (4):
  lib/dsc: Move VDSC functions to separate lib file
  Move wrapper functions from kms_dsc to kms_dsc_helper
  tests/i915/kms_dsc: Add disp_ver as struct data_t member
  tests/i915/kms_dsc_helper: Improve format string

 lib/igt.h                   |   1 +
 lib/igt_dsc.c               | 133 ++++++++++++++++++++++++++++++++++
 lib/igt_dsc.h               |  19 +++++
 lib/igt_kms.c               | 127 ---------------------------------
 lib/igt_kms.h               |  10 ---
 lib/meson.build             |   1 +
 tests/i915/kms_dsc.c        | 137 ++++--------------------------------
 tests/i915/kms_dsc_helper.c |  99 ++++++++++++++++++++++++++
 tests/i915/kms_dsc_helper.h |  35 +++++++++
 tests/meson.build           |   9 ++-
 10 files changed, 308 insertions(+), 263 deletions(-)
 create mode 100644 lib/igt_dsc.c
 create mode 100644 lib/igt_dsc.h
 create mode 100644 tests/i915/kms_dsc_helper.c
 create mode 100644 tests/i915/kms_dsc_helper.h

-- 
2.25.1

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

* [igt-dev] [v3 1/4] lib/dsc: Move VDSC functions to separate lib file
  2023-01-19  9:25 [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Swati Sharma
@ 2023-01-19  9:25 ` Swati Sharma
  2023-01-19  9:25 ` [igt-dev] [v3 2/4] Move wrapper functions from kms_dsc to kms_dsc_helper Swati Sharma
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Swati Sharma @ 2023-01-19  9:25 UTC (permalink / raw)
  To: igt-dev

Move dsc func() from lib/igt_kms to lib/igt_dsc. With
DSC1.2a new functions will be introduced. It's better
to create separate file having dsc specific functions
instead of overcrowding igt_kms.

v2: -use of SPDX licence placeholder

Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
 lib/igt.h       |   1 +
 lib/igt_dsc.c   | 133 ++++++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_dsc.h   |  19 +++++++
 lib/igt_kms.c   | 127 ---------------------------------------------
 lib/igt_kms.h   |  10 ----
 lib/meson.build |   1 +
 6 files changed, 154 insertions(+), 137 deletions(-)
 create mode 100644 lib/igt_dsc.c
 create mode 100644 lib/igt_dsc.h

diff --git a/lib/igt.h b/lib/igt.h
index 88938109e..73b6f7727 100644
--- a/lib/igt.h
+++ b/lib/igt.h
@@ -40,6 +40,7 @@
 #include "igt_pipe_crc.h"
 #include "igt_pm.h"
 #include "igt_stats.h"
+#include "igt_dsc.h"
 #ifdef HAVE_CHAMELIUM
 #include "igt_alsa.h"
 #include "igt_audio.h"
diff --git a/lib/igt_dsc.c b/lib/igt_dsc.c
new file mode 100644
index 000000000..25dcb5840
--- /dev/null
+++ b/lib/igt_dsc.c
@@ -0,0 +1,133 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#include <unistd.h>
+#include <fcntl.h>
+#include <string.h>
+#include "igt_dsc.h"
+#include "igt_sysfs.h"
+
+static bool check_dsc_debugfs(int drmfd, char *connector_name, const char *check_str)
+{
+	char file_name[128] = {0};
+	char buf[512];
+
+	sprintf(file_name, "%s/i915_dsc_fec_support", connector_name);
+
+	igt_debugfs_read(drmfd, file_name, buf);
+
+	return strstr(buf, check_str);
+}
+
+static int write_dsc_debugfs(int drmfd, char *connector_name, const char *file_name,
+			     const char *write_buf)
+{
+	int debugfs_fd = igt_debugfs_dir(drmfd);
+	int len = strlen(write_buf);
+	int ret;
+	char file_path[128] = {0};
+
+	sprintf(file_path, "%s/%s", connector_name, file_name);
+
+	ret = igt_sysfs_write(debugfs_fd, file_path, write_buf, len);
+
+	close(debugfs_fd);
+
+	return ret;
+}
+
+/*
+ * igt_is_dsc_supported:
+ * @drmfd: A drm file descriptor
+ * @connector_name: Name of the libdrm connector we're going to use
+ *
+ * Returns: True if DSC is supported for the given connector, false otherwise.
+ */
+bool igt_is_dsc_supported(int drmfd, char *connector_name)
+{
+	return check_dsc_debugfs(drmfd, connector_name, "DSC_Sink_Support: yes");
+}
+
+/*
+ * igt_is_fec_supported:
+ * @drmfd: A drm file descriptor
+ * @connector_name: Name of the libdrm connector we're going to use
+ *
+ * Returns: True if FEC is supported for the given connector, false otherwise.
+ */
+bool igt_is_fec_supported(int drmfd, char *connector_name)
+{
+	return check_dsc_debugfs(drmfd, connector_name, "FEC_Sink_Support: yes");
+}
+
+/*
+ * igt_is_dsc_enabled:
+ * @drmfd: A drm file descriptor
+ * @connector_name: Name of the libdrm connector we're going to use
+ *
+ * Returns: True if DSC is enabled for the given connector, false otherwise.
+ */
+bool igt_is_dsc_enabled(int drmfd, char *connector_name)
+{
+	return check_dsc_debugfs(drmfd, connector_name, "DSC_Enabled: yes");
+}
+
+/*
+ * igt_is_force_dsc_enabled:
+ * @drmfd: A drm file descriptor
+ * @connector_name: Name of the libdrm connector we're going to use
+ *
+ * Returns: True if DSC is force enabled (via debugfs) for the given connector,
+ * false otherwise.
+ */
+bool igt_is_force_dsc_enabled(int drmfd, char *connector_name)
+{
+	return check_dsc_debugfs(drmfd, connector_name, "Force_DSC_Enable: yes");
+}
+
+/*
+ * igt_force_dsc_enable:
+ * @drmfd: A drm file descriptor
+ * @connector_name: Name of the libdrm connector we're going to use
+ *
+ * Returns: 1 on success or negative error code, in case of failure.
+ */
+int igt_force_dsc_enable(int drmfd, char *connector_name)
+{
+	return write_dsc_debugfs(drmfd, connector_name, "i915_dsc_fec_support", "1");
+}
+
+/*
+ * igt_force_dsc_enable_bpc:
+ * @drmfd: A drm file descriptor
+ * @connector_name: Name of the libdrm connector we're going to use
+ * @bpc: Input BPC
+ *
+ * Returns: No. of bytes written or negative error code, in case of failure.
+ */
+int igt_force_dsc_enable_bpc(int drmfd, char *connector_name, int bpc)
+{
+	char buf[20] = {0};
+
+	sprintf(buf, "%d", bpc);
+
+	return write_dsc_debugfs(drmfd, connector_name, "i915_dsc_bpc", buf);
+}
+
+/*
+ * igt_get_dsc_debugfs_fd:
+ * @drmfd: A drm file descriptor
+ * @connector_name: Name of the libdrm connector we're going to use
+ *
+ * Returns: fd of the DSC debugfs for the given connector, else returns -1.
+ */
+int igt_get_dsc_debugfs_fd(int drmfd, char *connector_name)
+{
+	char file_name[128] = {0};
+
+	sprintf(file_name, "%s/i915_dsc_fec_support", connector_name);
+
+	return openat(igt_debugfs_dir(drmfd), file_name, O_WRONLY);
+}
diff --git a/lib/igt_dsc.h b/lib/igt_dsc.h
new file mode 100644
index 000000000..291c2cdea
--- /dev/null
+++ b/lib/igt_dsc.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#ifndef IGT_DSC_H
+#define IGT_DSC_H
+
+#include "igt_fb.h"
+
+bool igt_is_dsc_supported(int drmfd, char *connector_name);
+bool igt_is_fec_supported(int drmfd, char *connector_name);
+bool igt_is_dsc_enabled(int drmfd, char *connector_name);
+bool igt_is_force_dsc_enabled(int drmfd, char *connector_name);
+int igt_force_dsc_enable(int drmfd, char *connector_name);
+int igt_force_dsc_enable_bpc(int drmfd, char *connector_name, int bpc);
+int igt_get_dsc_debugfs_fd(int drmfd, char *connector_name);
+
+#endif
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index b4a98ae17..31e6dfda0 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -5564,133 +5564,6 @@ void igt_dump_crtcs_fd(int drmfd)
 	drmModeFreeResources(mode_resources);
 }
 
-static
-bool check_dsc_debugfs(int drmfd, char *connector_name,
-		       const char *check_str)
-{
-	char file_name[128] = {0};
-	char buf[512];
-
-	sprintf(file_name, "%s/i915_dsc_fec_support", connector_name);
-
-	igt_debugfs_read(drmfd, file_name, buf);
-
-	return strstr(buf, check_str);
-}
-
-static
-int write_dsc_debugfs(int drmfd, char *connector_name,
-		      const char *file_name,
-		      const char *write_buf)
-{
-	int debugfs_fd = igt_debugfs_dir(drmfd);
-	int len = strlen(write_buf);
-	int ret;
-	char file_path[128] = {0};
-
-	sprintf(file_path, "%s/%s", connector_name, file_name);
-
-	ret = igt_sysfs_write(debugfs_fd, file_path, write_buf, len);
-
-	close(debugfs_fd);
-
-	return ret;
-}
-
-/*
- * igt_is_dsc_supported:
- * @drmfd: A drm file descriptor
- * @connector_name: Name of the libdrm connector we're going to use
- *
- * Returns: True if DSC is supported for the given connector, false otherwise.
- */
-bool igt_is_dsc_supported(int drmfd, char *connector_name)
-{
-	return check_dsc_debugfs(drmfd, connector_name, "DSC_Sink_Support: yes");
-}
-
-/*
- * igt_is_fec_supported:
- * @drmfd: A drm file descriptor
- * @connector_name: Name of the libdrm connector we're going to use
- *
- * Returns: True if FEC is supported for the given connector, false otherwise.
- */
-bool igt_is_fec_supported(int drmfd, char *connector_name)
-{
-	return check_dsc_debugfs(drmfd, connector_name, "FEC_Sink_Support: yes");
-}
-
-/*
- * igt_is_dsc_enabled:
- * @drmfd: A drm file descriptor
- * @connector_name: Name of the libdrm connector we're going to use
- *
- * Returns: True if DSC is enabled for the given connector, false otherwise.
- */
-bool igt_is_dsc_enabled(int drmfd, char *connector_name)
-{
-	return check_dsc_debugfs(drmfd, connector_name, "DSC_Enabled: yes");
-}
-
-/*
- * igt_is_force_dsc_enabled:
- * @drmfd: A drm file descriptor
- * @connector_name: Name of the libdrm connector we're going to use
- *
- * Returns: True if DSC is force enabled (via debugfs) for the given connector,
- * false otherwise.
- */
-bool igt_is_force_dsc_enabled(int drmfd, char *connector_name)
-{
-	return check_dsc_debugfs(drmfd, connector_name, "Force_DSC_Enable: yes");
-}
-
-/*
- * igt_force_dsc_enable:
- * @drmfd: A drm file descriptor
- * @connector_name: Name of the libdrm connector we're going to use
- *
- * Returns: 1 on success or negative error code, in case of failure.
- */
-int igt_force_dsc_enable(int drmfd, char *connector_name)
-{
-	return write_dsc_debugfs(drmfd, connector_name, "i915_dsc_fec_support", "1");
-}
-
-/*
- * igt_force_dsc_enable_bpc:
- * @drmfd: A drm file descriptor
- * @connector_name: Name of the libdrm connector we're going to use
- * @bpc: Input BPC
- *
- * Returns: No. of bytes written or negative error code, in case of failure.
- */
-int igt_force_dsc_enable_bpc(int drmfd, char *connector_name, int bpc)
-{
-	char buf[20] = {0};
-
-	sprintf(buf, "%d", bpc);
-
-	return write_dsc_debugfs(drmfd, connector_name, "i915_dsc_bpc", buf);
-}
-
-/*
- * igt_get_dsc_debugfs_fd:
- * @drmfd: A drm file descriptor
- * @connector_name: Name of the libdrm connector we're going to use
- *
- * Returns: fd of the DSC debugfs for the given connector, else returns -1.
- */
-int igt_get_dsc_debugfs_fd(int drmfd, char *connector_name)
-{
-	char file_name[128] = {0};
-
-	sprintf(file_name, "%s/i915_dsc_fec_support", connector_name);
-
-	return openat(igt_debugfs_dir(drmfd), file_name, O_WRONLY);
-}
-
 /*
  * igt_get_output_max_bpc:
  * @drmfd: A drm file descriptor
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 7a00d2045..be5482e08 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -974,16 +974,6 @@ void igt_require_pipe(igt_display_t *display,
 void igt_dump_connectors_fd(int drmfd);
 void igt_dump_crtcs_fd(int drmfd);
 bool igt_override_all_active_output_modes_to_fit_bw(igt_display_t *display);
-
-bool igt_is_dsc_supported(int drmfd, char *connector_name);
-bool igt_is_fec_supported(int drmfd, char *connector_name);
-bool igt_is_dsc_enabled(int drmfd, char *connector_name);
-bool igt_is_force_dsc_enabled(int drmfd, char *connector_name);
-int igt_force_dsc_enable(int drmfd, char *connector_name);
-int igt_force_dsc_enable_bpc(int drmfd, char *connector_name,
-			     int bpc);
-int igt_get_dsc_debugfs_fd(int drmfd, char *connector_name);
-
 unsigned int igt_get_output_max_bpc(int drmfd, char *connector_name);
 unsigned int igt_get_pipe_current_bpc(int drmfd, enum pipe pipe);
 void igt_assert_output_bpc_equal(int drmfd, enum pipe pipe,
diff --git a/lib/meson.build b/lib/meson.build
index cc7846869..4e5b08bcd 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -96,6 +96,7 @@ lib_sources = [
 	'igt_infoframe.c',
 	'veboxcopy_gen12.c',
 	'igt_msm.c',
+	'igt_dsc.c',
 ]
 
 lib_deps = [
-- 
2.25.1

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

* [igt-dev] [v3 2/4] Move wrapper functions from kms_dsc to kms_dsc_helper
  2023-01-19  9:25 [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Swati Sharma
  2023-01-19  9:25 ` [igt-dev] [v3 1/4] lib/dsc: Move VDSC functions to separate lib file Swati Sharma
@ 2023-01-19  9:25 ` Swati Sharma
  2023-01-19  9:25 ` [igt-dev] [v3 3/4] tests/i915/kms_dsc: Add disp_ver as struct data_t member Swati Sharma
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Swati Sharma @ 2023-01-19  9:25 UTC (permalink / raw)
  To: igt-dev

To add dsc concurrent tests, these wrapper functions can be
reused. Lets create separate helper file to avoid code duplication.

v2: -use of SPDX licence placeholder
    -add more parameters to exported functions (Jouni)
v3: -make var static (Jouni)

Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
 tests/i915/kms_dsc.c        | 133 +++---------------------------------
 tests/i915/kms_dsc_helper.c |  99 +++++++++++++++++++++++++++
 tests/i915/kms_dsc_helper.h |  35 ++++++++++
 tests/meson.build           |   9 ++-
 4 files changed, 151 insertions(+), 125 deletions(-)
 create mode 100644 tests/i915/kms_dsc_helper.c
 create mode 100644 tests/i915/kms_dsc_helper.h

diff --git a/tests/i915/kms_dsc.c b/tests/i915/kms_dsc.c
index 330fc050b..22239122c 100644
--- a/tests/i915/kms_dsc.c
+++ b/tests/i915/kms_dsc.c
@@ -29,22 +29,8 @@
  * Manasi Navare <manasi.d.navare@intel.com>
  *
  */
-#include "igt.h"
-#include "igt_sysfs.h"
-#include <errno.h>
-#include <getopt.h>
-#include <math.h>
-#include <stdint.h>
-#include <stdbool.h>
-#include <strings.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <time.h>
-#include <fcntl.h>
-#include <termios.h>
-
-#define HDISPLAY_5K	5120
+
+#include "kms_dsc_helper.h"
 
 IGT_TEST_DESCRIPTION("Test to validate display stream compression");
 
@@ -64,9 +50,6 @@ typedef struct {
 	enum pipe pipe;
 } data_t;
 
-bool force_dsc_en_orig;
-int force_dsc_restore_fd = -1;
-
 const struct {
 	const int format;
 	const char format_str[20];
@@ -84,56 +67,6 @@ static inline void manual(const char *expected)
 	igt_debug_interactive_mode_check("all", expected);
 }
 
-static void force_dsc_enable(data_t *data)
-{
-	int ret;
-
-	igt_debug("Forcing DSC enable on %s\n", data->output->name);
-	ret = igt_force_dsc_enable(data->drm_fd,
-				   data->output->name);
-	igt_assert_f(ret > 0, "debugfs_write failed");
-}
-
-static void force_dsc_enable_bpc(data_t *data)
-{
-	int ret;
-
-	igt_debug("Forcing input DSC BPC to %d on %s\n",
-		  data->input_bpc, data->output->name);
-	ret = igt_force_dsc_enable_bpc(data->drm_fd,
-				       data->output->name,
-				       data->input_bpc);
-	igt_assert_f(ret > 0, "debugfs_write failed");
-}
-
-static void save_force_dsc_en(data_t *data)
-{
-	force_dsc_en_orig =
-		igt_is_force_dsc_enabled(data->drm_fd,
-					 data->output->name);
-	force_dsc_restore_fd =
-		igt_get_dsc_debugfs_fd(data->drm_fd,
-				       data->output->name);
-	igt_assert(force_dsc_restore_fd >= 0);
-}
-
-static void restore_force_dsc_en(void)
-{
-	if (force_dsc_restore_fd < 0)
-		return;
-
-	igt_debug("Restoring DSC enable\n");
-	igt_assert(write(force_dsc_restore_fd, force_dsc_en_orig ? "1" : "0", 1) == 1);
-
-	close(force_dsc_restore_fd);
-	force_dsc_restore_fd = -1;
-}
-
-static void kms_dsc_exit_handler(int sig)
-{
-	restore_force_dsc_en();
-}
-
 static drmModeModeInfo *get_highres_mode(igt_output_t *output)
 {
 	drmModeConnector *connector = output->config.connector;
@@ -146,26 +79,6 @@ static drmModeModeInfo *get_highres_mode(igt_output_t *output)
 	return highest_mode;
 }
 
-static bool check_dsc_on_connector(data_t *data)
-{
-	igt_output_t *output = data->output;
-
-	if (!igt_is_dsc_supported(data->drm_fd, output->name)) {
-		igt_debug("DSC not supported on connector %s\n",
-			  output->name);
-		return false;
-	}
-
-	if (!output_is_internal_panel(output) &&
-	    !igt_is_fec_supported(data->drm_fd, output->name)) {
-		igt_debug("DSC cannot be enabled without FEC on %s\n",
-			  output->name);
-		return false;
-	}
-
-	return true;
-}
-
 static bool check_big_joiner_pipe_constraint(data_t *data)
 {
 	igt_output_t *output = data->output;
@@ -181,34 +94,6 @@ static bool check_big_joiner_pipe_constraint(data_t *data)
 	return true;
 }
 
-static bool check_gen11_dp_constraint(data_t *data)
-{
-	igt_output_t *output = data->output;
-	uint32_t devid = intel_get_drm_devid(data->drm_fd);
-	drmModeConnector *connector = output->config.connector;
-
-	if ((connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) &&
-	    (data->pipe == PIPE_A) && IS_GEN11(devid)) {
-		igt_debug("DSC not supported on pipe A on external DP in gen11 platforms\n");
-		return false;
-	}
-
-	return true;
-}
-
-/* Max DSC Input BPC for ICL is 10 and for TGL+ is 12 */
-static bool check_gen11_bpc_constraint(data_t *data)
-{
-	uint32_t devid = intel_get_drm_devid(data->drm_fd);
-
-	if (IS_GEN11(devid) && data->input_bpc == 12) {
-		igt_debug("Input bpc 12 not supported on gen11 platforms\n");
-		return false;
-	}
-
-	return true;
-}
-
 static void test_cleanup(data_t *data)
 {
 	igt_output_t *output = data->output;
@@ -235,12 +120,12 @@ static void update_display(data_t *data, enum dsc_test_type test_type, unsigned
 	igt_display_commit(display);
 
 	igt_debug("DSC is supported on %s\n", data->output->name);
-	save_force_dsc_en(data);
-	force_dsc_enable(data);
+	save_force_dsc_en(data->drm_fd, data->output);
+	force_dsc_enable(data->drm_fd, data->output);
 
 	if (test_type == TEST_DSC_BPC) {
 		igt_debug("Trying to set input BPC to %d\n", data->input_bpc);
-		force_dsc_enable_bpc(data);
+		force_dsc_enable_bpc(data->drm_fd, data->output, data->input_bpc);
 	}
 
 	igt_output_set_pipe(output, data->pipe);
@@ -279,7 +164,7 @@ static void update_display(data_t *data, enum dsc_test_type test_type, unsigned
 	restore_force_dsc_en();
 	igt_debug("Reset compression BPC\n");
 	data->input_bpc = 0;
-	force_dsc_enable_bpc(data);
+	force_dsc_enable_bpc(data->drm_fd, data->output, data->input_bpc);
 
 	igt_assert_f(enabled,
 		     "Default DSC enable failed on connector: %s pipe: %s\n",
@@ -302,13 +187,13 @@ static void test_dsc(data_t *data, enum dsc_test_type test_type, int bpc,
 		data->output = output;
 		data->pipe = pipe;
 
-		if (!check_dsc_on_connector(data))
+		if (!check_dsc_on_connector(data->drm_fd, data->output))
 			continue;
 
-		if (!check_gen11_dp_constraint(data))
+		if (!check_gen11_dp_constraint(data->drm_fd, data->output, data->pipe))
 			continue;
 
-		if (!check_gen11_bpc_constraint(data))
+		if (!check_gen11_bpc_constraint(data->drm_fd, data->output, data->input_bpc))
 			continue;
 
 		if (!check_big_joiner_pipe_constraint(data))
diff --git a/tests/i915/kms_dsc_helper.c b/tests/i915/kms_dsc_helper.c
new file mode 100644
index 000000000..535061a74
--- /dev/null
+++ b/tests/i915/kms_dsc_helper.c
@@ -0,0 +1,99 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#include "kms_dsc_helper.h"
+
+static bool force_dsc_en_orig;
+static int force_dsc_restore_fd = -1;
+
+void force_dsc_enable(int drmfd, igt_output_t *output)
+{
+	int ret;
+
+	igt_debug("Forcing DSC enable on %s\n", output->name);
+	ret = igt_force_dsc_enable(drmfd, output->name);
+	igt_assert_f(ret > 0, "debugfs_write failed");
+}
+
+void force_dsc_enable_bpc(int drmfd, igt_output_t *output, int input_bpc)
+{
+	int ret;
+
+	igt_debug("Forcing input DSC BPC to %d on %s\n",
+		  input_bpc, output->name);
+	ret = igt_force_dsc_enable_bpc(drmfd, output->name, input_bpc);
+	igt_assert_f(ret > 0, "debugfs_write failed");
+}
+
+void save_force_dsc_en(int drmfd, igt_output_t *output)
+{
+	force_dsc_en_orig =
+		igt_is_force_dsc_enabled(drmfd, output->name);
+	force_dsc_restore_fd =
+		igt_get_dsc_debugfs_fd(drmfd, output->name);
+	igt_assert(force_dsc_restore_fd >= 0);
+}
+
+void restore_force_dsc_en(void)
+{
+	if (force_dsc_restore_fd < 0)
+		return;
+
+	igt_debug("Restoring DSC enable\n");
+	igt_assert(write(force_dsc_restore_fd, force_dsc_en_orig ? "1" : "0", 1) == 1);
+
+	close(force_dsc_restore_fd);
+	force_dsc_restore_fd = -1;
+}
+
+void kms_dsc_exit_handler(int sig)
+{
+	restore_force_dsc_en();
+}
+
+bool check_dsc_on_connector(int drmfd, igt_output_t *output)
+{
+	if (!igt_is_dsc_supported(drmfd, output->name)) {
+		igt_debug("DSC not supported on connector %s\n",
+			  output->name);
+		return false;
+	}
+
+	if (!output_is_internal_panel(output) &&
+	    !igt_is_fec_supported(drmfd, output->name)) {
+		igt_debug("DSC cannot be enabled without FEC on %s\n",
+			  output->name);
+		return false;
+	}
+
+	return true;
+}
+
+bool check_gen11_dp_constraint(int drmfd, igt_output_t *output, enum pipe pipe)
+{
+	uint32_t devid = intel_get_drm_devid(drmfd);
+	drmModeConnector *connector = output->config.connector;
+
+	if ((connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) &&
+	    (pipe == PIPE_A) && IS_GEN11(devid)) {
+		igt_debug("DSC not supported on pipe A on external DP in gen11 platforms\n");
+		return false;
+	}
+
+	return true;
+}
+
+/* Max DSC Input BPC for ICL is 10 and for TGL+ is 12 */
+bool check_gen11_bpc_constraint(int drmfd, igt_output_t *output, int input_bpc)
+{
+	uint32_t devid = intel_get_drm_devid(drmfd);
+
+	if (IS_GEN11(devid) && input_bpc == 12) {
+		igt_debug("Input bpc 12 not supported on gen11 platforms\n");
+		return false;
+	}
+
+	return true;
+}
diff --git a/tests/i915/kms_dsc_helper.h b/tests/i915/kms_dsc_helper.h
new file mode 100644
index 000000000..fe479dac4
--- /dev/null
+++ b/tests/i915/kms_dsc_helper.h
@@ -0,0 +1,35 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2022 Intel Corporation
+ */
+
+#ifndef IGT_KMS_DSC_HELPER_H
+#define IGT_KMS_DSC_HELPER_H
+
+#include "igt.h"
+#include "igt_sysfs.h"
+#include <errno.h>
+#include <getopt.h>
+#include <math.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include <strings.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <signal.h>
+#include <time.h>
+#include <fcntl.h>
+#include <termios.h>
+
+#define HDISPLAY_5K	5120
+
+void force_dsc_enable(int drmfd, igt_output_t *output);
+void force_dsc_enable_bpc(int drmfd, igt_output_t *output, int input_bpc);
+void save_force_dsc_en(int drmfd, igt_output_t *output);
+void restore_force_dsc_en(void);
+void kms_dsc_exit_handler(int sig);
+bool check_dsc_on_connector(int drmfd, igt_output_t *output);
+bool check_gen11_dp_constraint(int drmfd, igt_output_t *output, enum pipe pipe);
+bool check_gen11_bpc_constraint(int drmfd, igt_output_t *output, int input_bpc);
+
+#endif
diff --git a/tests/meson.build b/tests/meson.build
index e20a86403..d41ed30fa 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -221,7 +221,6 @@ i915_progs = [
 	'kms_ccs',
 	'kms_cdclk',
 	'kms_draw_crc',
-	'kms_dsc',
 	'kms_fbcon_fbt',
 	'kms_fence_pin_leak',
 	'kms_flip_scaled_crc',
@@ -428,6 +427,14 @@ test_executables += executable('kms_color',
 	   install : true)
 test_list += 'kms_color'
 
+test_executables += executable('kms_dsc',
+	   [ join_paths('i915', 'kms_dsc.c'), join_paths ('i915', 'kms_dsc_helper.c')],
+	   dependencies : test_deps,
+	   install_dir : libexecdir,
+	   install_rpath : libexecdir_rpathdir,
+	   install : true)
+test_list += 'kms_dsc'
+
 if chamelium.found()
        test_executables += executable('kms_chamelium_color',
                              [ 'chamelium/kms_chamelium_color.c', 'kms_color_helper.c' ],
-- 
2.25.1

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

* [igt-dev] [v3 3/4] tests/i915/kms_dsc: Add disp_ver as struct data_t member
  2023-01-19  9:25 [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Swati Sharma
  2023-01-19  9:25 ` [igt-dev] [v3 1/4] lib/dsc: Move VDSC functions to separate lib file Swati Sharma
  2023-01-19  9:25 ` [igt-dev] [v3 2/4] Move wrapper functions from kms_dsc to kms_dsc_helper Swati Sharma
@ 2023-01-19  9:25 ` Swati Sharma
  2023-01-19  9:25 ` [igt-dev] [v3 4/4] tests/i915/kms_dsc_helper: Improve format string Swati Sharma
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Swati Sharma @ 2023-01-19  9:25 UTC (permalink / raw)
  To: igt-dev

disp_ver is added as struct data_t member. This is required
since features like fractional BPP and DSC YCBCR420 are
getting introduced from MTL+ and we need disp_ver check.

Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
 tests/i915/kms_dsc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/i915/kms_dsc.c b/tests/i915/kms_dsc.c
index 22239122c..8f32ae950 100644
--- a/tests/i915/kms_dsc.c
+++ b/tests/i915/kms_dsc.c
@@ -47,6 +47,7 @@ typedef struct {
 	igt_output_t *output;
 	int input_bpc;
 	int n_pipes;
+	int disp_ver;
 	enum pipe pipe;
 } data_t;
 
@@ -217,11 +218,12 @@ igt_main
 	igt_fixture {
 		data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
 		data.devid = intel_get_drm_devid(data.drm_fd);
+		data.disp_ver = intel_display_ver(data.devid);
 		kmstest_set_vt_graphics_mode();
 		igt_install_exit_handler(kms_dsc_exit_handler);
 		igt_display_require(&data.display, data.drm_fd);
 		igt_display_require_output(&data.display);
-		igt_require(intel_display_ver(data.devid) >= 11);
+		igt_require(data.disp_ver >= 11);
 		data.n_pipes = 0;
 		for_each_pipe(&data.display, i)
 			data.n_pipes++;
-- 
2.25.1

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

* [igt-dev] [v3 4/4] tests/i915/kms_dsc_helper: Improve format string
  2023-01-19  9:25 [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Swati Sharma
                   ` (2 preceding siblings ...)
  2023-01-19  9:25 ` [igt-dev] [v3 3/4] tests/i915/kms_dsc: Add disp_ver as struct data_t member Swati Sharma
@ 2023-01-19  9:25 ` Swati Sharma
  2023-01-19  9:35 ` [igt-dev] ✗ GitLab.Pipeline: warning for tests/i915/kms_dsc: Reorg (rev2) Patchwork
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Swati Sharma @ 2023-01-19  9:25 UTC (permalink / raw)
  To: igt-dev

Make format string more specific.

Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
 tests/i915/kms_dsc_helper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/i915/kms_dsc_helper.c b/tests/i915/kms_dsc_helper.c
index 535061a74..a80f3d787 100644
--- a/tests/i915/kms_dsc_helper.c
+++ b/tests/i915/kms_dsc_helper.c
@@ -14,7 +14,7 @@ void force_dsc_enable(int drmfd, igt_output_t *output)
 
 	igt_debug("Forcing DSC enable on %s\n", output->name);
 	ret = igt_force_dsc_enable(drmfd, output->name);
-	igt_assert_f(ret > 0, "debugfs_write failed");
+	igt_assert_f(ret > 0, "forcing dsc enable debugfs_write failed\n");
 }
 
 void force_dsc_enable_bpc(int drmfd, igt_output_t *output, int input_bpc)
@@ -24,7 +24,7 @@ void force_dsc_enable_bpc(int drmfd, igt_output_t *output, int input_bpc)
 	igt_debug("Forcing input DSC BPC to %d on %s\n",
 		  input_bpc, output->name);
 	ret = igt_force_dsc_enable_bpc(drmfd, output->name, input_bpc);
-	igt_assert_f(ret > 0, "debugfs_write failed");
+	igt_assert_f(ret > 0, "forcing input dsc bpc debugfs_write failed\n");
 }
 
 void save_force_dsc_en(int drmfd, igt_output_t *output)
-- 
2.25.1

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

* [igt-dev] ✗ GitLab.Pipeline: warning for tests/i915/kms_dsc: Reorg (rev2)
  2023-01-19  9:25 [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Swati Sharma
                   ` (3 preceding siblings ...)
  2023-01-19  9:25 ` [igt-dev] [v3 4/4] tests/i915/kms_dsc_helper: Improve format string Swati Sharma
@ 2023-01-19  9:35 ` Patchwork
  2023-01-20 14:18   ` Petri Latvala
  2023-01-19  9:54 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
                   ` (2 subsequent siblings)
  7 siblings, 1 reply; 11+ messages in thread
From: Patchwork @ 2023-01-19  9:35 UTC (permalink / raw)
  To: Swati Sharma; +Cc: igt-dev

== Series Details ==

Series: tests/i915/kms_dsc: Reorg (rev2)
URL   : https://patchwork.freedesktop.org/series/113045/
State : warning

== Summary ==

Pipeline status: FAILED.

see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/787716 for the overview.

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013257):
  /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
    uint32_t lessees[0];
    ^~~~~~~~
  /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
    uint32_t count;
    ^~~~~~~~
  /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
    uint32_t objects[0];
    ^~~~~~~~
  /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
   extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
                                         ^~~~~~~~
                                         intptr_t
  ninja: build stopped: subcommand failed.
  section_end:1674120610:step_script
  section_start:1674120610:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1674120611:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013260):
  /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
    uint32_t lessees[0];
    ^~~~~~~~
  /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
    uint32_t count;
    ^~~~~~~~
  /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
    uint32_t objects[0];
    ^~~~~~~~
  /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
   extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
                                         ^~~~~~~~
                                         intptr_t
  ninja: build stopped: subcommand failed.
  section_end:1674120611:step_script
  section_start:1674120611:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1674120612:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013259):
  /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
    uint32_t lessees[0];
    ^~~~~~~~
  /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
    uint32_t count;
    ^~~~~~~~
  /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
    uint32_t objects[0];
    ^~~~~~~~
  /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
   extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
                                         ^~~~~~~~
                                         intptr_t
  ninja: build stopped: subcommand failed.
  section_end:1674120610:step_script
  section_start:1674120610:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1674120611:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013261):
  /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
    uint32_t lessees[0];
    ^~~~~~~~
  /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
    uint32_t count;
    ^~~~~~~~
  /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
    uint32_t objects[0];
    ^~~~~~~~
  /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
   extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
                                         ^~~~~~~~
                                         intptr_t
  ninja: build stopped: subcommand failed.
  section_end:1674120608:step_script
  section_start:1674120608:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1674120609:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013258):
  /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
    uint32_t lessees[0];
    ^~~~~~~~
  /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
    uint32_t count;
    ^~~~~~~~
  /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
    uint32_t objects[0];
    ^~~~~~~~
  /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
   extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
                                         ^~~~~~~~
                                         intptr_t
  ninja: build stopped: subcommand failed.
  section_end:1674120605:step_script
  section_start:1674120605:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1674120606:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013252):
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
    533 |  uint32_t lessees[0];
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
    539 |  uint32_t count;
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
    540 |  uint32_t objects[0];
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
    545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
        |                                       ^~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1674120609:step_script
  section_start:1674120609:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1674120610:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013256):
          uint32_t bpp;
          ^
  /usr/include/xf86drmMode.h:221:2: error: unknown type name 'uint32_t'
          uint32_t depth;
          ^
  /usr/include/xf86drmMode.h:223:2: error: unknown type name 'uint32_t'
          uint32_t handle;
          ^
  /usr/include/xf86drmMode.h:229:2: error: unknown type name 'uint32_t'
          uint32_t id;
          ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  ninja: build stopped: subcommand failed.
  section_end:1674120615:step_script
  section_start:1674120615:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1674120615:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013255):
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
    533 |  uint32_t lessees[0];
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
    539 |  uint32_t count;
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
    540 |  uint32_t objects[0];
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
    545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
        |                                       ^~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1674120606:step_script
  section_start:1674120606:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1674120606:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013253):
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
    533 |  uint32_t lessees[0];
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
    539 |  uint32_t count;
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
    540 |  uint32_t objects[0];
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
    545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
        |                                       ^~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1674120608:step_script
  section_start:1674120608:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1674120608:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013254):
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
    533 |  uint32_t lessees[0];
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
    539 |  uint32_t count;
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
    540 |  uint32_t objects[0];
        |  ^~~~~~~~
  /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
    545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
        |                                       ^~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1674120610:step_script
  section_start:1674120610:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1674120611:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/787716

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

* [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/kms_dsc: Reorg (rev2)
  2023-01-19  9:25 [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Swati Sharma
                   ` (4 preceding siblings ...)
  2023-01-19  9:35 ` [igt-dev] ✗ GitLab.Pipeline: warning for tests/i915/kms_dsc: Reorg (rev2) Patchwork
@ 2023-01-19  9:54 ` Patchwork
  2023-01-20  7:25 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  2023-01-20 10:44 ` [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Hogander, Jouni
  7 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2023-01-19  9:54 UTC (permalink / raw)
  To: Swati Sharma; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 6770 bytes --]

== Series Details ==

Series: tests/i915/kms_dsc: Reorg (rev2)
URL   : https://patchwork.freedesktop.org/series/113045/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12608 -> IGTPW_8373
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/index.html

Participating hosts (39 -> 36)
------------------------------

  Additional (1): fi-rkl-11600 
  Missing    (4): fi-kbl-soraka fi-ilk-650 fi-icl-u2 fi-snb-2520m 

Known issues
------------

  Here are the changes found in IGTPW_8373 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@debugfs_test@basic-hwmon:
    - fi-rkl-11600:       NOTRUN -> [SKIP][1] ([i915#7456])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@debugfs_test@basic-hwmon.html

  * igt@gem_exec_suspend@basic-s3@smem:
    - fi-rkl-11600:       NOTRUN -> [FAIL][2] ([fdo#103375])
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@gem_exec_suspend@basic-s3@smem.html

  * igt@gem_huc_copy@huc-copy:
    - fi-rkl-11600:       NOTRUN -> [SKIP][3] ([i915#2190])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@gem_huc_copy@huc-copy.html

  * igt@gem_lmem_swapping@parallel-random-engines:
    - fi-rkl-11600:       NOTRUN -> [SKIP][4] ([i915#4613]) +3 similar issues
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@gem_lmem_swapping@parallel-random-engines.html

  * igt@gem_tiled_pread_basic:
    - fi-rkl-11600:       NOTRUN -> [SKIP][5] ([i915#3282])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@gem_tiled_pread_basic.html

  * igt@i915_pm_backlight@basic-brightness:
    - fi-rkl-11600:       NOTRUN -> [SKIP][6] ([i915#7561])
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@i915_pm_backlight@basic-brightness.html

  * igt@kms_chamelium_hpd@dp-hpd-fast:
    - fi-rkl-11600:       NOTRUN -> [SKIP][7] ([i915#7828]) +8 similar issues
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@kms_chamelium_hpd@dp-hpd-fast.html

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
    - fi-rkl-11600:       NOTRUN -> [SKIP][8] ([i915#4103])
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@kms_cursor_legacy@basic-busy-flip-before-cursor.html

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions:
    - fi-bsw-n3050:       [PASS][9] -> [FAIL][10] ([i915#6298])
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/fi-bsw-n3050/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-bsw-n3050/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions.html

  * igt@kms_force_connector_basic@force-load-detect:
    - fi-rkl-11600:       NOTRUN -> [SKIP][11] ([fdo#109285] / [i915#4098])
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@kms_force_connector_basic@force-load-detect.html

  * igt@kms_psr@sprite_plane_onoff:
    - fi-rkl-11600:       NOTRUN -> [SKIP][12] ([i915#1072]) +3 similar issues
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@kms_psr@sprite_plane_onoff.html

  * igt@kms_setmode@basic-clone-single-crtc:
    - fi-rkl-11600:       NOTRUN -> [SKIP][13] ([i915#3555] / [i915#4098])
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@kms_setmode@basic-clone-single-crtc.html

  * igt@prime_vgem@basic-read:
    - fi-rkl-11600:       NOTRUN -> [SKIP][14] ([fdo#109295] / [i915#3291] / [i915#3708]) +2 similar issues
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@prime_vgem@basic-read.html

  * igt@prime_vgem@basic-userptr:
    - fi-rkl-11600:       NOTRUN -> [SKIP][15] ([fdo#109295] / [i915#3301] / [i915#3708])
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-rkl-11600/igt@prime_vgem@basic-userptr.html

  
#### Possible fixes ####

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size:
    - fi-bsw-n3050:       [FAIL][16] ([i915#6298]) -> [PASS][17]
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/fi-bsw-n3050/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/fi-bsw-n3050/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
  [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
  [fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
  [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
  [i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
  [i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
  [i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
  [i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
  [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
  [i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
  [i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
  [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
  [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
  [i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
  [i915#6257]: https://gitlab.freedesktop.org/drm/intel/issues/6257
  [i915#6298]: https://gitlab.freedesktop.org/drm/intel/issues/6298
  [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
  [i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
  [i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
  [i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
  [i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
  [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_7124 -> IGTPW_8373

  CI-20190529: 20190529
  CI_DRM_12608: 9bc304ac2c7586f2679ad346d4627db64328dc9b @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_8373: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/index.html
  IGT_7124: 6090d0a62e9c087429320c6fd3b6735ff68fde71 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/index.html

[-- Attachment #2: Type: text/html, Size: 7665 bytes --]

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

* [igt-dev] ✓ Fi.CI.IGT: success for tests/i915/kms_dsc: Reorg (rev2)
  2023-01-19  9:25 [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Swati Sharma
                   ` (5 preceding siblings ...)
  2023-01-19  9:54 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
@ 2023-01-20  7:25 ` Patchwork
  2023-01-20 10:44 ` [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Hogander, Jouni
  7 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2023-01-20  7:25 UTC (permalink / raw)
  To: Swati Sharma; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 21392 bytes --]

== Series Details ==

Series: tests/i915/kms_dsc: Reorg (rev2)
URL   : https://patchwork.freedesktop.org/series/113045/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12608_full -> IGTPW_8373_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/index.html

Participating hosts (12 -> 11)
------------------------------

  Additional (1): shard-rkl0 
  Missing    (2): pig-skl-6260u pig-kbl-iris 

Known issues
------------

  Here are the changes found in IGTPW_8373_full that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_fair@basic-pace-share@rcs0:
    - shard-glk:          [PASS][1] -> [FAIL][2] ([i915#2842]) +4 similar issues
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-glk5/igt@gem_exec_fair@basic-pace-share@rcs0.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-glk4/igt@gem_exec_fair@basic-pace-share@rcs0.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a2:
    - shard-glk:          [PASS][3] -> [FAIL][4] ([i915#79])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-glk9/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a2.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-glk4/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a2.html

  * igt@kms_flip@flip-vs-suspend@c-dp1:
    - shard-apl:          [PASS][5] -> [DMESG-WARN][6] ([i915#180])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-apl2/igt@kms_flip@flip-vs-suspend@c-dp1.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-apl3/igt@kms_flip@flip-vs-suspend@c-dp1.html

  * igt@kms_hdr@bpc-switch-suspend@pipe-a-dp-1:
    - shard-apl:          [PASS][7] -> [FAIL][8] ([i915#1188])
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-apl1/igt@kms_hdr@bpc-switch-suspend@pipe-a-dp-1.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-apl2/igt@kms_hdr@bpc-switch-suspend@pipe-a-dp-1.html

  * igt@kms_rotation_crc@primary-y-tiled-reflect-x-180:
    - shard-snb:          NOTRUN -> [SKIP][9] ([fdo#109271]) +15 similar issues
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-snb5/igt@kms_rotation_crc@primary-y-tiled-reflect-x-180.html

  * igt@runner@aborted:
    - shard-apl:          NOTRUN -> [FAIL][10] ([i915#180] / [i915#4312])
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-apl3/igt@runner@aborted.html

  
#### Possible fixes ####

  * igt@device_reset@unbind-reset-rebind:
    - {shard-rkl}:        [DMESG-WARN][11] ([i915#5507]) -> [PASS][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-rkl-4/igt@device_reset@unbind-reset-rebind.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-rkl-3/igt@device_reset@unbind-reset-rebind.html

  * igt@drm_fdinfo@most-busy-idle-check-all@rcs0:
    - {shard-rkl}:        [FAIL][13] ([i915#7742]) -> [PASS][14]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-rkl-1/igt@drm_fdinfo@most-busy-idle-check-all@rcs0.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-rkl-3/igt@drm_fdinfo@most-busy-idle-check-all@rcs0.html

  * igt@gem_bad_reloc@negative-reloc-lut:
    - {shard-rkl}:        [SKIP][15] ([i915#3281]) -> [PASS][16] +6 similar issues
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-rkl-2/igt@gem_bad_reloc@negative-reloc-lut.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-rkl-5/igt@gem_bad_reloc@negative-reloc-lut.html

  * igt@gem_exec_fair@basic-none-rrul@rcs0:
    - {shard-rkl}:        [FAIL][17] ([i915#2842]) -> [PASS][18]
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-rkl-1/igt@gem_exec_fair@basic-none-rrul@rcs0.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-rkl-5/igt@gem_exec_fair@basic-none-rrul@rcs0.html

  * igt@gem_exec_fair@basic-none@vecs0:
    - shard-glk:          [FAIL][19] ([i915#2842]) -> [PASS][20]
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-glk6/igt@gem_exec_fair@basic-none@vecs0.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-glk4/igt@gem_exec_fair@basic-none@vecs0.html

  * igt@gem_exec_fair@basic-pace-share@rcs0:
    - shard-apl:          [FAIL][21] ([i915#2842]) -> [PASS][22]
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-apl3/igt@gem_exec_fair@basic-pace-share@rcs0.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-apl7/igt@gem_exec_fair@basic-pace-share@rcs0.html

  * igt@gem_mmap_gtt@coherency:
    - {shard-rkl}:        [SKIP][23] ([fdo#111656]) -> [PASS][24]
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-rkl-1/igt@gem_mmap_gtt@coherency.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-rkl-5/igt@gem_mmap_gtt@coherency.html

  * igt@gem_partial_pwrite_pread@writes-after-reads-uncached:
    - {shard-rkl}:        [SKIP][25] ([i915#3282]) -> [PASS][26] +4 similar issues
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-rkl-3/igt@gem_partial_pwrite_pread@writes-after-reads-uncached.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-rkl-5/igt@gem_partial_pwrite_pread@writes-after-reads-uncached.html

  * igt@i915_module_load@reload-no-display:
    - shard-snb:          [DMESG-WARN][27] ([i915#4528]) -> [PASS][28]
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-snb7/igt@i915_module_load@reload-no-display.html
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-snb2/igt@i915_module_load@reload-no-display.html

  * igt@i915_pm_rpm@dpms-non-lpsp:
    - {shard-dg1}:        [SKIP][29] ([i915#1397]) -> [PASS][30]
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-dg1-14/igt@i915_pm_rpm@dpms-non-lpsp.html
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-dg1-15/igt@i915_pm_rpm@dpms-non-lpsp.html

  * igt@kms_big_fb@y-tiled-8bpp-rotate-180:
    - {shard-tglu}:       [SKIP][31] ([i915#1845] / [i915#7651]) -> [PASS][32] +2 similar issues
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-tglu-6/igt@kms_big_fb@y-tiled-8bpp-rotate-180.html
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-tglu-5/igt@kms_big_fb@y-tiled-8bpp-rotate-180.html

  * igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size:
    - shard-apl:          [FAIL][33] ([i915#2346]) -> [PASS][34] +1 similar issue
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-apl3/igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size.html
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-apl1/igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size.html
    - shard-glk:          [FAIL][35] ([i915#2346]) -> [PASS][36]
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-glk2/igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size.html
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-glk7/igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-gtt:
    - {shard-tglu}:       [SKIP][37] ([i915#1849]) -> [PASS][38]
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-tglu-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-gtt.html
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-tglu-1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-gtt.html

  * igt@kms_universal_plane@universal-plane-pageflip-windowed-pipe-c:
    - {shard-tglu}:       [SKIP][39] ([fdo#109274]) -> [PASS][40]
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-tglu-6/igt@kms_universal_plane@universal-plane-pageflip-windowed-pipe-c.html
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-tglu-5/igt@kms_universal_plane@universal-plane-pageflip-windowed-pipe-c.html

  * igt@kms_vblank@pipe-c-accuracy-idle:
    - {shard-tglu}:       [SKIP][41] ([i915#7651]) -> [PASS][42] +1 similar issue
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-tglu-6/igt@kms_vblank@pipe-c-accuracy-idle.html
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-tglu-1/igt@kms_vblank@pipe-c-accuracy-idle.html

  * igt@perf@gen12-unprivileged-single-ctx-counters:
    - {shard-rkl}:        [SKIP][43] ([fdo#109289]) -> [PASS][44]
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-rkl-5/igt@perf@gen12-unprivileged-single-ctx-counters.html
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-rkl-3/igt@perf@gen12-unprivileged-single-ctx-counters.html

  * igt@prime_vgem@basic-write:
    - {shard-rkl}:        [SKIP][45] ([fdo#109295] / [i915#3291] / [i915#3708]) -> [PASS][46] +1 similar issue
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-rkl-2/igt@prime_vgem@basic-write.html
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-rkl-5/igt@prime_vgem@basic-write.html

  
#### Warnings ####

  * igt@kms_dsc@dsc-with-bpc-formats:
    - shard-glk:          [SKIP][47] ([fdo#109271] / [i915#7205]) -> [SKIP][48] ([fdo#109271])
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-glk8/igt@kms_dsc@dsc-with-bpc-formats.html
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-glk6/igt@kms_dsc@dsc-with-bpc-formats.html
    - shard-apl:          [SKIP][49] ([fdo#109271] / [i915#7205]) -> [SKIP][50] ([fdo#109271])
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12608/shard-apl1/igt@kms_dsc@dsc-with-bpc-formats.html
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/shard-apl6/igt@kms_dsc@dsc-with-bpc-formats.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
  [fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
  [fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
  [fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
  [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
  [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
  [fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
  [fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
  [fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
  [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
  [fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
  [fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
  [fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
  [fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
  [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
  [fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
  [fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
  [fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
  [fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
  [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
  [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
  [fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
  [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
  [i915#1188]: https://gitlab.freedesktop.org/drm/intel/issues/1188
  [i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
  [i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
  [i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
  [i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
  [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
  [i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
  [i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
  [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
  [i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
  [i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902
  [i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
  [i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
  [i915#2435]: https://gitlab.freedesktop.org/drm/intel/issues/2435
  [i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
  [i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
  [i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
  [i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
  [i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
  [i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
  [i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
  [i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
  [i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
  [i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
  [i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
  [i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
  [i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
  [i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
  [i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
  [i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
  [i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
  [i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
  [i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
  [i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
  [i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
  [i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
  [i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
  [i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
  [i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
  [i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
  [i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
  [i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
  [i915#3547]: https://gitlab.freedesktop.org/drm/intel/issues/3547
  [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
  [i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
  [i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
  [i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
  [i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
  [i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
  [i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
  [i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
  [i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
  [i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
  [i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
  [i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936
  [i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
  [i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
  [i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
  [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
  [i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
  [i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
  [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
  [i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
  [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
  [i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
  [i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
  [i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
  [i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
  [i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
  [i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
  [i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
  [i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
  [i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
  [i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528
  [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
  [i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
  [i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
  [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
  [i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
  [i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
  [i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
  [i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
  [i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
  [i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
  [i915#4877]: https://gitlab.freedesktop.org/drm/intel/issues/4877
  [i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
  [i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
  [i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
  [i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
  [i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
  [i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
  [i915#5327]: https://gitlab.freedesktop.org/drm/intel/issues/5327
  [i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
  [i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
  [i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
  [i915#5507]: https://gitlab.freedesktop.org/drm/intel/issues/5507
  [i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
  [i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
  [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
  [i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
  [i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
  [i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
  [i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
  [i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
  [i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
  [i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
  [i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
  [i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
  [i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
  [i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
  [i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
  [i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
  [i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
  [i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
  [i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
  [i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
  [i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
  [i915#7052]: https://gitlab.freedesktop.org/drm/intel/issues/7052
  [i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
  [i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
  [i915#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128
  [i915#7205]: https://gitlab.freedesktop.org/drm/intel/issues/7205
  [i915#7294]: https://gitlab.freedesktop.org/drm/intel/issues/7294
  [i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
  [i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
  [i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
  [i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
  [i915#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707
  [i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
  [i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
  [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
  [i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_7124 -> IGTPW_8373
  * Piglit: piglit_4509 -> None

  CI-20190529: 20190529
  CI_DRM_12608: 9bc304ac2c7586f2679ad346d4627db64328dc9b @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_8373: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/index.html
  IGT_7124: 6090d0a62e9c087429320c6fd3b6735ff68fde71 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8373/index.html

[-- Attachment #2: Type: text/html, Size: 14281 bytes --]

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

* Re: [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg
  2023-01-19  9:25 [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Swati Sharma
                   ` (6 preceding siblings ...)
  2023-01-20  7:25 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2023-01-20 10:44 ` Hogander, Jouni
  7 siblings, 0 replies; 11+ messages in thread
From: Hogander, Jouni @ 2023-01-20 10:44 UTC (permalink / raw)
  To: igt-dev@lists.freedesktop.org, Sharma, Swati2

On Thu, 2023-01-19 at 14:55 +0530, Swati Sharma wrote:
> In this patch series, helper functions for kms_dsc
> are introuduced which will reduce code duplication
> while creating dsc concurrent tests (eg: PSR)
> 
> This is split from https://patchwork.freedesktop.org/series/111342/
> since YCBCR420 DSC required driver+igt changes.
> 
> Also, few other trivial changes are done.

For the whole set:

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
> 

> Swati Sharma (4):
>   lib/dsc: Move VDSC functions to separate lib file
>   Move wrapper functions from kms_dsc to kms_dsc_helper
>   tests/i915/kms_dsc: Add disp_ver as struct data_t member
>   tests/i915/kms_dsc_helper: Improve format string
> 
>  lib/igt.h                   |   1 +
>  lib/igt_dsc.c               | 133 ++++++++++++++++++++++++++++++++++
>  lib/igt_dsc.h               |  19 +++++
>  lib/igt_kms.c               | 127 ---------------------------------
>  lib/igt_kms.h               |  10 ---
>  lib/meson.build             |   1 +
>  tests/i915/kms_dsc.c        | 137 ++++------------------------------
> --
>  tests/i915/kms_dsc_helper.c |  99 ++++++++++++++++++++++++++
>  tests/i915/kms_dsc_helper.h |  35 +++++++++
>  tests/meson.build           |   9 ++-
>  10 files changed, 308 insertions(+), 263 deletions(-)
>  create mode 100644 lib/igt_dsc.c
>  create mode 100644 lib/igt_dsc.h
>  create mode 100644 tests/i915/kms_dsc_helper.c
>  create mode 100644 tests/i915/kms_dsc_helper.h
> 


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

* Re: [igt-dev] ✗ GitLab.Pipeline:  warning for tests/i915/kms_dsc: Reorg (rev2)
  2023-01-19  9:35 ` [igt-dev] ✗ GitLab.Pipeline: warning for tests/i915/kms_dsc: Reorg (rev2) Patchwork
@ 2023-01-20 14:18   ` Petri Latvala
  2023-01-20 14:44     ` Swati Sharma
  0 siblings, 1 reply; 11+ messages in thread
From: Petri Latvala @ 2023-01-20 14:18 UTC (permalink / raw)
  To: igt-dev

On Thu, Jan 19, 2023 at 09:35:09AM +0000, Patchwork wrote:
> == Series Details ==
> 
> Series: tests/i915/kms_dsc: Reorg (rev2)
> URL   : https://patchwork.freedesktop.org/series/113045/
> State : warning
> 
> == Summary ==
> 
> Pipeline status: FAILED.
> 
> see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/787716 for the overview.
> 
> build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013257):
>   /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>     uint32_t lessees[0];
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>     uint32_t count;
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>     uint32_t objects[0];
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
>    extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>                                          ^~~~~~~~
>                                          intptr_t
>   ninja: build stopped: subcommand failed.
>   section_end:1674120610:step_script
>   section_start:1674120610:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1674120611:cleanup_file_variables
>   ERROR: Job failed: exit code 1
>   
> 
> build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013260):
>   /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>     uint32_t lessees[0];
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>     uint32_t count;
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>     uint32_t objects[0];
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
>    extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>                                          ^~~~~~~~
>                                          intptr_t
>   ninja: build stopped: subcommand failed.
>   section_end:1674120611:step_script
>   section_start:1674120611:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1674120612:cleanup_file_variables
>   ERROR: Job failed: exit code 1
>   
> 
> build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013259):
>   /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>     uint32_t lessees[0];
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>     uint32_t count;
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>     uint32_t objects[0];
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
>    extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>                                          ^~~~~~~~
>                                          intptr_t
>   ninja: build stopped: subcommand failed.
>   section_end:1674120610:step_script
>   section_start:1674120610:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1674120611:cleanup_file_variables
>   ERROR: Job failed: exit code 1
>   
> 
> build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013261):
>   /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>     uint32_t lessees[0];
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>     uint32_t count;
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>     uint32_t objects[0];
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
>    extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>                                          ^~~~~~~~
>                                          intptr_t
>   ninja: build stopped: subcommand failed.
>   section_end:1674120608:step_script
>   section_start:1674120608:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1674120609:cleanup_file_variables
>   ERROR: Job failed: exit code 1
>   
> 
> build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013258):
>   /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>     uint32_t lessees[0];
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>     uint32_t count;
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>     uint32_t objects[0];
>     ^~~~~~~~
>   /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
>    extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>                                          ^~~~~~~~
>                                          intptr_t
>   ninja: build stopped: subcommand failed.
>   section_end:1674120605:step_script
>   section_start:1674120605:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1674120606:cleanup_file_variables
>   ERROR: Job failed: exit code 1
>   
> 
> build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013252):
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>     533 |  uint32_t lessees[0];
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>     539 |  uint32_t count;
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>     540 |  uint32_t objects[0];
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
>     545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>         |                                       ^~~~~~~~
>   ninja: build stopped: subcommand failed.
>   section_end:1674120609:step_script
>   section_start:1674120609:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1674120610:cleanup_file_variables
>   ERROR: Job failed: exit code 1
>   
> 
> build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013256):
>           uint32_t bpp;
>           ^
>   /usr/include/xf86drmMode.h:221:2: error: unknown type name 'uint32_t'
>           uint32_t depth;
>           ^
>   /usr/include/xf86drmMode.h:223:2: error: unknown type name 'uint32_t'
>           uint32_t handle;
>           ^
>   /usr/include/xf86drmMode.h:229:2: error: unknown type name 'uint32_t'
>           uint32_t id;
>           ^
>   fatal error: too many errors emitted, stopping now [-ferror-limit=]
>   20 errors generated.
>   ninja: build stopped: subcommand failed.
>   section_end:1674120615:step_script
>   section_start:1674120615:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1674120615:cleanup_file_variables
>   ERROR: Job failed: exit code 1
>   
> 
> build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013255):
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>     533 |  uint32_t lessees[0];
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>     539 |  uint32_t count;
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>     540 |  uint32_t objects[0];
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
>     545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>         |                                       ^~~~~~~~
>   ninja: build stopped: subcommand failed.
>   section_end:1674120606:step_script
>   section_start:1674120606:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1674120606:cleanup_file_variables
>   ERROR: Job failed: exit code 1
>   
> 
> build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013253):
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>     533 |  uint32_t lessees[0];
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>     539 |  uint32_t count;
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>     540 |  uint32_t objects[0];
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
>     545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>         |                                       ^~~~~~~~
>   ninja: build stopped: subcommand failed.
>   section_end:1674120608:step_script
>   section_start:1674120608:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1674120608:cleanup_file_variables
>   ERROR: Job failed: exit code 1
>   
> 
> build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013254):
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>     533 |  uint32_t lessees[0];
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>     539 |  uint32_t count;
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>     540 |  uint32_t objects[0];
>         |  ^~~~~~~~
>   /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
>     545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>         |                                       ^~~~~~~~
>   ninja: build stopped: subcommand failed.
>   section_end:1674120610:step_script
>   section_start:1674120610:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1674120611:cleanup_file_variables
>   ERROR: Job failed: exit code 1
> 
> == Logs ==
> 
> For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/787716

Why was this series merged with these errors?


-- 
Petri Latvala

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

* Re: [igt-dev] ✗ GitLab.Pipeline: warning for tests/i915/kms_dsc: Reorg (rev2)
  2023-01-20 14:18   ` Petri Latvala
@ 2023-01-20 14:44     ` Swati Sharma
  0 siblings, 0 replies; 11+ messages in thread
From: Swati Sharma @ 2023-01-20 14:44 UTC (permalink / raw)
  To: Petri Latvala, igt-dev



On 20-Jan-23 7:48 PM, Petri Latvala wrote:
> On Thu, Jan 19, 2023 at 09:35:09AM +0000, Patchwork wrote:
>> == Series Details ==
>>
>> Series: tests/i915/kms_dsc: Reorg (rev2)
>> URL   : https://patchwork.freedesktop.org/series/113045/
>> State : warning
>>
>> == Summary ==
>>
>> Pipeline status: FAILED.
>>
>> see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/787716 for the overview.
>>
>> build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013257):
>>    /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>>      uint32_t lessees[0];
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>>      uint32_t count;
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>>      uint32_t objects[0];
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
>>     extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>>                                           ^~~~~~~~
>>                                           intptr_t
>>    ninja: build stopped: subcommand failed.
>>    section_end:1674120610:step_script
>>    section_start:1674120610:cleanup_file_variables
>>    Cleaning up project directory and file based variables
>>    section_end:1674120611:cleanup_file_variables
>>    ERROR: Job failed: exit code 1
>>    
>>
>> build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013260):
>>    /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>>      uint32_t lessees[0];
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>>      uint32_t count;
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>>      uint32_t objects[0];
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
>>     extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>>                                           ^~~~~~~~
>>                                           intptr_t
>>    ninja: build stopped: subcommand failed.
>>    section_end:1674120611:step_script
>>    section_start:1674120611:cleanup_file_variables
>>    Cleaning up project directory and file based variables
>>    section_end:1674120612:cleanup_file_variables
>>    ERROR: Job failed: exit code 1
>>    
>>
>> build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013259):
>>    /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>>      uint32_t lessees[0];
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>>      uint32_t count;
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>>      uint32_t objects[0];
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
>>     extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>>                                           ^~~~~~~~
>>                                           intptr_t
>>    ninja: build stopped: subcommand failed.
>>    section_end:1674120610:step_script
>>    section_start:1674120610:cleanup_file_variables
>>    Cleaning up project directory and file based variables
>>    section_end:1674120611:cleanup_file_variables
>>    ERROR: Job failed: exit code 1
>>    
>>
>> build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013261):
>>    /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>>      uint32_t lessees[0];
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>>      uint32_t count;
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>>      uint32_t objects[0];
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
>>     extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>>                                           ^~~~~~~~
>>                                           intptr_t
>>    ninja: build stopped: subcommand failed.
>>    section_end:1674120608:step_script
>>    section_start:1674120608:cleanup_file_variables
>>    Cleaning up project directory and file based variables
>>    section_end:1674120609:cleanup_file_variables
>>    ERROR: Job failed: exit code 1
>>    
>>
>> build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013258):
>>    /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>>      uint32_t lessees[0];
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>>      uint32_t count;
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>>      uint32_t objects[0];
>>      ^~~~~~~~
>>    /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’; did you mean ‘intptr_t’?
>>     extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>>                                           ^~~~~~~~
>>                                           intptr_t
>>    ninja: build stopped: subcommand failed.
>>    section_end:1674120605:step_script
>>    section_start:1674120605:cleanup_file_variables
>>    Cleaning up project directory and file based variables
>>    section_end:1674120606:cleanup_file_variables
>>    ERROR: Job failed: exit code 1
>>    
>>
>> build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013252):
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>>      533 |  uint32_t lessees[0];
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>>      539 |  uint32_t count;
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>>      540 |  uint32_t objects[0];
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
>>      545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>>          |                                       ^~~~~~~~
>>    ninja: build stopped: subcommand failed.
>>    section_end:1674120609:step_script
>>    section_start:1674120609:cleanup_file_variables
>>    Cleaning up project directory and file based variables
>>    section_end:1674120610:cleanup_file_variables
>>    ERROR: Job failed: exit code 1
>>    
>>
>> build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013256):
>>            uint32_t bpp;
>>            ^
>>    /usr/include/xf86drmMode.h:221:2: error: unknown type name 'uint32_t'
>>            uint32_t depth;
>>            ^
>>    /usr/include/xf86drmMode.h:223:2: error: unknown type name 'uint32_t'
>>            uint32_t handle;
>>            ^
>>    /usr/include/xf86drmMode.h:229:2: error: unknown type name 'uint32_t'
>>            uint32_t id;
>>            ^
>>    fatal error: too many errors emitted, stopping now [-ferror-limit=]
>>    20 errors generated.
>>    ninja: build stopped: subcommand failed.
>>    section_end:1674120615:step_script
>>    section_start:1674120615:cleanup_file_variables
>>    Cleaning up project directory and file based variables
>>    section_end:1674120615:cleanup_file_variables
>>    ERROR: Job failed: exit code 1
>>    
>>
>> build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013255):
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>>      533 |  uint32_t lessees[0];
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>>      539 |  uint32_t count;
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>>      540 |  uint32_t objects[0];
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
>>      545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>>          |                                       ^~~~~~~~
>>    ninja: build stopped: subcommand failed.
>>    section_end:1674120606:step_script
>>    section_start:1674120606:cleanup_file_variables
>>    Cleaning up project directory and file based variables
>>    section_end:1674120606:cleanup_file_variables
>>    ERROR: Job failed: exit code 1
>>    
>>
>> build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013253):
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>>      533 |  uint32_t lessees[0];
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>>      539 |  uint32_t count;
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>>      540 |  uint32_t objects[0];
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
>>      545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>>          |                                       ^~~~~~~~
>>    ninja: build stopped: subcommand failed.
>>    section_end:1674120608:step_script
>>    section_start:1674120608:cleanup_file_variables
>>    Cleaning up project directory and file based variables
>>    section_end:1674120608:cleanup_file_variables
>>    ERROR: Job failed: exit code 1
>>    
>>
>> build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/35013254):
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
>>      533 |  uint32_t lessees[0];
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:539:2: error: unknown type name ‘uint32_t’
>>      539 |  uint32_t count;
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:540:2: error: unknown type name ‘uint32_t’
>>      540 |  uint32_t objects[0];
>>          |  ^~~~~~~~
>>    /usr/include/xf86drmMode.h:545:39: error: unknown type name ‘uint32_t’
>>      545 | extern int drmModeRevokeLease(int fd, uint32_t lessee_id);
>>          |                                       ^~~~~~~~
>>    ninja: build stopped: subcommand failed.
>>    section_end:1674120610:step_script
>>    section_start:1674120610:cleanup_file_variables
>>    Cleaning up project directory and file based variables
>>    section_end:1674120611:cleanup_file_variables
>>    ERROR: Job failed: exit code 1
>>
>> == Logs ==
>>
>> For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/787716
> 
> Why was this series merged with these errors?
> 
Sorry, gitlab pipeline was ignored during merge. Revert sent 
https://patchwork.freedesktop.org/series/113154/
> 

-- 
~Swati Sharma

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

end of thread, other threads:[~2023-01-20 14:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-19  9:25 [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Swati Sharma
2023-01-19  9:25 ` [igt-dev] [v3 1/4] lib/dsc: Move VDSC functions to separate lib file Swati Sharma
2023-01-19  9:25 ` [igt-dev] [v3 2/4] Move wrapper functions from kms_dsc to kms_dsc_helper Swati Sharma
2023-01-19  9:25 ` [igt-dev] [v3 3/4] tests/i915/kms_dsc: Add disp_ver as struct data_t member Swati Sharma
2023-01-19  9:25 ` [igt-dev] [v3 4/4] tests/i915/kms_dsc_helper: Improve format string Swati Sharma
2023-01-19  9:35 ` [igt-dev] ✗ GitLab.Pipeline: warning for tests/i915/kms_dsc: Reorg (rev2) Patchwork
2023-01-20 14:18   ` Petri Latvala
2023-01-20 14:44     ` Swati Sharma
2023-01-19  9:54 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-01-20  7:25 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-01-20 10:44 ` [igt-dev] [v3 0/4] tests/i915/kms_dsc: Reorg Hogander, Jouni

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