* [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait
@ 2018-01-05 13:41 Chris Wilson
2018-01-05 14:01 ` ✓ Fi.CI.BAT: success for igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait (rev3) Patchwork
0 siblings, 1 reply; 8+ messages in thread
From: Chris Wilson @ 2018-01-05 13:41 UTC (permalink / raw)
To: intel-gfx
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/kms_frontbuffer_tracking.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 1601cab45..8b440dadc 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -927,6 +927,10 @@ static bool fbc_stride_not_supported(void)
static bool fbc_wait_until_enabled(void)
{
+ if (fbc_is_enabled())
+ return true;
+
+ fbc_print_status();
return igt_wait(fbc_is_enabled(), 2000, 1);
}
--
2.15.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* ✓ Fi.CI.BAT: success for igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait (rev3)
2018-01-05 13:41 [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait Chris Wilson
@ 2018-01-05 14:01 ` Patchwork
0 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2018-01-05 14:01 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait (rev3)
URL : https://patchwork.freedesktop.org/series/35699/
State : success
== Summary ==
IGT patchset tested on top of latest successful build
6db24416fdcdf5571125f9005089241cc6ba2652 lib/gem: Reset the global seqno at the start of each test
with latest DRM-Tip kernel build CI_DRM_3604
914d61a8fb5f drm-tip: 2018y-01m-05d-09h-12m-18s UTC integration manifest
No testlist changes.
Test gem_exec_suspend:
Subgroup basic-s4-devices:
pass -> DMESG-WARN (fi-elk-e7500) fdo#103989
Test kms_pipe_crc_basic:
Subgroup suspend-read-crc-pipe-a:
pass -> DMESG-WARN (fi-kbl-r) fdo#104172 +1
fdo#103989 https://bugs.freedesktop.org/show_bug.cgi?id=103989
fdo#104172 https://bugs.freedesktop.org/show_bug.cgi?id=104172
fi-bdw-5557u total:288 pass:267 dwarn:0 dfail:0 fail:0 skip:21 time:423s
fi-blb-e6850 total:288 pass:223 dwarn:1 dfail:0 fail:0 skip:64 time:371s
fi-bsw-n3050 total:288 pass:242 dwarn:0 dfail:0 fail:0 skip:46 time:488s
fi-bwr-2160 total:288 pass:183 dwarn:0 dfail:0 fail:0 skip:105 time:276s
fi-bxt-dsi total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:30 time:479s
fi-bxt-j4205 total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:485s
fi-byt-j1900 total:288 pass:253 dwarn:0 dfail:0 fail:0 skip:35 time:466s
fi-byt-n2820 total:288 pass:249 dwarn:0 dfail:0 fail:0 skip:39 time:467s
fi-elk-e7500 total:224 pass:168 dwarn:10 dfail:0 fail:0 skip:45
fi-gdg-551 total:288 pass:179 dwarn:0 dfail:0 fail:1 skip:108 time:262s
fi-glk-1 total:288 pass:260 dwarn:0 dfail:0 fail:0 skip:28 time:510s
fi-hsw-4770 total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:399s
fi-hsw-4770r total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:401s
fi-ilk-650 total:288 pass:228 dwarn:0 dfail:0 fail:0 skip:60 time:413s
fi-ivb-3520m total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:460s
fi-ivb-3770 total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:33 time:413s
fi-kbl-7500u total:288 pass:263 dwarn:1 dfail:0 fail:0 skip:24 time:470s
fi-kbl-7560u total:288 pass:268 dwarn:1 dfail:0 fail:0 skip:19 time:497s
fi-kbl-7567u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:452s
fi-kbl-r total:288 pass:260 dwarn:1 dfail:0 fail:0 skip:27 time:500s
fi-pnv-d510 total:288 pass:222 dwarn:1 dfail:0 fail:0 skip:65 time:576s
fi-skl-6260u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:432s
fi-skl-6600u total:288 pass:260 dwarn:1 dfail:0 fail:0 skip:27 time:506s
fi-skl-6700hq total:288 pass:261 dwarn:1 dfail:0 fail:0 skip:26 time:524s
fi-skl-6700k2 total:288 pass:264 dwarn:0 dfail:0 fail:0 skip:24 time:495s
fi-skl-6770hq total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:487s
fi-skl-gvtdvm total:288 pass:265 dwarn:0 dfail:0 fail:0 skip:23 time:432s
fi-snb-2520m total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:535s
fi-snb-2600 total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:398s
Blacklisted hosts:
fi-cfl-s2 total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:564s
fi-cnl-y total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:595s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_751/issues.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait
2018-01-16 20:52 [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait Chris Wilson
@ 2018-01-17 10:35 ` Daniel Vetter
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Vetter @ 2018-01-17 10:35 UTC (permalink / raw)
To: Chris Wilson; +Cc: IGT development, intel-gfx
On Tue, Jan 16, 2018 at 08:52:19PM +0000, Chris Wilson wrote:
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Please remember to send igt patches to the new mailing list in the future.
Adding it.
-Daniel
> ---
> tests/kms_frontbuffer_tracking.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
> index 1601cab45..f35e40593 100644
> --- a/tests/kms_frontbuffer_tracking.c
> +++ b/tests/kms_frontbuffer_tracking.c
> @@ -792,11 +792,12 @@ static void __debugfs_read(const char *param, char *buf, int len)
>
> #define debugfs_read(p, arr) __debugfs_read(p, arr, sizeof(arr))
>
> -static bool fbc_is_enabled(void)
> +static bool fbc_is_enabled(int lvl)
> {
> char buf[128];
>
> debugfs_read("i915_fbc_status", buf);
> + igt_log(IGT_LOG_DOMAIN, lvl, "fbc_is_enabled()?\n%s", buf);
> return strstr(buf, "FBC enabled\n");
> }
>
> @@ -927,7 +928,7 @@ static bool fbc_stride_not_supported(void)
>
> static bool fbc_wait_until_enabled(void)
> {
> - return igt_wait(fbc_is_enabled(), 2000, 1);
> + return igt_wait(fbc_is_enabled(IGT_LOG_DEBUG), 2000, 1);
> }
>
> static bool psr_wait_until_enabled(void)
> @@ -1710,8 +1711,8 @@ static void do_status_assertions(int flags)
> igt_require(!fbc_not_enough_stolen());
> igt_require(!fbc_stride_not_supported());
> if (!fbc_wait_until_enabled()) {
> - fbc_print_status();
> - igt_assert_f(fbc_is_enabled(), "FBC disabled\n");
> + igt_assert_f(fbc_is_enabled(IGT_LOG_INFO),
> + "FBC disabled\n");
> }
>
> if (opt.fbc_check_compression)
> --
> 2.15.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait
2018-01-16 15:10 Chris Wilson
@ 2018-01-17 10:34 ` Daniel Vetter
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Vetter @ 2018-01-17 10:34 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
On Tue, Jan 16, 2018 at 03:10:23PM +0000, Chris Wilson wrote:
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Makes sense for debugging. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
> tests/kms_frontbuffer_tracking.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
> index 1601cab45..8b440dadc 100644
> --- a/tests/kms_frontbuffer_tracking.c
> +++ b/tests/kms_frontbuffer_tracking.c
> @@ -927,6 +927,10 @@ static bool fbc_stride_not_supported(void)
>
> static bool fbc_wait_until_enabled(void)
> {
> + if (fbc_is_enabled())
> + return true;
> +
> + fbc_print_status();
> return igt_wait(fbc_is_enabled(), 2000, 1);
> }
>
> --
> 2.15.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait
@ 2018-01-16 20:52 Chris Wilson
2018-01-17 10:35 ` Daniel Vetter
0 siblings, 1 reply; 8+ messages in thread
From: Chris Wilson @ 2018-01-16 20:52 UTC (permalink / raw)
To: intel-gfx
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/kms_frontbuffer_tracking.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 1601cab45..f35e40593 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -792,11 +792,12 @@ static void __debugfs_read(const char *param, char *buf, int len)
#define debugfs_read(p, arr) __debugfs_read(p, arr, sizeof(arr))
-static bool fbc_is_enabled(void)
+static bool fbc_is_enabled(int lvl)
{
char buf[128];
debugfs_read("i915_fbc_status", buf);
+ igt_log(IGT_LOG_DOMAIN, lvl, "fbc_is_enabled()?\n%s", buf);
return strstr(buf, "FBC enabled\n");
}
@@ -927,7 +928,7 @@ static bool fbc_stride_not_supported(void)
static bool fbc_wait_until_enabled(void)
{
- return igt_wait(fbc_is_enabled(), 2000, 1);
+ return igt_wait(fbc_is_enabled(IGT_LOG_DEBUG), 2000, 1);
}
static bool psr_wait_until_enabled(void)
@@ -1710,8 +1711,8 @@ static void do_status_assertions(int flags)
igt_require(!fbc_not_enough_stolen());
igt_require(!fbc_stride_not_supported());
if (!fbc_wait_until_enabled()) {
- fbc_print_status();
- igt_assert_f(fbc_is_enabled(), "FBC disabled\n");
+ igt_assert_f(fbc_is_enabled(IGT_LOG_INFO),
+ "FBC disabled\n");
}
if (opt.fbc_check_compression)
--
2.15.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait
@ 2018-01-16 15:10 Chris Wilson
2018-01-17 10:34 ` Daniel Vetter
0 siblings, 1 reply; 8+ messages in thread
From: Chris Wilson @ 2018-01-16 15:10 UTC (permalink / raw)
To: intel-gfx
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/kms_frontbuffer_tracking.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 1601cab45..8b440dadc 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -927,6 +927,10 @@ static bool fbc_stride_not_supported(void)
static bool fbc_wait_until_enabled(void)
{
+ if (fbc_is_enabled())
+ return true;
+
+ fbc_print_status();
return igt_wait(fbc_is_enabled(), 2000, 1);
}
--
2.15.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait
@ 2018-01-05 12:52 Chris Wilson
0 siblings, 0 replies; 8+ messages in thread
From: Chris Wilson @ 2018-01-05 12:52 UTC (permalink / raw)
To: intel-gfx
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/kms_frontbuffer_tracking.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 1601cab45..8b440dadc 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -927,6 +927,10 @@ static bool fbc_stride_not_supported(void)
static bool fbc_wait_until_enabled(void)
{
+ if (fbc_is_enabled())
+ return true;
+
+ fbc_print_status();
return igt_wait(fbc_is_enabled(), 2000, 1);
}
--
2.15.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait
@ 2017-12-21 20:54 Chris Wilson
0 siblings, 0 replies; 8+ messages in thread
From: Chris Wilson @ 2017-12-21 20:54 UTC (permalink / raw)
To: intel-gfx
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/kms_frontbuffer_tracking.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 1601cab45..8b440dadc 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -927,6 +927,10 @@ static bool fbc_stride_not_supported(void)
static bool fbc_wait_until_enabled(void)
{
+ if (fbc_is_enabled())
+ return true;
+
+ fbc_print_status();
return igt_wait(fbc_is_enabled(), 2000, 1);
}
--
2.15.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-01-17 10:35 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-05 13:41 [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait Chris Wilson
2018-01-05 14:01 ` ✓ Fi.CI.BAT: success for igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait (rev3) Patchwork
-- strict thread matches above, loose matches on Subject: below --
2018-01-16 20:52 [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait Chris Wilson
2018-01-17 10:35 ` Daniel Vetter
2018-01-16 15:10 Chris Wilson
2018-01-17 10:34 ` Daniel Vetter
2018-01-05 12:52 Chris Wilson
2017-12-21 20:54 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.