All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH igt] igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting
@ 2017-10-24 18:24 Chris Wilson
  2017-10-24 20:25 ` ✓ Fi.CI.BAT: success for igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting (rev2) Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Chris Wilson @ 2017-10-24 18:24 UTC (permalink / raw)
  To: intel-gfx

Since the headless subtest wants to compare execution latency of a
headless mode vs a single head, it needs to be able to do a modeset and
ergo it requires DRM_MASTER.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/gem_exec_nop.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/gem_exec_nop.c b/tests/gem_exec_nop.c
index ce3a8ef7..c9280795 100644
--- a/tests/gem_exec_nop.c
+++ b/tests/gem_exec_nop.c
@@ -711,8 +711,11 @@ igt_main
 	}
 
 #if !defined(ANDROID) || ANDROID_HAS_CAIRO
-	igt_subtest("headless")
+	igt_subtest("headless") {
+		/* Requires master for changing display modes */
+		igt_require(drmSetMaster(device) == 0);
 		headless(device, handle);
+	}
 #endif
 
 	igt_fixture {
-- 
2.15.0.rc2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* ✓ Fi.CI.BAT: success for igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting (rev2)
  2017-10-24 18:24 [PATCH igt] igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting Chris Wilson
@ 2017-10-24 20:25 ` Patchwork
  2017-10-24 21:58 ` ✓ Fi.CI.IGT: " Patchwork
  2017-10-25 11:17 ` [PATCH igt] igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting Michał Winiarski
  2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2017-10-24 20:25 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting (rev2)
URL   : https://patchwork.freedesktop.org/series/29390/
State : success

== Summary ==

IGT patchset tested on top of latest successful build
3a52d8c244053cac74839e1cdbea58ebaa5fe470 igt/drv_misssed_irq: Skip on guc

with latest DRM-Tip kernel build CI_DRM_3278
4971297c57bd drm-tip: 2017y-10m-24d-17h-29m-57s UTC integration manifest

No testlist changes.

fi-bdw-5557u     total:289  pass:268  dwarn:0   dfail:0   fail:0   skip:21  time:441s
fi-bdw-gvtdvm    total:289  pass:265  dwarn:0   dfail:0   fail:0   skip:24  time:458s
fi-blb-e6850     total:289  pass:223  dwarn:1   dfail:0   fail:0   skip:65  time:373s
fi-bsw-n3050     total:289  pass:243  dwarn:0   dfail:0   fail:0   skip:46  time:538s
fi-bwr-2160      total:289  pass:183  dwarn:0   dfail:0   fail:0   skip:106 time:266s
fi-bxt-dsi       total:289  pass:259  dwarn:0   dfail:0   fail:0   skip:30  time:503s
fi-bxt-j4205     total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:503s
fi-byt-j1900     total:289  pass:253  dwarn:1   dfail:0   fail:0   skip:35  time:498s
fi-byt-n2820     total:289  pass:249  dwarn:1   dfail:0   fail:0   skip:39  time:479s
fi-cfl-s         total:289  pass:253  dwarn:4   dfail:0   fail:0   skip:32  time:562s
fi-cnl-y         total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:615s
fi-elk-e7500     total:289  pass:229  dwarn:0   dfail:0   fail:0   skip:60  time:417s
fi-gdg-551       total:289  pass:178  dwarn:1   dfail:0   fail:1   skip:109 time:247s
fi-glk-1         total:289  pass:261  dwarn:0   dfail:0   fail:0   skip:28  time:582s
fi-glk-dsi       total:289  pass:258  dwarn:0   dfail:0   fail:1   skip:30  time:487s
fi-hsw-4770      total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:431s
fi-hsw-4770r     total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:430s
fi-ilk-650       total:289  pass:228  dwarn:0   dfail:0   fail:0   skip:61  time:436s
fi-ivb-3520m     total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:494s
fi-ivb-3770      total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:483s
fi-kbl-7500u     total:289  pass:264  dwarn:1   dfail:0   fail:0   skip:24  time:492s
fi-kbl-7560u     total:289  pass:270  dwarn:0   dfail:0   fail:0   skip:19  time:583s
fi-kbl-7567u     total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:475s
fi-kbl-r         total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:579s
fi-pnv-d510      total:289  pass:222  dwarn:1   dfail:0   fail:0   skip:66  time:548s
fi-skl-6260u     total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:449s
fi-skl-6700hq    total:289  pass:263  dwarn:0   dfail:0   fail:0   skip:26  time:646s
fi-skl-6700k     total:289  pass:265  dwarn:0   dfail:0   fail:0   skip:24  time:525s
fi-skl-6770hq    total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:498s
fi-skl-gvtdvm    total:289  pass:266  dwarn:0   dfail:0   fail:0   skip:23  time:454s
fi-snb-2520m     total:289  pass:250  dwarn:0   dfail:0   fail:0   skip:39  time:562s
fi-snb-2600      total:289  pass:249  dwarn:0   dfail:0   fail:0   skip:40  time:418s

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_412/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* ✓ Fi.CI.IGT: success for igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting (rev2)
  2017-10-24 18:24 [PATCH igt] igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting Chris Wilson
  2017-10-24 20:25 ` ✓ Fi.CI.BAT: success for igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting (rev2) Patchwork
@ 2017-10-24 21:58 ` Patchwork
  2017-10-25 11:17 ` [PATCH igt] igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting Michał Winiarski
  2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2017-10-24 21:58 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting (rev2)
URL   : https://patchwork.freedesktop.org/series/29390/
State : success

== Summary ==

Test kms_busy:
        Subgroup extended-modeset-hang-newfb-with-reset-render-C:
                pass       -> DMESG-WARN (shard-hsw) fdo#102249 +1
        Subgroup extended-modeset-hang-newfb-with-reset-render-B:
                dmesg-warn -> PASS       (shard-hsw) fdo#103038
Test kms_flip:
        Subgroup dpms-vs-vblank-race:
                fail       -> PASS       (shard-hsw) fdo#103060

fdo#102249 https://bugs.freedesktop.org/show_bug.cgi?id=102249
fdo#103038 https://bugs.freedesktop.org/show_bug.cgi?id=103038
fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060

shard-hsw        total:2540 pass:1434 dwarn:1   dfail:0   fail:8   skip:1097 time:9197s

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_412/shards.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH igt] igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting
  2017-10-24 18:24 [PATCH igt] igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting Chris Wilson
  2017-10-24 20:25 ` ✓ Fi.CI.BAT: success for igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting (rev2) Patchwork
  2017-10-24 21:58 ` ✓ Fi.CI.IGT: " Patchwork
@ 2017-10-25 11:17 ` Michał Winiarski
  2 siblings, 0 replies; 5+ messages in thread
From: Michał Winiarski @ 2017-10-25 11:17 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

On Tue, Oct 24, 2017 at 07:24:58PM +0100, Chris Wilson wrote:
> Since the headless subtest wants to compare execution latency of a
> headless mode vs a single head, it needs to be able to do a modeset and
> ergo it requires DRM_MASTER.
> 
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>

-Michał

> ---
>  tests/gem_exec_nop.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/gem_exec_nop.c b/tests/gem_exec_nop.c
> index ce3a8ef7..c9280795 100644
> --- a/tests/gem_exec_nop.c
> +++ b/tests/gem_exec_nop.c
> @@ -711,8 +711,11 @@ igt_main
>  	}
>  
>  #if !defined(ANDROID) || ANDROID_HAS_CAIRO
> -	igt_subtest("headless")
> +	igt_subtest("headless") {
> +		/* Requires master for changing display modes */
> +		igt_require(drmSetMaster(device) == 0);
>  		headless(device, handle);
> +	}
>  #endif
>  
>  	igt_fixture {
> -- 
> 2.15.0.rc2
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* [PATCH igt] igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting
@ 2017-08-26 14:03 Chris Wilson
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Wilson @ 2017-08-26 14:03 UTC (permalink / raw)
  To: intel-gfx

Since the headless subtest wants to compare execution latency of a
headless mode vs a single head, it needs to be able to do a modeset and
ergo it requires DRM_MASTER.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/gem_exec_nop.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/gem_exec_nop.c b/tests/gem_exec_nop.c
index fdb1413e..f6289874 100644
--- a/tests/gem_exec_nop.c
+++ b/tests/gem_exec_nop.c
@@ -669,8 +669,11 @@ igt_main
 		sequential(device, handle, FORKED | CONTEXT, 150);
 
 #if !defined(ANDROID) || ANDROID_HAS_CAIRO
-	igt_subtest("headless")
+	igt_subtest("headless") {
+		/* Requires master for changing display modes */
+		igt_require(drmSetMaster(fd) == 0);
 		headless(device, handle);
+	}
 #endif
 
 	igt_fixture {
-- 
2.14.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2017-10-25 11:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-24 18:24 [PATCH igt] igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting Chris Wilson
2017-10-24 20:25 ` ✓ Fi.CI.BAT: success for igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting (rev2) Patchwork
2017-10-24 21:58 ` ✓ Fi.CI.IGT: " Patchwork
2017-10-25 11:17 ` [PATCH igt] igt/gem_exec_nop: Headless requires DRM_MASTER for modesetting Michał Winiarski
  -- strict thread matches above, loose matches on Subject: below --
2017-08-26 14:03 Chris Wilson

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.