Skip to contentSkip to conversation

tests/kms_dp_tiled_display: Fix bogus abs()

PATCH In review Ville Syrjala 3 participants 12 messages Oct 14, 2019 – Oct 16, 2019 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 tests/kms_dp_tiled_display: Fix bogus abs()

From: Ville Syrjälä <[email protected]>

We're trying to take an absolute value from a unsigned number. Fix it.

And while we're here get rid of the static variables so that this can be used for multiple page flips if needed.

Cc Madhumitha Tolakanahalli Pradeep <[email protected]>
Cc Manasi Navare <[email protected]>
---
 tests/kms_dp_tiled_display.c | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)
tests/kms_dp_tiled_display.c +16 -11
index dc4866d2f15a..7dde0a7132ed 100644
@@ -58,6 +58,7 @@ typedef struct {
 	igt_display_t *display;
 	data_connector_t *conns;
 	enum igt_commit_style commit;
+	struct timeval first_ts;
 } data_t;
 
 static int drm_property_is_tile(drmModePropertyPtr prop)
@@ -307,10 +308,15 @@ static void page_flip_handler(int fd, unsigned int seq,
 {
 	data_t *data = _data;
 	data_connector_t *conn;
-	bool is_on_time = false;
-	static unsigned int _tv_sec, _tv_usec;
+	struct timeval current_ts = {
+		.tv_sec = tv_sec,
+		.tv_usec = tv_usec,
+	};
 	int i;
 
+	if (!timerisset(&data->first_ts))
+		data->first_ts = current_ts;
+
 	igt_debug("Page Flip Event received from CRTC:%d at %u:%u\n", crtc_id,
 		  tv_sec, tv_usec);
 
@@ -318,24 +324,22 @@ static void page_flip_handler(int fd, unsigned int seq,
 
 		conn = &data->conns[i];
 		if (data->display->pipes[conn->pipe].crtc_id == crtc_id) {
+			struct timeval diff;
+			long usec;
+
 			igt_assert_f(!conn->got_page_flip,
 				     "Got two page-flips for CRTC %u\n",
 				     crtc_id);
 			conn->got_page_flip = true;
 
-			/* Skip the following checks for the first page flip event */
-			if (_tv_sec == 0 || _tv_usec == 0) {
-				_tv_sec = tv_sec;
-				_tv_usec = tv_usec;
-				return;
-			}
+			timersub(&current_ts, &data->first_ts, &diff);
+			usec = diff.tv_sec * 1000000 + diff.tv_usec;
+
 			/*
 			 * For seamless tear-free display, the page flip event timestamps
 			 * from all the tiles should not differ by more than 10us.
 			 */
-			is_on_time = tv_sec == _tv_sec && (abs(tv_usec - _tv_usec) < 10);
-
-			igt_fail_on_f(!is_on_time, "Delayed page flip event from CRTC:%d at %u:%u\n",
+			igt_fail_on_f(abs(usec) >= 10, "Delayed page flip event from CRTC:%d at %u:%u\n",
 				      crtc_id, tv_sec, tv_usec);
 			return;
 		}
@@ -394,6 +398,7 @@ igt_main
 		get_connectors(&data);
 		setup_mode(&data);
 		setup_framebuffer(&data);
+		timerclear(&data.first_ts);
 		igt_display_commit_atomic(data.display, DRM_MODE_ATOMIC_NONBLOCK |
 					  DRM_MODE_PAGE_FLIP_EVENT, &data);
 		while (!got_all_page_flips(&data)) {
Signature · 6 lines
2.21.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

PATCH 2/3 tests/kms_dp_tiled_display: Flatten the page flip handler

From: Ville Syrjälä <[email protected]>

No good reason to inline the crtc->connector lookup loops in the page flip handler. Just makes it hard to see what we're trying to achieve. Move the connector lookup into a separate function.

Cc Madhumitha Tolakanahalli Pradeep <[email protected]>
Cc Manasi Navare <[email protected]>
---
 tests/kms_dp_tiled_display.c | 57 +++++++++++++++++++-----------------
 1 file changed, 30 insertions(+), 27 deletions(-)
tests/kms_dp_tiled_display.c +30 -27
index 7dde0a7132ed..175ff12f453b 100644
@@ -302,51 +302,54 @@ static void setup_framebuffer(data_t *data)
 	}
 }
 
+static data_connector_t *conn_for_crtc(data_t *data, unsigned int crtc_id)
+{
+	for (int i = 0; i < data->num_h_tiles; i++) {
+		data_connector_t *conn = &data->conns[i];
+
+		if (data->display->pipes[conn->pipe].crtc_id == crtc_id)
+			return conn;
+	}
+
+	return NULL;
+}
+
 static void page_flip_handler(int fd, unsigned int seq,
 			      unsigned int tv_sec, unsigned int tv_usec,
 			      unsigned int crtc_id, void *_data)
 {
 	data_t *data = _data;
-	data_connector_t *conn;
+	data_connector_t *conn = conn_for_crtc(data, crtc_id);
 	struct timeval current_ts = {
 		.tv_sec = tv_sec,
 		.tv_usec = tv_usec,
 	};
-	int i;
+	struct timeval diff;
+	long usec;
 
 	if (!timerisset(&data->first_ts))
 		data->first_ts = current_ts;
 
+	igt_assert_f(conn, "Got page-flip event for unexpected CRTC %u\n",
+		     crtc_id);
+
+	igt_assert_f(!conn->got_page_flip, "Got two page-flips for CRTC %u\n",
+		     crtc_id);
+
 	igt_debug("Page Flip Event received from CRTC:%d at %u:%u\n", crtc_id,
 		  tv_sec, tv_usec);
 
-	for (i = 0; i < data->num_h_tiles; i++) {
+	conn->got_page_flip = true;
 
-		conn = &data->conns[i];
-		if (data->display->pipes[conn->pipe].crtc_id == crtc_id) {
-			struct timeval diff;
-			long usec;
-
-			igt_assert_f(!conn->got_page_flip,
-				     "Got two page-flips for CRTC %u\n",
-				     crtc_id);
-			conn->got_page_flip = true;
-
-			timersub(&current_ts, &data->first_ts, &diff);
-			usec = diff.tv_sec * 1000000 + diff.tv_usec;
-
-			/*
-			 * For seamless tear-free display, the page flip event timestamps
-			 * from all the tiles should not differ by more than 10us.
-			 */
-			igt_fail_on_f(abs(usec) >= 10, "Delayed page flip event from CRTC:%d at %u:%u\n",
-				      crtc_id, tv_sec, tv_usec);
-			return;
-		}
-	}
+	timersub(&current_ts, &data->first_ts, &diff);
+	usec = diff.tv_sec * 1000000 + diff.tv_usec;
 
-	igt_assert_f(false, "Got page-flip event for unexpected CRTC %u\n",
-		     crtc_id);
+	/*
+	 * For seamless tear-free display, the page flip event timestamps
+	 * from all the tiles should not differ by more than 10us.
+	 */
+	igt_fail_on_f(abs(usec) >= 10, "Delayed page flip event from CRTC:%d at %u:%u\n",
+		      crtc_id, tv_sec, tv_usec);
 }
 
 static bool got_all_page_flips(data_t *data)
Signature · 6 lines
2.21.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Reviewed-by on v1 2/3
#2 lore raw

Re: [igt-dev] [PATCH i-g-t 2/3] tests/kms_dp_tiled_display: Flatten the page flip handler

Quoted 10 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

No good reason to inline the crtc->connector lookup loops in the page flip handler. Just makes it hard to see what we're trying to achieve. Move the connector lookup into a separate function.

Cc Madhumitha Tolakanahalli Pradeep <[email protected]>
Cc Manasi Navare <[email protected]>

Manasi

Quoted 93 lines
---
 tests/kms_dp_tiled_display.c | 57 +++++++++++++++++++-----------------
 1 file changed, 30 insertions(+), 27 deletions(-)
tests/kms_dp_tiled_display.c +30 -27
index 7dde0a7132ed..175ff12f453b 100644
@@ -302,51 +302,54 @@ static void setup_framebuffer(data_t *data)
 	}
 }
 
+static data_connector_t *conn_for_crtc(data_t *data, unsigned int crtc_id)
+{
+	for (int i = 0; i < data->num_h_tiles; i++) {
+		data_connector_t *conn = &data->conns[i];
+
+		if (data->display->pipes[conn->pipe].crtc_id == crtc_id)
+			return conn;
+	}
+
+	return NULL;
+}
+
 static void page_flip_handler(int fd, unsigned int seq,
 			      unsigned int tv_sec, unsigned int tv_usec,
 			      unsigned int crtc_id, void *_data)
 {
 	data_t *data = _data;
-	data_connector_t *conn;
+	data_connector_t *conn = conn_for_crtc(data, crtc_id);
 	struct timeval current_ts = {
 		.tv_sec = tv_sec,
 		.tv_usec = tv_usec,
 	};
-	int i;
+	struct timeval diff;
+	long usec;
 
 	if (!timerisset(&data->first_ts))
 		data->first_ts = current_ts;
 
+	igt_assert_f(conn, "Got page-flip event for unexpected CRTC %u\n",
+		     crtc_id);
+
+	igt_assert_f(!conn->got_page_flip, "Got two page-flips for CRTC %u\n",
+		     crtc_id);
+
 	igt_debug("Page Flip Event received from CRTC:%d at %u:%u\n", crtc_id,
 		  tv_sec, tv_usec);
 
-	for (i = 0; i < data->num_h_tiles; i++) {
+	conn->got_page_flip = true;
 
-		conn = &data->conns[i];
-		if (data->display->pipes[conn->pipe].crtc_id == crtc_id) {
-			struct timeval diff;
-			long usec;
-
-			igt_assert_f(!conn->got_page_flip,
-				     "Got two page-flips for CRTC %u\n",
-				     crtc_id);
-			conn->got_page_flip = true;
-
-			timersub(&current_ts, &data->first_ts, &diff);
-			usec = diff.tv_sec * 1000000 + diff.tv_usec;
-
-			/*
-			 * For seamless tear-free display, the page flip event timestamps
-			 * from all the tiles should not differ by more than 10us.
-			 */
-			igt_fail_on_f(abs(usec) >= 10, "Delayed page flip event from CRTC:%d at %u:%u\n",
-				      crtc_id, tv_sec, tv_usec);
-			return;
-		}
-	}
+	timersub(&current_ts, &data->first_ts, &diff);
+	usec = diff.tv_sec * 1000000 + diff.tv_usec;
 
-	igt_assert_f(false, "Got page-flip event for unexpected CRTC %u\n",
-		     crtc_id);
+	/*
+	 * For seamless tear-free display, the page flip event timestamps
+	 * from all the tiles should not differ by more than 10us.
+	 */
+	igt_fail_on_f(abs(usec) >= 10, "Delayed page flip event from CRTC:%d at %u:%u\n",
+		      crtc_id, tv_sec, tv_usec);
 }
 
 static bool got_all_page_flips(data_t *data)
Signature · 1 line
2.21.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#3 lore raw

PATCH 3/3 tests/kms_tiled_display: Get rid of DP stuff

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

There is nothing DP specific about the tile property. So remove any mention of DP (and port sync which is an i915 hardware feature). Let's just talk about genlocked CRTCs and tiled connectors, which is pretty generic.

Cc Madhumitha Tolakanahalli Pradeep <[email protected]>
Cc Manasi Navare <[email protected]>
---
 tests/Makefile.sources                              |  2 +-
 .../{kms_dp_tiled_display.c => kms_tiled_display.c} | 13 +++----------
 tests/meson.build                                   |  2 +-
 3 files changed, 5 insertions(+), 12 deletions(-)
 rename tests/{kms_dp_tiled_display.c => kms_tiled_display.c} (96%)
tests/Makefile.sources +1 -1
index 343be050068c..3667393ab830 100644
@@ -41,7 +41,6 @@ TESTS_progs = \
 	kms_cursor_edge_walk \
 	kms_cursor_legacy \
 	kms_dp_dsc \
-	kms_dp_tiled_display \
 	kms_draw_crc \
 	kms_fbcon_fbt \
 	kms_fence_pin_leak \
@@ -77,6 +76,7 @@ TESTS_progs = \
 	kms_sequence \
 	kms_setmode \
 	kms_sysfs_edid_timing \
+	kms_tiled_display \
 	kms_tv_load_detect \
 	kms_universal_plane \
 	kms_vblank \
tests/kms_tiled_display.c renamed from tests/kms_dp_tiled_display.c +3 -10
similarity index 96%
rename from tests/kms_dp_tiled_display.c
rename to tests/kms_tiled_display.c
index 175ff12f453b..cc65c07483c2 100644
@@ -25,7 +25,7 @@
  *      <[email protected]>
  *  Manasi Navare <[email protected]>
  *
- * Display Port Tiled Display Test
+ * Tiled display genlocked CRTC test
  * This test parses the tile information of the connectors that have TILE
  * property set, sets up the framebuffer with correct offsets corresponding to
  * the tile offsets and does an atomic modeset with two CRTCs for two
@@ -41,7 +41,7 @@
 #include "drm_mode.h"
 #include "drm_fourcc.h"
 
-IGT_TEST_DESCRIPTION("Test for Transcoder Port Sync for Display Port Tiled Displays");
+IGT_TEST_DESCRIPTION("Test for genlocked CRTCs with tiled displays");
 
 typedef struct {
 	igt_output_t *output;
@@ -113,8 +113,7 @@ static void get_number_of_h_tiles(data_t *data)
 						       res->connectors[i]);
 		igt_assert(connector);
 
-		if (connector->connection == DRM_MODE_CONNECTED &&
-		    connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) {
+		if (connector->connection == DRM_MODE_CONNECTED) {
 			get_connector_tile_props(data, connector, &tile);
 
 			data->num_h_tiles = tile.num_h_tile;
@@ -138,12 +137,6 @@ static void get_connectors(data_t *data)
 
 		igt_assert(conns[count].connector);
 
-		if (conns[count].connector->connector_type !=
-		    DRM_MODE_CONNECTOR_DisplayPort) {
-			drmModeFreeConnector(conns[count].connector);
-			continue;
-		}
-
 		get_connector_tile_props(data, conns[count].connector,
 					 &conns[count].tile);
 
tests/meson.build +1 -1
index 7e3f9e0a48e3..780a38ccf436 100644
@@ -26,7 +26,6 @@ test_progs = [
 	'kms_cursor_edge_walk',
 	'kms_cursor_legacy',
 	'kms_dp_dsc',
-	'kms_dp_tiled_display',
 	'kms_draw_crc',
 	'kms_fbcon_fbt',
 	'kms_fence_pin_leak',
@@ -62,6 +61,7 @@ test_progs = [
 	'kms_sequence',
 	'kms_setmode',
 	'kms_sysfs_edid_timing',
+	'kms_tiled_display',
 	'kms_tv_load_detect',
 	'kms_universal_plane',
 	'kms_vblank',
Signature · 6 lines
2.21.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#4 lore raw

Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff

Quoted 6 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

There is nothing DP specific about the tile property. So remove any mention of DP (and port sync which is an i915 hardware feature). Let's just talk about genlocked CRTCs and tiled connectors, which is pretty generic.

But we currently dont support the trans port sync feature for other connectorrs other than DP so the test will fail so IMO, currently it should only run for DP tiled connectors

even DP MST trans port sync might fail havent added this to MST yet

Manasi

Quoted 102 lines
Cc Madhumitha Tolakanahalli Pradeep <[email protected]>
Cc Manasi Navare <[email protected]>
---
 tests/Makefile.sources                              |  2 +-
 .../{kms_dp_tiled_display.c => kms_tiled_display.c} | 13 +++----------
 tests/meson.build                                   |  2 +-
 3 files changed, 5 insertions(+), 12 deletions(-)
 rename tests/{kms_dp_tiled_display.c => kms_tiled_display.c} (96%)
tests/Makefile.sources +1 -1
index 343be050068c..3667393ab830 100644
@@ -41,7 +41,6 @@ TESTS_progs = \
 	kms_cursor_edge_walk \
 	kms_cursor_legacy \
 	kms_dp_dsc \
-	kms_dp_tiled_display \
 	kms_draw_crc \
 	kms_fbcon_fbt \
 	kms_fence_pin_leak \
@@ -77,6 +76,7 @@ TESTS_progs = \
 	kms_sequence \
 	kms_setmode \
 	kms_sysfs_edid_timing \
+	kms_tiled_display \
 	kms_tv_load_detect \
 	kms_universal_plane \
 	kms_vblank \
tests/kms_tiled_display.c renamed from tests/kms_dp_tiled_display.c +3 -10
similarity index 96%
rename from tests/kms_dp_tiled_display.c
rename to tests/kms_tiled_display.c
index 175ff12f453b..cc65c07483c2 100644
@@ -25,7 +25,7 @@
  *      <[email protected]>
  *  Manasi Navare <[email protected]>
  *
- * Display Port Tiled Display Test
+ * Tiled display genlocked CRTC test
  * This test parses the tile information of the connectors that have TILE
  * property set, sets up the framebuffer with correct offsets corresponding to
  * the tile offsets and does an atomic modeset with two CRTCs for two
@@ -41,7 +41,7 @@
 #include "drm_mode.h"
 #include "drm_fourcc.h"
 
-IGT_TEST_DESCRIPTION("Test for Transcoder Port Sync for Display Port Tiled Displays");
+IGT_TEST_DESCRIPTION("Test for genlocked CRTCs with tiled displays");
 
 typedef struct {
 	igt_output_t *output;
@@ -113,8 +113,7 @@ static void get_number_of_h_tiles(data_t *data)
 						       res->connectors[i]);
 		igt_assert(connector);
 
-		if (connector->connection == DRM_MODE_CONNECTED &&
-		    connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) {
+		if (connector->connection == DRM_MODE_CONNECTED) {
 			get_connector_tile_props(data, connector, &tile);
 
 			data->num_h_tiles = tile.num_h_tile;
@@ -138,12 +137,6 @@ static void get_connectors(data_t *data)
 
 		igt_assert(conns[count].connector);
 
-		if (conns[count].connector->connector_type !=
-		    DRM_MODE_CONNECTOR_DisplayPort) {
-			drmModeFreeConnector(conns[count].connector);
-			continue;
-		}
-
 		get_connector_tile_props(data, conns[count].connector,
 					 &conns[count].tile);
 
tests/meson.build +1 -1
index 7e3f9e0a48e3..780a38ccf436 100644
@@ -26,7 +26,6 @@ test_progs = [
 	'kms_cursor_edge_walk',
 	'kms_cursor_legacy',
 	'kms_dp_dsc',
-	'kms_dp_tiled_display',
 	'kms_draw_crc',
 	'kms_fbcon_fbt',
 	'kms_fence_pin_leak',
@@ -62,6 +61,7 @@ test_progs = [
 	'kms_sequence',
 	'kms_setmode',
 	'kms_sysfs_edid_timing',
+	'kms_tiled_display',
 	'kms_tv_load_detect',
 	'kms_universal_plane',
 	'kms_vblank',
Signature · 1 line
2.21.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#5 lore raw

Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff

Quoted 11 lines · Manasi Navare
Quoted 6 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

There is nothing DP specific about the tile property. So remove any mention of DP (and port sync which is an i915 hardware feature). Let's just talk about genlocked CRTCs and tiled connectors, which is pretty generic.

But we currently dont support the trans port sync feature for other connectorrs other than DP so the test will fail so IMO, currently it should only run for DP tiled connectors

That's an i915 specific limitation and if you want to check for that then the check should be written as 'if (is_i915 && whatever)'.

Quoted 2 lines

even DP MST trans port sync might fail havent added this to MST yet

Right, so the check isn't correct even on i915 -> better to just nuke it.

Quoted 105 lines

Manasi

Quoted 102 lines
Cc Madhumitha Tolakanahalli Pradeep <[email protected]>
Cc Manasi Navare <[email protected]>
---
 tests/Makefile.sources                              |  2 +-
 .../{kms_dp_tiled_display.c => kms_tiled_display.c} | 13 +++----------
 tests/meson.build                                   |  2 +-
 3 files changed, 5 insertions(+), 12 deletions(-)
 rename tests/{kms_dp_tiled_display.c => kms_tiled_display.c} (96%)
tests/Makefile.sources +1 -1
index 343be050068c..3667393ab830 100644
@@ -41,7 +41,6 @@ TESTS_progs = \
 	kms_cursor_edge_walk \
 	kms_cursor_legacy \
 	kms_dp_dsc \
-	kms_dp_tiled_display \
 	kms_draw_crc \
 	kms_fbcon_fbt \
 	kms_fence_pin_leak \
@@ -77,6 +76,7 @@ TESTS_progs = \
 	kms_sequence \
 	kms_setmode \
 	kms_sysfs_edid_timing \
+	kms_tiled_display \
 	kms_tv_load_detect \
 	kms_universal_plane \
 	kms_vblank \
tests/kms_tiled_display.c renamed from tests/kms_dp_tiled_display.c +3 -10
similarity index 96%
rename from tests/kms_dp_tiled_display.c
rename to tests/kms_tiled_display.c
index 175ff12f453b..cc65c07483c2 100644
@@ -25,7 +25,7 @@
  *      <[email protected]>
  *  Manasi Navare <[email protected]>
  *
- * Display Port Tiled Display Test
+ * Tiled display genlocked CRTC test
  * This test parses the tile information of the connectors that have TILE
  * property set, sets up the framebuffer with correct offsets corresponding to
  * the tile offsets and does an atomic modeset with two CRTCs for two
@@ -41,7 +41,7 @@
 #include "drm_mode.h"
 #include "drm_fourcc.h"
 
-IGT_TEST_DESCRIPTION("Test for Transcoder Port Sync for Display Port Tiled Displays");
+IGT_TEST_DESCRIPTION("Test for genlocked CRTCs with tiled displays");
 
 typedef struct {
 	igt_output_t *output;
@@ -113,8 +113,7 @@ static void get_number_of_h_tiles(data_t *data)
 						       res->connectors[i]);
 		igt_assert(connector);
 
-		if (connector->connection == DRM_MODE_CONNECTED &&
-		    connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) {
+		if (connector->connection == DRM_MODE_CONNECTED) {
 			get_connector_tile_props(data, connector, &tile);
 
 			data->num_h_tiles = tile.num_h_tile;
@@ -138,12 +137,6 @@ static void get_connectors(data_t *data)
 
 		igt_assert(conns[count].connector);
 
-		if (conns[count].connector->connector_type !=
-		    DRM_MODE_CONNECTOR_DisplayPort) {
-			drmModeFreeConnector(conns[count].connector);
-			continue;
-		}
-
 		get_connector_tile_props(data, conns[count].connector,
 					 &conns[count].tile);
 
tests/meson.build +1 -1
index 7e3f9e0a48e3..780a38ccf436 100644
@@ -26,7 +26,6 @@ test_progs = [
 	'kms_cursor_edge_walk',
 	'kms_cursor_legacy',
 	'kms_dp_dsc',
-	'kms_dp_tiled_display',
 	'kms_draw_crc',
 	'kms_fbcon_fbt',
 	'kms_fence_pin_leak',
@@ -62,6 +61,7 @@ test_progs = [
 	'kms_sequence',
 	'kms_setmode',
 	'kms_sysfs_edid_timing',
+	'kms_tiled_display',
 	'kms_tv_load_detect',
 	'kms_universal_plane',
 	'kms_vblank',
Signature · 1 line
2.21.0
Signature · 6 lines
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#6 lore raw

Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff

Quoted 13 lines · Ville Syrjälä
Quoted 11 lines · Manasi Navare
Quoted 6 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

There is nothing DP specific about the tile property. So remove any mention of DP (and port sync which is an i915 hardware feature). Let's just talk about genlocked CRTCs and tiled connectors, which is pretty generic.

But we currently dont support the trans port sync feature for other connectorrs other than DP so the test will fail so IMO, currently it should only run for DP tiled connectors

Quoted 8 lines

That's an i915 specific limitation and if you want to check for that then the check should be written as 'if (is_i915 && whatever)'.

Quoted 2 lines

even DP MST trans port sync might fail havent added this to MST yet

Right, so the check isn't correct even on i915 -> better to just nuke it.

So would you modify this patch to add those checks or would that be a follow up patch?

Manasi

Quoted 97 lines
Quoted 97 lines

Manasi

Quoted 94 lines
Cc Madhumitha Tolakanahalli Pradeep <[email protected]>
Cc Manasi Navare <[email protected]>
---
 tests/Makefile.sources                              |  2 +-
 .../{kms_dp_tiled_display.c => kms_tiled_display.c} | 13 +++----------
 tests/meson.build                                   |  2 +-
 3 files changed, 5 insertions(+), 12 deletions(-)
 rename tests/{kms_dp_tiled_display.c => kms_tiled_display.c} (96%)
tests/Makefile.sources +1 -1
index 343be050068c..3667393ab830 100644
@@ -41,7 +41,6 @@ TESTS_progs = \
 	kms_cursor_edge_walk \
 	kms_cursor_legacy \
 	kms_dp_dsc \
-	kms_dp_tiled_display \
 	kms_draw_crc \
 	kms_fbcon_fbt \
 	kms_fence_pin_leak \
@@ -77,6 +76,7 @@ TESTS_progs = \
 	kms_sequence \
 	kms_setmode \
 	kms_sysfs_edid_timing \
+	kms_tiled_display \
 	kms_tv_load_detect \
 	kms_universal_plane \
 	kms_vblank \
tests/kms_tiled_display.c renamed from tests/kms_dp_tiled_display.c +3 -10
similarity index 96%
rename from tests/kms_dp_tiled_display.c
rename to tests/kms_tiled_display.c
index 175ff12f453b..cc65c07483c2 100644
@@ -25,7 +25,7 @@
  *      <[email protected]>
  *  Manasi Navare <[email protected]>
  *
- * Display Port Tiled Display Test
+ * Tiled display genlocked CRTC test
  * This test parses the tile information of the connectors that have TILE
  * property set, sets up the framebuffer with correct offsets corresponding to
  * the tile offsets and does an atomic modeset with two CRTCs for two
@@ -41,7 +41,7 @@
 #include "drm_mode.h"
 #include "drm_fourcc.h"
 
-IGT_TEST_DESCRIPTION("Test for Transcoder Port Sync for Display Port Tiled Displays");
+IGT_TEST_DESCRIPTION("Test for genlocked CRTCs with tiled displays");
 
 typedef struct {
 	igt_output_t *output;
@@ -113,8 +113,7 @@ static void get_number_of_h_tiles(data_t *data)
 						       res->connectors[i]);
 		igt_assert(connector);
 
-		if (connector->connection == DRM_MODE_CONNECTED &&
-		    connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) {
+		if (connector->connection == DRM_MODE_CONNECTED) {
 			get_connector_tile_props(data, connector, &tile);
 
 			data->num_h_tiles = tile.num_h_tile;
@@ -138,12 +137,6 @@ static void get_connectors(data_t *data)
 
 		igt_assert(conns[count].connector);
 
-		if (conns[count].connector->connector_type !=
-		    DRM_MODE_CONNECTOR_DisplayPort) {
-			drmModeFreeConnector(conns[count].connector);
-			continue;
-		}
-
 		get_connector_tile_props(data, conns[count].connector,
 					 &conns[count].tile);
 
tests/meson.build +0 -1
index 7e3f9e0a48e3..780a38ccf436 100644
@@ -26,7 +26,6 @@ test_progs = [
 	'kms_cursor_edge_walk',
 	'kms_cursor_legacy',
 	'kms_dp_dsc',
-	'kms_dp_tiled_display',
 	'kms_draw_crc',
 	'kms_fbcon_fbt',
 	'kms_fence_pin_leak',
@@ -62,6 +61,7 @@ test_progs = [
 	'kms_sequence',
 	'kms_setmode',
Quoted 12 lines
Quoted 8 lines
Quoted 8 lines
tests/meson.build +1 -0
 	'kms_sysfs_edid_timing',
+	'kms_tiled_display',
 	'kms_tv_load_detect',
 	'kms_universal_plane',
 	'kms_vblank',
Signature · 1 line
2.21.0
Signature · 2 lines
Ville Syrjälä
Intel

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#7 lore raw

Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff

Quoted 18 lines · Manasi Navare
Quoted 17 lines · Ville Syrjälä
Quoted 11 lines · Manasi Navare
Quoted 6 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

There is nothing DP specific about the tile property. So remove any mention of DP (and port sync which is an i915 hardware feature). Let's just talk about genlocked CRTCs and tiled connectors, which is pretty generic.

But we currently dont support the trans port sync feature for other connectorrs other than DP so the test will fail so IMO, currently it should only run for DP tiled connectors

That's an i915 specific limitation and if you want to check for that then the check should be written as 'if (is_i915 && whatever)'.

Quoted 1 line
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

even DP MST trans port sync might fail havent added this to MST yet

Right, so the check isn't correct even on i915 -> better to just nuke it.

So would you modify this patch to add those checks or would that be a follow up patch?

I still don't see the point of adding any checks. The test will just fail if the crtcs aren't genlocked, which is totally fine.

Signature · 6 lines
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Reviewed-by
#8 lore raw

Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff

Quoted 21 lines · Ville Syrjälä
Quoted 20 lines · Manasi Navare
Quoted 19 lines · Ville Syrjälä
Quoted 11 lines · Manasi Navare
Quoted 6 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

There is nothing DP specific about the tile property. So remove any mention of DP (and port sync which is an i915 hardware feature). Let's just talk about genlocked CRTCs and tiled connectors, which is pretty generic.

But we currently dont support the trans port sync feature for other connectorrs other than DP so the test will fail so IMO, currently it should only run for DP tiled connectors

That's an i915 specific limitation and if you want to check for that then the check should be written as 'if (is_i915 && whatever)'.

Quoted 2 lines

even DP MST trans port sync might fail havent added this to MST yet

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Right, so the check isn't correct even on i915 -> better to just nuke it.

So would you modify this patch to add those checks or would that be a follow up patch?

I still don't see the point of adding any checks. The test will just fail if the crtcs aren't genlocked, which is totally fine.

Okay sure that makes sense then, it will help catching the issues where there are corruption issues if crtcs not genlocked

With that then:

manasi

Quoted 4 lines
Signature · 3 lines
-- 
Ville Syrjälä
Intel

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#9 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_dp_tiled_display: Fix bogus abs()

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/3] tests/kms_dp_tiled_display: Fix bogus abs()
URL : https://patchwork.freedesktop.org/series/67985/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7088 -> IGTPW_3570
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_create@basic-files:
- fi-bxt-dsi: [PASS][1] -> [INCOMPLETE][2] ([fdo#103927])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/fi-bxt-dsi/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/fi-bxt-dsi/igt@[email protected]

* igt@gem_ctx_switch@rcs0:
- fi-apl-guc: [PASS][3] -> [INCOMPLETE][4] ([fdo#103927])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/fi-apl-guc/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/fi-apl-guc/igt@[email protected]

* igt@prime_self_import@basic-with_two_bos:
- fi-icl-u3: [PASS][5] -> [DMESG-WARN][6] ([fdo#107724]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/fi-icl-u3/igt@prime_self_import@basic-with_two_bos.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/fi-icl-u3/igt@prime_self_import@basic-with_two_bos.html

#### Possible fixes ####

* igt@gem_exec_fence@basic-wait-default:
- fi-icl-u3: [DMESG-WARN][7] ([fdo#107724]) -> [PASS][8] +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/fi-icl-u3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/fi-icl-u3/igt@[email protected]

#### Warnings ####

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][9] ([fdo#111045] / [fdo#111096]) -> [FAIL][10] ([fdo#111407])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/fi-kbl-7500u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/fi-kbl-7500u/igt@[email protected]

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

[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#111381]: https://bugs.freedesktop.org/show_bug.cgi?id=111381
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407

Participating hosts (52 -> 45)
------------------------------

Missing (7): fi-ilk-m540 fi-tgl-u fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper

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

* CI: CI-20190529 -> None
* IGT: IGT_5225 -> IGTPW_3570

CI-20190529: 20190529
CI_DRM_7088: 7536bf946d840e2afaa028c281b7ecfcf333951e @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3570: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/index.html
IGT_5225: 991ce4eede1c52f76378aebf162a13c20d6f6293 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Testlist changes ==

+igt@kms_tiled_display@basic-test-pattern
-igt@kms_dp_tiled_display@basic-test-pattern

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

Reviewed-by on v1 1/3
#10 lore raw
In reply to Ville Syrjala
Quoted 11 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

We're trying to take an absolute value from a unsigned number. Fix it.

And while we're here get rid of the static variables so that this can be used for multiple page flips if needed.

Cc Madhumitha Tolakanahalli Pradeep <[email protected]>
Cc Manasi Navare <[email protected]>

Looks good to me

Manasi

Quoted 77 lines
---
 tests/kms_dp_tiled_display.c | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)
tests/kms_dp_tiled_display.c +16 -11
index dc4866d2f15a..7dde0a7132ed 100644
@@ -58,6 +58,7 @@ typedef struct {
 	igt_display_t *display;
 	data_connector_t *conns;
 	enum igt_commit_style commit;
+	struct timeval first_ts;
 } data_t;
 
 static int drm_property_is_tile(drmModePropertyPtr prop)
@@ -307,10 +308,15 @@ static void page_flip_handler(int fd, unsigned int seq,
 {
 	data_t *data = _data;
 	data_connector_t *conn;
-	bool is_on_time = false;
-	static unsigned int _tv_sec, _tv_usec;
+	struct timeval current_ts = {
+		.tv_sec = tv_sec,
+		.tv_usec = tv_usec,
+	};
 	int i;
 
+	if (!timerisset(&data->first_ts))
+		data->first_ts = current_ts;
+
 	igt_debug("Page Flip Event received from CRTC:%d at %u:%u\n", crtc_id,
 		  tv_sec, tv_usec);
 
@@ -318,24 +324,22 @@ static void page_flip_handler(int fd, unsigned int seq,
 
 		conn = &data->conns[i];
 		if (data->display->pipes[conn->pipe].crtc_id == crtc_id) {
+			struct timeval diff;
+			long usec;
+
 			igt_assert_f(!conn->got_page_flip,
 				     "Got two page-flips for CRTC %u\n",
 				     crtc_id);
 			conn->got_page_flip = true;
 
-			/* Skip the following checks for the first page flip event */
-			if (_tv_sec == 0 || _tv_usec == 0) {
-				_tv_sec = tv_sec;
-				_tv_usec = tv_usec;
-				return;
-			}
+			timersub(&current_ts, &data->first_ts, &diff);
+			usec = diff.tv_sec * 1000000 + diff.tv_usec;
+
 			/*
 			 * For seamless tear-free display, the page flip event timestamps
 			 * from all the tiles should not differ by more than 10us.
 			 */
-			is_on_time = tv_sec == _tv_sec && (abs(tv_usec - _tv_usec) < 10);
-
-			igt_fail_on_f(!is_on_time, "Delayed page flip event from CRTC:%d at %u:%u\n",
+			igt_fail_on_f(abs(usec) >= 10, "Delayed page flip event from CRTC:%d at %u:%u\n",
 				      crtc_id, tv_sec, tv_usec);
 			return;
 		}
@@ -394,6 +398,7 @@ igt_main
 		get_connectors(&data);
 		setup_mode(&data);
 		setup_framebuffer(&data);
+		timerclear(&data.first_ts);
 		igt_display_commit_atomic(data.display, DRM_MODE_ATOMIC_NONBLOCK |
 					  DRM_MODE_PAGE_FLIP_EVENT, &data);
 		while (!got_all_page_flips(&data)) {
Signature · 1 line
2.21.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#11 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/3] tests/kms_dp_tiled_display: Fix bogus abs()

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/3] tests/kms_dp_tiled_display: Fix bogus abs()
URL : https://patchwork.freedesktop.org/series/67985/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7088_full -> IGTPW_3570_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_3570_full:

### IGT changes ###

#### Possible regressions ####

* {igt@kms_tiled_display@basic-test-pattern} (NEW):
- {shard-tglb}: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb4/igt@[email protected]

New tests
---------

New tests have been introduced between CI_DRM_7088_full and IGTPW_3570_full:

### New IGT tests (1) ###

* igt@kms_tiled_display@basic-test-pattern:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#110841])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb8/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb2/igt@[email protected]

* igt@gem_eio@in-flight-contexts-immediate:
- shard-snb: [PASS][5] -> [FAIL][6] ([fdo#111925])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-snb4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-snb6/igt@[email protected]

* igt@gem_exec_async@concurrent-writes-bsd:
- shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#111325]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb8/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb4/igt@[email protected]

* igt@gem_exec_create@madvise:
- shard-hsw: [PASS][9] -> [INCOMPLETE][10] ([fdo#103540]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-hsw6/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-hsw7/igt@[email protected]

* igt@gem_exec_schedule@preempt-queue-bsd2:
- shard-iclb: [PASS][11] -> [SKIP][12] ([fdo#109276]) +10 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb5/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate-busy-gup:
- shard-snb: [PASS][13] -> [DMESG-WARN][14] ([fdo#111870]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-snb7/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-snb6/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap-after-close:
- shard-hsw: [PASS][15] -> [DMESG-WARN][16] ([fdo#111870])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-hsw8/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-hsw1/igt@[email protected]

* igt@i915_selftest@live_hangcheck:
- shard-hsw: [PASS][17] -> [DMESG-FAIL][18] ([fdo#111991])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-hsw1/igt@i915_selftest@live_hangcheck.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-hsw4/igt@i915_selftest@live_hangcheck.html

* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [PASS][19] -> [DMESG-WARN][20] ([fdo#108566]) +7 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-apl8/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-apl7/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-64x64-random:
- shard-snb: [PASS][21] -> [SKIP][22] ([fdo#109271]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-snb5/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-snb2/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-128x128-random:
- shard-apl: [PASS][23] -> [FAIL][24] ([fdo#103232])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-apl1/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-apl7/igt@[email protected]
- shard-kbl: [PASS][25] -> [FAIL][26] ([fdo#103232])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-kbl2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-kbl1/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-hsw: [PASS][27] -> [FAIL][28] ([fdo#105767])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-hsw1/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-hsw6/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-glk: [PASS][29] -> [FAIL][30] ([fdo#105363]) +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-glk3/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-glk1/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-blt:
- shard-iclb: [PASS][31] -> [FAIL][32] ([fdo#103167]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb8/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb2/igt@[email protected]

* igt@kms_psr2_su@page_flip:
- shard-iclb: [PASS][33] -> [SKIP][34] ([fdo#109642] / [fdo#111068])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb2/igt@kms_psr2_su@page_flip.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb3/igt@kms_psr2_su@page_flip.html

* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [PASS][35] -> [SKIP][36] ([fdo#109441]) +2 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb8/igt@kms_psr@psr2_primary_mmap_cpu.html

* igt@kms_setmode@basic:
- shard-kbl: [PASS][37] -> [FAIL][38] ([fdo#99912])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-kbl7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-kbl1/igt@[email protected]

* igt@perf_pmu@cpu-hotplug:
- shard-iclb: [PASS][39] -> [INCOMPLETE][40] ([fdo#107713])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb8/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb1/igt@[email protected]

#### Possible fixes ####

* igt@gem_ctx_isolation@vcs1-s3:
- {shard-tglb}: [INCOMPLETE][41] ([fdo#111832]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-tglb1/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-tglb8/igt@[email protected]

* igt@gem_exec_schedule@preempt-queue-bsd1:
- shard-iclb: [SKIP][43] ([fdo#109276]) -> [PASS][44] +12 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb5/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb4/igt@[email protected]

* igt@gem_exec_schedule@wide-bsd:
- shard-iclb: [SKIP][45] ([fdo#111325]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb4/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb5/igt@[email protected]

* igt@gem_tiled_swapping@non-threaded:
- shard-glk: [DMESG-FAIL][47] ([fdo#108686]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-glk5/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-glk6/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate-busy:
- shard-hsw: [DMESG-WARN][49] ([fdo#111870]) -> [PASS][50] +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-hsw4/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-hsw8/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap-cycles:
- shard-snb: [DMESG-WARN][51] ([fdo#111870]) -> [PASS][52] +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-snb2/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-snb6/igt@[email protected]

* igt@i915_suspend@sysfs-reader:
- shard-apl: [DMESG-WARN][53] ([fdo#108566]) -> [PASS][54] +4 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-apl5/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-apl2/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank:
- shard-glk: [FAIL][55] ([fdo#105363]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-glk8/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-glk6/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-move:
- shard-glk: [FAIL][57] ([fdo#103167]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-glk2/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-glk5/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render:
- shard-iclb: [FAIL][59] ([fdo#103167]) -> [PASS][60] +6 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-rte:
- shard-iclb: [FAIL][61] ([fdo#103167] / [fdo#110378]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb2/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb7/igt@[email protected]

* igt@kms_plane_cursor@pipe-b-overlay-size-64:
- shard-iclb: [INCOMPLETE][63] ([fdo#107713]) -> [PASS][64] +2 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb7/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb4/igt@[email protected]

* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [FAIL][65] ([fdo#103166]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb5/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb2/igt@[email protected]

* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [SKIP][67] ([fdo#109441]) -> [PASS][68] +1 similar issue
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb4/igt@kms_psr@psr2_cursor_render.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb2/igt@kms_psr@psr2_cursor_render.html

#### Warnings ####

* igt@gem_mocs_settings@mocs-rc6-bsd2:
- shard-iclb: [FAIL][69] ([fdo#111330]) -> [SKIP][70] ([fdo#109276])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb4/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb5/igt@[email protected]

* igt@gem_mocs_settings@mocs-settings-bsd2:
- shard-iclb: [SKIP][71] ([fdo#109276]) -> [FAIL][72] ([fdo#111330])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb5/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb4/igt@[email protected]

* igt@kms_psr@psr2_suspend:
- shard-iclb: [SKIP][73] ([fdo#109441]) -> [DMESG-WARN][74] ([fdo#107724])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-iclb1/igt@kms_psr@psr2_suspend.html
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb2/igt@kms_psr@psr2_suspend.html

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

[fdo# 111852 ]: https://bugs.freedesktop.org/show_bug.cgi?id= 111852 [fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105767]: https://bugs.freedesktop.org/show_bug.cgi?id=105767
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110378]: https://bugs.freedesktop.org/show_bug.cgi?id=110378
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#111714]: https://bugs.freedesktop.org/show_bug.cgi?id=111714
[fdo#111832]: https://bugs.freedesktop.org/show_bug.cgi?id=111832
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#111925]: https://bugs.freedesktop.org/show_bug.cgi?id=111925
[fdo#111991]: https://bugs.freedesktop.org/show_bug.cgi?id=111991
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912

Participating hosts (11 -> 7)
------------------------------

Missing (4): pig-skl-6260u shard-skl pig-hsw-4770r pig-glk-j5005

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

* CI: CI-20190529 -> None
* IGT: IGT_5225 -> IGTPW_3570
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_7088: 7536bf946d840e2afaa028c281b7ecfcf333951e @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3570: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/index.html
IGT_5225: 991ce4eede1c52f76378aebf162a13c20d6f6293 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev