All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/3] tests/kms_dp_tiled_display: Fix bogus abs()
@ 2019-10-14 18:13 Ville Syrjala
  2019-10-14 18:13 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_dp_tiled_display: Flatten the page flip handler Ville Syrjala
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Ville Syrjala @ 2019-10-14 18:13 UTC (permalink / raw)
  To: igt-dev; +Cc: Madhumitha Tolakanahalli Pradeep

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

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 <madhumitha.tolakanahalli.pradeep@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 tests/kms_dp_tiled_display.c | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/tests/kms_dp_tiled_display.c b/tests/kms_dp_tiled_display.c
index dc4866d2f15a..7dde0a7132ed 100644
--- a/tests/kms_dp_tiled_display.c
+++ b/tests/kms_dp_tiled_display.c
@@ -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)) {
-- 
2.21.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* [igt-dev] [PATCH i-g-t 2/3] tests/kms_dp_tiled_display: Flatten the page flip handler
  2019-10-14 18:13 [igt-dev] [PATCH i-g-t 1/3] tests/kms_dp_tiled_display: Fix bogus abs() Ville Syrjala
@ 2019-10-14 18:13 ` Ville Syrjala
  2019-10-14 19:55   ` Manasi Navare
  2019-10-14 18:13 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff Ville Syrjala
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 12+ messages in thread
From: Ville Syrjala @ 2019-10-14 18:13 UTC (permalink / raw)
  To: igt-dev; +Cc: Madhumitha Tolakanahalli Pradeep

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

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 <madhumitha.tolakanahalli.pradeep@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 tests/kms_dp_tiled_display.c | 57 +++++++++++++++++++-----------------
 1 file changed, 30 insertions(+), 27 deletions(-)

diff --git a/tests/kms_dp_tiled_display.c b/tests/kms_dp_tiled_display.c
index 7dde0a7132ed..175ff12f453b 100644
--- a/tests/kms_dp_tiled_display.c
+++ b/tests/kms_dp_tiled_display.c
@@ -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)
-- 
2.21.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff
  2019-10-14 18:13 [igt-dev] [PATCH i-g-t 1/3] tests/kms_dp_tiled_display: Fix bogus abs() Ville Syrjala
  2019-10-14 18:13 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_dp_tiled_display: Flatten the page flip handler Ville Syrjala
@ 2019-10-14 18:13 ` Ville Syrjala
  2019-10-14 19:57   ` Manasi Navare
  2019-10-14 19:11 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_dp_tiled_display: Fix bogus abs() Patchwork
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 12+ messages in thread
From: Ville Syrjala @ 2019-10-14 18:13 UTC (permalink / raw)
  To: igt-dev; +Cc: Madhumitha Tolakanahalli Pradeep

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

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 <madhumitha.tolakanahalli.pradeep@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 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%)

diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 343be050068c..3667393ab830 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -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 \
diff --git a/tests/kms_dp_tiled_display.c b/tests/kms_tiled_display.c
similarity index 96%
rename from tests/kms_dp_tiled_display.c
rename to tests/kms_tiled_display.c
index 175ff12f453b..cc65c07483c2 100644
--- a/tests/kms_dp_tiled_display.c
+++ b/tests/kms_tiled_display.c
@@ -25,7 +25,7 @@
  *      <madhumitha.tolakanahalli.pradeep@intel.com>
  *  Manasi Navare <manasi.d.navare@intel.com>
  *
- * 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);
 
diff --git a/tests/meson.build b/tests/meson.build
index 7e3f9e0a48e3..780a38ccf436 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -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',
-- 
2.21.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_dp_tiled_display: Fix bogus abs()
  2019-10-14 18:13 [igt-dev] [PATCH i-g-t 1/3] tests/kms_dp_tiled_display: Fix bogus abs() Ville Syrjala
  2019-10-14 18:13 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_dp_tiled_display: Flatten the page flip handler Ville Syrjala
  2019-10-14 18:13 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff Ville Syrjala
@ 2019-10-14 19:11 ` Patchwork
  2019-10-14 19:50 ` [igt-dev] [PATCH i-g-t 1/3] " Manasi Navare
  2019-10-15  5:06 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/3] " Patchwork
  4 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2019-10-14 19:11 UTC (permalink / raw)
  To: Ville Syrjala; +Cc: igt-dev

== 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@gem_ctx_create@basic-files.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/fi-bxt-dsi/igt@gem_ctx_create@basic-files.html

  * 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@gem_ctx_switch@rcs0.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/fi-apl-guc/igt@gem_ctx_switch@rcs0.html

  * 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@gem_exec_fence@basic-wait-default.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/fi-icl-u3/igt@gem_exec_fence@basic-wait-default.html

  
#### 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@kms_chamelium@hdmi-hpd-fast.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html

  
  {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
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* Re: [igt-dev] [PATCH i-g-t 1/3] tests/kms_dp_tiled_display: Fix bogus abs()
  2019-10-14 18:13 [igt-dev] [PATCH i-g-t 1/3] tests/kms_dp_tiled_display: Fix bogus abs() Ville Syrjala
                   ` (2 preceding siblings ...)
  2019-10-14 19:11 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_dp_tiled_display: Fix bogus abs() Patchwork
@ 2019-10-14 19:50 ` Manasi Navare
  2019-10-15  5:06 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/3] " Patchwork
  4 siblings, 0 replies; 12+ messages in thread
From: Manasi Navare @ 2019-10-14 19:50 UTC (permalink / raw)
  To: Ville Syrjala; +Cc: igt-dev, Madhumitha Tolakanahalli Pradeep

On Mon, Oct 14, 2019 at 09:13:13PM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> 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 <madhumitha.tolakanahalli.pradeep@intel.com>
> Cc: Manasi Navare <manasi.d.navare@intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Looks good to me 

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>

Manasi

> ---
>  tests/kms_dp_tiled_display.c | 27 ++++++++++++++++-----------
>  1 file changed, 16 insertions(+), 11 deletions(-)
> 
> diff --git a/tests/kms_dp_tiled_display.c b/tests/kms_dp_tiled_display.c
> index dc4866d2f15a..7dde0a7132ed 100644
> --- a/tests/kms_dp_tiled_display.c
> +++ b/tests/kms_dp_tiled_display.c
> @@ -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)) {
> -- 
> 2.21.0
> 
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* Re: [igt-dev] [PATCH i-g-t 2/3] tests/kms_dp_tiled_display: Flatten the page flip handler
  2019-10-14 18:13 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_dp_tiled_display: Flatten the page flip handler Ville Syrjala
@ 2019-10-14 19:55   ` Manasi Navare
  0 siblings, 0 replies; 12+ messages in thread
From: Manasi Navare @ 2019-10-14 19:55 UTC (permalink / raw)
  To: Ville Syrjala; +Cc: igt-dev, Madhumitha Tolakanahalli Pradeep

On Mon, Oct 14, 2019 at 09:13:14PM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> 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 <madhumitha.tolakanahalli.pradeep@intel.com>
> Cc: Manasi Navare <manasi.d.navare@intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>

Manasi

> ---
>  tests/kms_dp_tiled_display.c | 57 +++++++++++++++++++-----------------
>  1 file changed, 30 insertions(+), 27 deletions(-)
> 
> diff --git a/tests/kms_dp_tiled_display.c b/tests/kms_dp_tiled_display.c
> index 7dde0a7132ed..175ff12f453b 100644
> --- a/tests/kms_dp_tiled_display.c
> +++ b/tests/kms_dp_tiled_display.c
> @@ -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)
> -- 
> 2.21.0
> 
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff
  2019-10-14 18:13 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff Ville Syrjala
@ 2019-10-14 19:57   ` Manasi Navare
  2019-10-14 20:21     ` Ville Syrjälä
  0 siblings, 1 reply; 12+ messages in thread
From: Manasi Navare @ 2019-10-14 19:57 UTC (permalink / raw)
  To: Ville Syrjala; +Cc: igt-dev, Madhumitha Tolakanahalli Pradeep

On Mon, Oct 14, 2019 at 09:13:15PM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> 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

> 
> Cc: Madhumitha Tolakanahalli Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
> Cc: Manasi Navare <manasi.d.navare@intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
>  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%)
> 
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index 343be050068c..3667393ab830 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -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 \
> diff --git a/tests/kms_dp_tiled_display.c b/tests/kms_tiled_display.c
> similarity index 96%
> rename from tests/kms_dp_tiled_display.c
> rename to tests/kms_tiled_display.c
> index 175ff12f453b..cc65c07483c2 100644
> --- a/tests/kms_dp_tiled_display.c
> +++ b/tests/kms_tiled_display.c
> @@ -25,7 +25,7 @@
>   *      <madhumitha.tolakanahalli.pradeep@intel.com>
>   *  Manasi Navare <manasi.d.navare@intel.com>
>   *
> - * 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);
>  
> diff --git a/tests/meson.build b/tests/meson.build
> index 7e3f9e0a48e3..780a38ccf436 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -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',
> -- 
> 2.21.0
> 
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff
  2019-10-14 19:57   ` Manasi Navare
@ 2019-10-14 20:21     ` Ville Syrjälä
  2019-10-14 20:58       ` Manasi Navare
  0 siblings, 1 reply; 12+ messages in thread
From: Ville Syrjälä @ 2019-10-14 20:21 UTC (permalink / raw)
  To: Manasi Navare; +Cc: igt-dev, Madhumitha Tolakanahalli Pradeep

On Mon, Oct 14, 2019 at 12:57:33PM -0700, Manasi Navare wrote:
> On Mon, Oct 14, 2019 at 09:13:15PM +0300, Ville Syrjala wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > 
> > 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)'.

> 
> 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.

> 
> Manasi
> 
> > 
> > Cc: Madhumitha Tolakanahalli Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
> > Cc: Manasi Navare <manasi.d.navare@intel.com>
> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > ---
> >  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%)
> > 
> > diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> > index 343be050068c..3667393ab830 100644
> > --- a/tests/Makefile.sources
> > +++ b/tests/Makefile.sources
> > @@ -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 \
> > diff --git a/tests/kms_dp_tiled_display.c b/tests/kms_tiled_display.c
> > similarity index 96%
> > rename from tests/kms_dp_tiled_display.c
> > rename to tests/kms_tiled_display.c
> > index 175ff12f453b..cc65c07483c2 100644
> > --- a/tests/kms_dp_tiled_display.c
> > +++ b/tests/kms_tiled_display.c
> > @@ -25,7 +25,7 @@
> >   *      <madhumitha.tolakanahalli.pradeep@intel.com>
> >   *  Manasi Navare <manasi.d.navare@intel.com>
> >   *
> > - * 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);
> >  
> > diff --git a/tests/meson.build b/tests/meson.build
> > index 7e3f9e0a48e3..780a38ccf436 100644
> > --- a/tests/meson.build
> > +++ b/tests/meson.build
> > @@ -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',
> > -- 
> > 2.21.0
> > 

-- 
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff
  2019-10-14 20:21     ` Ville Syrjälä
@ 2019-10-14 20:58       ` Manasi Navare
  2019-10-15 12:27         ` Ville Syrjälä
  0 siblings, 1 reply; 12+ messages in thread
From: Manasi Navare @ 2019-10-14 20:58 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: igt-dev, Madhumitha Tolakanahalli Pradeep

On Mon, Oct 14, 2019 at 11:21:22PM +0300, Ville Syrjälä wrote:
> On Mon, Oct 14, 2019 at 12:57:33PM -0700, Manasi Navare wrote:
> > On Mon, Oct 14, 2019 at 09:13:15PM +0300, Ville Syrjala wrote:
> > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > 
> > > 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)'.
> 
> > 
> > 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
 
> > 
> > Manasi
> > 
> > > 
> > > Cc: Madhumitha Tolakanahalli Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
> > > Cc: Manasi Navare <manasi.d.navare@intel.com>
> > > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > ---
> > >  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%)
> > > 
> > > diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> > > index 343be050068c..3667393ab830 100644
> > > --- a/tests/Makefile.sources
> > > +++ b/tests/Makefile.sources
> > > @@ -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 \
> > > diff --git a/tests/kms_dp_tiled_display.c b/tests/kms_tiled_display.c
> > > similarity index 96%
> > > rename from tests/kms_dp_tiled_display.c
> > > rename to tests/kms_tiled_display.c
> > > index 175ff12f453b..cc65c07483c2 100644
> > > --- a/tests/kms_dp_tiled_display.c
> > > +++ b/tests/kms_tiled_display.c
> > > @@ -25,7 +25,7 @@
> > >   *      <madhumitha.tolakanahalli.pradeep@intel.com>
> > >   *  Manasi Navare <manasi.d.navare@intel.com>
> > >   *
> > > - * 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);
> > >  
> > > diff --git a/tests/meson.build b/tests/meson.build
> > > index 7e3f9e0a48e3..780a38ccf436 100644
> > > --- a/tests/meson.build
> > > +++ b/tests/meson.build
> > > @@ -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',
> > > -- 
> > > 2.21.0
> > > 
> 
> -- 
> Ville Syrjälä
> Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/3] tests/kms_dp_tiled_display: Fix bogus abs()
  2019-10-14 18:13 [igt-dev] [PATCH i-g-t 1/3] tests/kms_dp_tiled_display: Fix bogus abs() Ville Syrjala
                   ` (3 preceding siblings ...)
  2019-10-14 19:50 ` [igt-dev] [PATCH i-g-t 1/3] " Manasi Navare
@ 2019-10-15  5:06 ` Patchwork
  4 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2019-10-15  5:06 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: igt-dev

== 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@kms_tiled_display@basic-test-pattern.html
    - shard-iclb:         NOTRUN -> [SKIP][2]
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb4/igt@kms_tiled_display@basic-test-pattern.html

  
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@gem_ctx_shared@exec-single-timeline-bsd.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb2/igt@gem_ctx_shared@exec-single-timeline-bsd.html

  * 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@gem_eio@in-flight-contexts-immediate.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-snb6/igt@gem_eio@in-flight-contexts-immediate.html

  * 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@gem_exec_async@concurrent-writes-bsd.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb4/igt@gem_exec_async@concurrent-writes-bsd.html

  * 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@gem_exec_create@madvise.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-hsw7/igt@gem_exec_create@madvise.html

  * 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@gem_exec_schedule@preempt-queue-bsd2.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb5/igt@gem_exec_schedule@preempt-queue-bsd2.html

  * 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@gem_userptr_blits@map-fixed-invalidate-busy-gup.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-snb6/igt@gem_userptr_blits@map-fixed-invalidate-busy-gup.html

  * 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@gem_userptr_blits@sync-unmap-after-close.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-hsw1/igt@gem_userptr_blits@sync-unmap-after-close.html

  * 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@i915_suspend@fence-restore-tiled2untiled.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-apl7/igt@i915_suspend@fence-restore-tiled2untiled.html

  * 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@kms_cursor_crc@pipe-a-cursor-64x64-random.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-snb2/igt@kms_cursor_crc@pipe-a-cursor-64x64-random.html

  * 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@kms_cursor_crc@pipe-c-cursor-128x128-random.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-apl7/igt@kms_cursor_crc@pipe-c-cursor-128x128-random.html
    - shard-kbl:          [PASS][25] -> [FAIL][26] ([fdo#103232])
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7088/shard-kbl2/igt@kms_cursor_crc@pipe-c-cursor-128x128-random.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-kbl1/igt@kms_cursor_crc@pipe-c-cursor-128x128-random.html

  * 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@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-hsw6/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html

  * 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@kms_flip@flip-vs-expired-vblank-interruptible.html
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-glk1/igt@kms_flip@flip-vs-expired-vblank-interruptible.html

  * 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@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-blt.html
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-blt.html

  * 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@kms_setmode@basic.html
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-kbl1/igt@kms_setmode@basic.html

  * 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@perf_pmu@cpu-hotplug.html
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb1/igt@perf_pmu@cpu-hotplug.html

  
#### 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@gem_ctx_isolation@vcs1-s3.html
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-tglb8/igt@gem_ctx_isolation@vcs1-s3.html

  * 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@gem_exec_schedule@preempt-queue-bsd1.html
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb4/igt@gem_exec_schedule@preempt-queue-bsd1.html

  * 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@gem_exec_schedule@wide-bsd.html
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb5/igt@gem_exec_schedule@wide-bsd.html

  * 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@gem_tiled_swapping@non-threaded.html
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-glk6/igt@gem_tiled_swapping@non-threaded.html

  * 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@gem_userptr_blits@map-fixed-invalidate-busy.html
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-hsw8/igt@gem_userptr_blits@map-fixed-invalidate-busy.html

  * 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@gem_userptr_blits@sync-unmap-cycles.html
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-snb6/igt@gem_userptr_blits@sync-unmap-cycles.html

  * 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@i915_suspend@sysfs-reader.html
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-apl2/igt@i915_suspend@sysfs-reader.html

  * 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@kms_flip@flip-vs-expired-vblank.html
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-glk6/igt@kms_flip@flip-vs-expired-vblank.html

  * 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@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-move.html
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-glk5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-move.html

  * 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@kms_frontbuffer_tracking@fbcpsr-1p-rte.html
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-rte.html

  * 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@kms_plane_cursor@pipe-b-overlay-size-64.html
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb4/igt@kms_plane_cursor@pipe-b-overlay-size-64.html

  * 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@kms_plane_lowres@pipe-a-tiling-x.html
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb2/igt@kms_plane_lowres@pipe-a-tiling-x.html

  * 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@gem_mocs_settings@mocs-rc6-bsd2.html
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb5/igt@gem_mocs_settings@mocs-rc6-bsd2.html

  * 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@gem_mocs_settings@mocs-settings-bsd2.html
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3570/shard-iclb4/igt@gem_mocs_settings@mocs-settings-bsd2.html

  * 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
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff
  2019-10-14 20:58       ` Manasi Navare
@ 2019-10-15 12:27         ` Ville Syrjälä
  2019-10-16 19:32           ` Manasi Navare
  0 siblings, 1 reply; 12+ messages in thread
From: Ville Syrjälä @ 2019-10-15 12:27 UTC (permalink / raw)
  To: Manasi Navare; +Cc: igt-dev, Madhumitha Tolakanahalli Pradeep

On Mon, Oct 14, 2019 at 01:58:58PM -0700, Manasi Navare wrote:
> On Mon, Oct 14, 2019 at 11:21:22PM +0300, Ville Syrjälä wrote:
> > On Mon, Oct 14, 2019 at 12:57:33PM -0700, Manasi Navare wrote:
> > > On Mon, Oct 14, 2019 at 09:13:15PM +0300, Ville Syrjala wrote:
> > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > > 
> > > > 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)'.
> > 
> > > 
> > > 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.

-- 
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff
  2019-10-15 12:27         ` Ville Syrjälä
@ 2019-10-16 19:32           ` Manasi Navare
  0 siblings, 0 replies; 12+ messages in thread
From: Manasi Navare @ 2019-10-16 19:32 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: igt-dev, Madhumitha Tolakanahalli Pradeep

On Tue, Oct 15, 2019 at 03:27:13PM +0300, Ville Syrjälä wrote:
> On Mon, Oct 14, 2019 at 01:58:58PM -0700, Manasi Navare wrote:
> > On Mon, Oct 14, 2019 at 11:21:22PM +0300, Ville Syrjälä wrote:
> > > On Mon, Oct 14, 2019 at 12:57:33PM -0700, Manasi Navare wrote:
> > > > On Mon, Oct 14, 2019 at 09:13:15PM +0300, Ville Syrjala wrote:
> > > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > > > 
> > > > > 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)'.
> > > 
> > > > 
> > > > 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.

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

With that then:

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>

manasi

> 
> -- 
> Ville Syrjälä
> Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2019-10-16 19:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14 18:13 [igt-dev] [PATCH i-g-t 1/3] tests/kms_dp_tiled_display: Fix bogus abs() Ville Syrjala
2019-10-14 18:13 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_dp_tiled_display: Flatten the page flip handler Ville Syrjala
2019-10-14 19:55   ` Manasi Navare
2019-10-14 18:13 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_tiled_display: Get rid of DP stuff Ville Syrjala
2019-10-14 19:57   ` Manasi Navare
2019-10-14 20:21     ` Ville Syrjälä
2019-10-14 20:58       ` Manasi Navare
2019-10-15 12:27         ` Ville Syrjälä
2019-10-16 19:32           ` Manasi Navare
2019-10-14 19:11 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_dp_tiled_display: Fix bogus abs() Patchwork
2019-10-14 19:50 ` [igt-dev] [PATCH i-g-t 1/3] " Manasi Navare
2019-10-15  5:06 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/3] " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.