* [igt-dev] [PATCH i-g-t] igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT
@ 2019-09-15 9:39 Chris Wilson
2019-09-15 10:18 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Chris Wilson @ 2019-09-15 9:39 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
If the blitter is not available, we cannot use it as a source for dirty
rectangles. We shall have to rely on the other engines to create GPU
dirty instead.
v2: Try using lots of subgroup+fixtures
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/kms_frontbuffer_tracking.c | 58 ++++++++++++++++++++++++++++++--
1 file changed, 56 insertions(+), 2 deletions(-)
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index c788b59ee..eaa4b6ef1 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -3022,6 +3022,9 @@ static void basic_subtest(const struct test_mode *t)
fb1 = params->primary.fb;
for (r = 0, method = 0; method < IGT_DRAW_METHOD_COUNT; method++, r++) {
+ if (method == IGT_DRAW_BLT && !gem_has_blitter(drm.fd))
+ continue;
+
if (r == pattern->n_rects) {
params->primary.fb = (params->primary.fb == fb1) ? &fb2 : fb1;
@@ -3248,10 +3251,11 @@ static const char *flip_str(enum flip_type flip)
continue; \
if (!opt.show_hidden && t.fbs == FBS_SHARED && \
(t.plane == PLANE_CUR || t.plane == PLANE_SPR)) \
- continue;
+ continue; \
+ igt_subtest_group {
-#define TEST_MODE_ITER_END } } } } } }
+#define TEST_MODE_ITER_END } } } } } } }
struct option long_options[] = {
{ "no-status-check", 0, 0, 's'},
@@ -3297,6 +3301,10 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
}
TEST_MODE_ITER_BEGIN(t)
+ igt_fixture {
+ if (t.method == IGT_DRAW_BLT)
+ gem_require_blitter(drm.fd);
+ }
igt_subtest_f("%s-%s-%s-%s-%s-draw-%s",
feature_str(t.feature),
pipes_str(t.pipes),
@@ -3313,6 +3321,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
(!opt.show_hidden && t.method != IGT_DRAW_BLT))
continue;
+ igt_fixture {
+ if (t.method == IGT_DRAW_BLT)
+ gem_require_blitter(drm.fd);
+ }
+
for (t.flip = 0; t.flip < FLIP_COUNT; t.flip++)
igt_subtest_f("%s-%s-%s-%s-%sflip-%s",
feature_str(t.feature),
@@ -3331,6 +3344,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
(t.feature & FEATURE_FBC) == 0)
continue;
+ igt_fixture {
+ if (t.method == IGT_DRAW_BLT)
+ gem_require_blitter(drm.fd);
+ }
+
igt_subtest_f("%s-%s-%s-fliptrack",
feature_str(t.feature),
pipes_str(t.pipes),
@@ -3344,6 +3362,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
t.plane == PLANE_PRI)
continue;
+ igt_fixture {
+ if (t.method == IGT_DRAW_BLT)
+ gem_require_blitter(drm.fd);
+ }
+
igt_subtest_f("%s-%s-%s-%s-%s-move",
feature_str(t.feature),
pipes_str(t.pipes),
@@ -3367,6 +3390,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
t.plane != PLANE_SPR)
continue;
+ igt_fixture {
+ if (t.method == IGT_DRAW_BLT)
+ gem_require_blitter(drm.fd);
+ }
+
igt_subtest_f("%s-%s-%s-%s-%s-fullscreen",
feature_str(t.feature),
pipes_str(t.pipes),
@@ -3383,6 +3411,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
(!opt.show_hidden && t.fbs != FBS_INDIVIDUAL))
continue;
+ igt_fixture {
+ if (t.method == IGT_DRAW_BLT)
+ gem_require_blitter(drm.fd);
+ }
+
igt_subtest_f("%s-%s-%s-%s-multidraw",
feature_str(t.feature),
pipes_str(t.pipes),
@@ -3399,6 +3432,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
t.method != IGT_DRAW_MMAP_GTT)
continue;
+ igt_fixture {
+ if (t.method == IGT_DRAW_BLT)
+ gem_require_blitter(drm.fd);
+ }
+
igt_subtest_f("%s-farfromfence", feature_str(t.feature))
farfromfence_subtest(&t);
TEST_MODE_ITER_END
@@ -3410,6 +3448,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
t.fbs != FBS_INDIVIDUAL)
continue;
+ igt_fixture {
+ if (t.method == IGT_DRAW_BLT)
+ gem_require_blitter(drm.fd);
+ }
+
for (t.format = 0; t.format < FORMAT_COUNT; t.format++) {
/* Skip what we already tested. */
if (t.format == FORMAT_DEFAULT)
@@ -3429,6 +3472,12 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
t.plane != PLANE_PRI ||
t.method != IGT_DRAW_BLT)
continue;
+
+ igt_fixture {
+ if (t.method == IGT_DRAW_BLT)
+ gem_require_blitter(drm.fd);
+ }
+
igt_subtest_f("%s-%s-scaledprimary",
feature_str(t.feature),
fbs_str(t.fbs))
@@ -3443,6 +3492,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
t.method != IGT_DRAW_BLT)
continue;
+ igt_fixture {
+ if (t.method == IGT_DRAW_BLT)
+ gem_require_blitter(drm.fd);
+ }
+
igt_subtest_f("%s-modesetfrombusy", feature_str(t.feature))
modesetfrombusy_subtest(&t);
--
2.23.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 5+ messages in thread* [igt-dev] ✓ Fi.CI.BAT: success for igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT 2019-09-15 9:39 [igt-dev] [PATCH i-g-t] igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT Chris Wilson @ 2019-09-15 10:18 ` Patchwork 2019-09-16 2:18 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 2019-09-16 12:06 ` [Intel-gfx] [igt-dev] [PATCH i-g-t] " Petri Latvala 2 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2019-09-15 10:18 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev == Series Details == Series: igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT URL : https://patchwork.freedesktop.org/series/66712/ State : success == Summary == CI Bug Log - changes from CI_DRM_6895 -> IGTPW_3463 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://patchwork.freedesktop.org/api/1.0/series/66712/revisions/1/mbox/ Known issues ------------ Here are the changes found in IGTPW_3463 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_mmap_gtt@basic: - fi-glk-dsi: [PASS][1] -> [INCOMPLETE][2] ([fdo#103359] / [k.org#198133]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/fi-glk-dsi/igt@gem_mmap_gtt@basic.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/fi-glk-dsi/igt@gem_mmap_gtt@basic.html #### Possible fixes #### * igt@gem_exec_suspend@basic-s4-devices: - fi-icl-u3: [DMESG-WARN][3] ([fdo#107724]) -> [PASS][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/fi-icl-u3/igt@gem_exec_suspend@basic-s4-devices.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/fi-icl-u3/igt@gem_exec_suspend@basic-s4-devices.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359 [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724 [fdo#111600]: https://bugs.freedesktop.org/show_bug.cgi?id=111600 [k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133 Participating hosts (52 -> 45) ------------------------------ Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5182 -> IGTPW_3463 CI-20190529: 20190529 CI_DRM_6895: 24802b8c7ac7c139947b914f432871d726c53eb3 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3463: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/ IGT_5182: f7104497049e3761ac297b66fd5586849b3cfcc8 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/ _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT 2019-09-15 9:39 [igt-dev] [PATCH i-g-t] igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT Chris Wilson 2019-09-15 10:18 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork @ 2019-09-16 2:18 ` Patchwork 2019-09-16 12:06 ` [Intel-gfx] [igt-dev] [PATCH i-g-t] " Petri Latvala 2 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2019-09-16 2:18 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev == Series Details == Series: igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT URL : https://patchwork.freedesktop.org/series/66712/ State : success == Summary == CI Bug Log - changes from CI_DRM_6895_full -> IGTPW_3463_full ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://patchwork.freedesktop.org/api/1.0/series/66712/revisions/1/mbox/ Known issues ------------ Here are the changes found in IGTPW_3463_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ctx_isolation@bcs0-s3: - shard-apl: [PASS][1] -> [DMESG-WARN][2] ([fdo#108566]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-apl6/igt@gem_ctx_isolation@bcs0-s3.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-apl6/igt@gem_ctx_isolation@bcs0-s3.html * igt@gem_ctx_isolation@rcs0-s3: - shard-kbl: [PASS][3] -> [DMESG-WARN][4] ([fdo#108566]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-kbl2/igt@gem_ctx_isolation@rcs0-s3.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-kbl2/igt@gem_ctx_isolation@rcs0-s3.html * igt@gem_ctx_isolation@vcs1-reset: - shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#109276]) +16 similar issues [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb1/igt@gem_ctx_isolation@vcs1-reset.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb7/igt@gem_ctx_isolation@vcs1-reset.html * igt@gem_ctx_shared@exec-single-timeline-bsd: - shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#110841]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb6/igt@gem_ctx_shared@exec-single-timeline-bsd.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb2/igt@gem_ctx_shared@exec-single-timeline-bsd.html * igt@gem_exec_schedule@pi-ringfull-bsd: - shard-iclb: [PASS][9] -> [SKIP][10] ([fdo#111325]) +3 similar issues [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb3/igt@gem_exec_schedule@pi-ringfull-bsd.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb2/igt@gem_exec_schedule@pi-ringfull-bsd.html * igt@gem_persistent_relocs@forked: - shard-apl: [PASS][11] -> [INCOMPLETE][12] ([fdo#103927]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-apl7/igt@gem_persistent_relocs@forked.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-apl3/igt@gem_persistent_relocs@forked.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt: - shard-iclb: [PASS][13] -> [FAIL][14] ([fdo#103167]) +3 similar issues [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt.html * igt@kms_plane@plane-position-covered-pipe-c-planes: - shard-glk: [PASS][15] -> [FAIL][16] ([fdo#110038]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-glk1/igt@kms_plane@plane-position-covered-pipe-c-planes.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-glk6/igt@kms_plane@plane-position-covered-pipe-c-planes.html - shard-kbl: [PASS][17] -> [FAIL][18] ([fdo#110038]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-kbl1/igt@kms_plane@plane-position-covered-pipe-c-planes.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-kbl1/igt@kms_plane@plane-position-covered-pipe-c-planes.html * igt@kms_psr@psr2_dpms: - shard-iclb: [PASS][19] -> [SKIP][20] ([fdo#109441]) +1 similar issue [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb2/igt@kms_psr@psr2_dpms.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb3/igt@kms_psr@psr2_dpms.html #### Possible fixes #### * igt@gem_exec_flush@basic-wb-ro-default: - shard-apl: [INCOMPLETE][21] ([fdo#103927]) -> [PASS][22] +4 similar issues [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-apl8/igt@gem_exec_flush@basic-wb-ro-default.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-apl8/igt@gem_exec_flush@basic-wb-ro-default.html * igt@gem_exec_schedule@preempt-bsd1: - shard-iclb: [SKIP][23] ([fdo#109276]) -> [PASS][24] +19 similar issues [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb8/igt@gem_exec_schedule@preempt-bsd1.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb4/igt@gem_exec_schedule@preempt-bsd1.html * igt@gem_exec_schedule@preemptive-hang-bsd: - shard-iclb: [SKIP][25] ([fdo#111325]) -> [PASS][26] +3 similar issues [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb4/igt@gem_exec_schedule@preemptive-hang-bsd.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb7/igt@gem_exec_schedule@preemptive-hang-bsd.html * igt@gem_mmap_gtt@hang: - shard-iclb: [FAIL][27] ([fdo#109677]) -> [PASS][28] [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb3/igt@gem_mmap_gtt@hang.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb5/igt@gem_mmap_gtt@hang.html * igt@kms_cursor_crc@pipe-c-cursor-64x21-random: - shard-apl: [FAIL][29] ([fdo#103232]) -> [PASS][30] +1 similar issue [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-apl5/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-apl4/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html - shard-kbl: [FAIL][31] ([fdo#103232]) -> [PASS][32] [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-kbl2/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-kbl4/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-msflip-blt: - shard-iclb: [FAIL][33] ([fdo#103167]) -> [PASS][34] +7 similar issues [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-msflip-blt.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-msflip-blt.html * igt@kms_plane_lowres@pipe-a-tiling-x: - shard-iclb: [FAIL][35] ([fdo#103166]) -> [PASS][36] [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb4/igt@kms_plane_lowres@pipe-a-tiling-x.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb8/igt@kms_plane_lowres@pipe-a-tiling-x.html * igt@kms_psr@psr2_primary_mmap_gtt: - shard-iclb: [SKIP][37] ([fdo#109441]) -> [PASS][38] +3 similar issues [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb5/igt@kms_psr@psr2_primary_mmap_gtt.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html * igt@kms_setmode@basic: - shard-hsw: [FAIL][39] ([fdo#99912]) -> [PASS][40] [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-hsw6/igt@kms_setmode@basic.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-hsw6/igt@kms_setmode@basic.html * igt@kms_vblank@pipe-b-ts-continuation-suspend: - shard-kbl: [DMESG-WARN][41] ([fdo#108566]) -> [PASS][42] [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-kbl2/igt@kms_vblank@pipe-b-ts-continuation-suspend.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-kbl3/igt@kms_vblank@pipe-b-ts-continuation-suspend.html * igt@kms_vblank@pipe-c-ts-continuation-suspend: - shard-apl: [DMESG-WARN][43] ([fdo#108566]) -> [PASS][44] +5 similar issues [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-apl6/igt@kms_vblank@pipe-c-ts-continuation-suspend.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-apl7/igt@kms_vblank@pipe-c-ts-continuation-suspend.html #### Warnings #### * igt@gem_ctx_isolation@vcs1-nonpriv: - shard-iclb: [FAIL][45] ([fdo#111329]) -> [SKIP][46] ([fdo#109276]) [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb4/igt@gem_ctx_isolation@vcs1-nonpriv.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb3/igt@gem_ctx_isolation@vcs1-nonpriv.html * igt@gem_mocs_settings@mocs-rc6-bsd2: - shard-iclb: [SKIP][47] ([fdo#109276]) -> [FAIL][48] ([fdo#111330]) [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb6/igt@gem_mocs_settings@mocs-rc6-bsd2.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb2/igt@gem_mocs_settings@mocs-rc6-bsd2.html * igt@gem_mocs_settings@mocs-reset-bsd2: - shard-iclb: [FAIL][49] ([fdo#111330]) -> [SKIP][50] ([fdo#109276]) +1 similar issue [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6895/shard-iclb2/igt@gem_mocs_settings@mocs-reset-bsd2.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/shard-iclb8/igt@gem_mocs_settings@mocs-reset-bsd2.html [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#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927 [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566 [fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276 [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 [fdo#109677]: https://bugs.freedesktop.org/show_bug.cgi?id=109677 [fdo#110038]: https://bugs.freedesktop.org/show_bug.cgi?id=110038 [fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841 [fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325 [fdo#111329]: https://bugs.freedesktop.org/show_bug.cgi?id=111329 [fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330 [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912 Participating hosts (10 -> 6) ------------------------------ Missing (4): pig-skl-6260u shard-skl pig-hsw-4770r pig-glk-j5005 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5182 -> IGTPW_3463 * Piglit: piglit_4509 -> None CI-20190529: 20190529 CI_DRM_6895: 24802b8c7ac7c139947b914f432871d726c53eb3 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3463: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3463/ IGT_5182: f7104497049e3761ac297b66fd5586849b3cfcc8 @ 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_3463/ _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Intel-gfx] [igt-dev] [PATCH i-g-t] igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT 2019-09-15 9:39 [igt-dev] [PATCH i-g-t] igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT Chris Wilson 2019-09-15 10:18 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2019-09-16 2:18 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork @ 2019-09-16 12:06 ` Petri Latvala 2019-09-16 13:09 ` Chris Wilson 2 siblings, 1 reply; 5+ messages in thread From: Petri Latvala @ 2019-09-16 12:06 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev, intel-gfx On Sun, Sep 15, 2019 at 10:39:48AM +0100, Chris Wilson wrote: > If the blitter is not available, we cannot use it as a source for dirty > rectangles. We shall have to rely on the other engines to create GPU > dirty instead. > > v2: Try using lots of subgroup+fixtures > > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Petri Latvala <petri.latvala@intel.com> > --- > tests/kms_frontbuffer_tracking.c | 58 ++++++++++++++++++++++++++++++-- > 1 file changed, 56 insertions(+), 2 deletions(-) > > diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c > index c788b59ee..eaa4b6ef1 100644 > --- a/tests/kms_frontbuffer_tracking.c > +++ b/tests/kms_frontbuffer_tracking.c > @@ -3022,6 +3022,9 @@ static void basic_subtest(const struct test_mode *t) > fb1 = params->primary.fb; > > for (r = 0, method = 0; method < IGT_DRAW_METHOD_COUNT; method++, r++) { > + if (method == IGT_DRAW_BLT && !gem_has_blitter(drm.fd)) > + continue; > + > if (r == pattern->n_rects) { > params->primary.fb = (params->primary.fb == fb1) ? &fb2 : fb1; > > @@ -3248,10 +3251,11 @@ static const char *flip_str(enum flip_type flip) > continue; \ > if (!opt.show_hidden && t.fbs == FBS_SHARED && \ > (t.plane == PLANE_CUR || t.plane == PLANE_SPR)) \ > - continue; > + continue; \ > + igt_subtest_group { > > > -#define TEST_MODE_ITER_END } } } } } } > +#define TEST_MODE_ITER_END } } } } } } } > > struct option long_options[] = { > { "no-status-check", 0, 0, 's'}, > @@ -3297,6 +3301,10 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > } > > TEST_MODE_ITER_BEGIN(t) > + igt_fixture { > + if (t.method == IGT_DRAW_BLT) > + gem_require_blitter(drm.fd); > + } > igt_subtest_f("%s-%s-%s-%s-%s-draw-%s", > feature_str(t.feature), > pipes_str(t.pipes), > @@ -3313,6 +3321,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > (!opt.show_hidden && t.method != IGT_DRAW_BLT)) > continue; > > + igt_fixture { > + if (t.method == IGT_DRAW_BLT) > + gem_require_blitter(drm.fd); > + } > + > for (t.flip = 0; t.flip < FLIP_COUNT; t.flip++) > igt_subtest_f("%s-%s-%s-%s-%sflip-%s", > feature_str(t.feature), > @@ -3331,6 +3344,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > (t.feature & FEATURE_FBC) == 0) > continue; > > + igt_fixture { > + if (t.method == IGT_DRAW_BLT) > + gem_require_blitter(drm.fd); > + } > + > igt_subtest_f("%s-%s-%s-fliptrack", > feature_str(t.feature), > pipes_str(t.pipes), > @@ -3344,6 +3362,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > t.plane == PLANE_PRI) > continue; > > + igt_fixture { > + if (t.method == IGT_DRAW_BLT) > + gem_require_blitter(drm.fd); > + } > + > igt_subtest_f("%s-%s-%s-%s-%s-move", > feature_str(t.feature), > pipes_str(t.pipes), > @@ -3367,6 +3390,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > t.plane != PLANE_SPR) > continue; > > + igt_fixture { > + if (t.method == IGT_DRAW_BLT) > + gem_require_blitter(drm.fd); > + } > + > igt_subtest_f("%s-%s-%s-%s-%s-fullscreen", > feature_str(t.feature), > pipes_str(t.pipes), > @@ -3383,6 +3411,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > (!opt.show_hidden && t.fbs != FBS_INDIVIDUAL)) > continue; > > + igt_fixture { > + if (t.method == IGT_DRAW_BLT) > + gem_require_blitter(drm.fd); > + } > + > igt_subtest_f("%s-%s-%s-%s-multidraw", > feature_str(t.feature), > pipes_str(t.pipes), > @@ -3399,6 +3432,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > t.method != IGT_DRAW_MMAP_GTT) > continue; > > + igt_fixture { > + if (t.method == IGT_DRAW_BLT) > + gem_require_blitter(drm.fd); > + } > + > igt_subtest_f("%s-farfromfence", feature_str(t.feature)) > farfromfence_subtest(&t); > TEST_MODE_ITER_END > @@ -3410,6 +3448,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > t.fbs != FBS_INDIVIDUAL) > continue; > > + igt_fixture { > + if (t.method == IGT_DRAW_BLT) > + gem_require_blitter(drm.fd); > + } > + > for (t.format = 0; t.format < FORMAT_COUNT; t.format++) { > /* Skip what we already tested. */ > if (t.format == FORMAT_DEFAULT) > @@ -3429,6 +3472,12 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > t.plane != PLANE_PRI || > t.method != IGT_DRAW_BLT) > continue; > + > + igt_fixture { > + if (t.method == IGT_DRAW_BLT) > + gem_require_blitter(drm.fd); > + } > + > igt_subtest_f("%s-%s-scaledprimary", > feature_str(t.feature), > fbs_str(t.fbs)) > @@ -3443,6 +3492,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > t.method != IGT_DRAW_BLT) > continue; > > + igt_fixture { > + if (t.method == IGT_DRAW_BLT) > + gem_require_blitter(drm.fd); > + } > + > igt_subtest_f("%s-modesetfrombusy", feature_str(t.feature)) > modesetfrombusy_subtest(&t); > > -- > 2.23.0 > > _______________________________________________ > igt-dev mailing list > igt-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/igt-dev _______________________________________________ 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: [igt-dev] [PATCH i-g-t] igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT 2019-09-16 12:06 ` [Intel-gfx] [igt-dev] [PATCH i-g-t] " Petri Latvala @ 2019-09-16 13:09 ` Chris Wilson 0 siblings, 0 replies; 5+ messages in thread From: Chris Wilson @ 2019-09-16 13:09 UTC (permalink / raw) To: Petri Latvala; +Cc: igt-dev, intel-gfx Quoting Petri Latvala (2019-09-16 13:06:04) > On Sun, Sep 15, 2019 at 10:39:48AM +0100, Chris Wilson wrote: > > If the blitter is not available, we cannot use it as a source for dirty > > rectangles. We shall have to rely on the other engines to create GPU > > dirty instead. > > > > v2: Try using lots of subgroup+fixtures > > > > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> > > > Reviewed-by: Petri Latvala <petri.latvala@intel.com> Sadly, it needs a bit massaging of the underlying library to avoid using the blitter it seems. Or I've missed a method == IGT_DRAW_BLT. (But iirc there's some paths where the fb lib uses the blitter to detile.) -Chris _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-09-16 13:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-09-15 9:39 [igt-dev] [PATCH i-g-t] igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT Chris Wilson 2019-09-15 10:18 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2019-09-16 2:18 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 2019-09-16 12:06 ` [Intel-gfx] [igt-dev] [PATCH i-g-t] " Petri Latvala 2019-09-16 13:09 ` Chris Wilson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox