* [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc: limit maximum used plane size
@ 2020-02-17 20:03 Juha-Pekka Heikkila
2020-02-17 21:35 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Juha-Pekka Heikkila @ 2020-02-17 20:03 UTC (permalink / raw)
To: igt-dev
It shouldn't make difference here if used maximum available
screen resolution or something smaller. Something smaller
is much faster so limit maximum size to 640x480.
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
tests/kms_rotation_crc.c | 46 +++++++++++++++++++++++++++++++++-------------
1 file changed, 33 insertions(+), 13 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 2a7b10e..819897b 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -27,6 +27,8 @@
#define MAX_FENCES 32
#define MAXMULTIPLANESAMOUNT 2
+#define TEST_MAX_WIDTH 640
+#define TEST_MAX_HEIGHT 480
struct p_struct {
igt_plane_t *plane;
@@ -65,6 +67,8 @@ typedef struct {
struct p_struct *multiplaneoldview;
struct p_point planepos[MAXMULTIPLANESAMOUNT];
+
+ bool use_native_resolution;
} data_t;
typedef struct {
@@ -210,8 +214,13 @@ static void prepare_fbs(data_t *data, igt_output_t *output,
mode = igt_output_get_mode(output);
if (plane->type != DRM_PLANE_TYPE_CURSOR) {
- w = mode->hdisplay;
- h = mode->vdisplay;
+ if (data->use_native_resolution) {
+ w = mode->hdisplay;
+ h = mode->vdisplay;
+ } else {
+ w = min(TEST_MAX_WIDTH, mode->hdisplay);
+ h = min(TEST_MAX_HEIGHT, mode->vdisplay);
+ }
min_w = 256;
min_h = 256;
@@ -404,8 +413,16 @@ static void test_plane_rotation(data_t *data, int plane_type, bool test_bad_form
/* Only support partial covering primary plane on gen9+ */
if (plane_type == DRM_PLANE_TYPE_PRIMARY &&
- i != rectangle && intel_gen(intel_get_drm_devid(data->gfx_fd)) < 9)
- continue;
+ intel_gen(intel_get_drm_devid(data->gfx_fd)) < 9) {
+ if (i != rectangle)
+ continue;
+ else
+ data->use_native_resolution = true;
+
+ } else {
+ data->use_native_resolution = false;
+ }
+
if (!data->override_fmt) {
for (j = 0; j < plane->drm_plane->count_formats; j++) {
@@ -493,7 +510,7 @@ static void pointlocation(data_t *data, planeinfos *p, drmModeModeInfo *mode,
int c)
{
if (data->planepos[c].origo & p_right) {
- p[c].x1 = (int32_t)(data->planepos[c].x * mode->hdisplay
+ p[c].x1 = (int32_t)(data->planepos[c].x * min(TEST_MAX_WIDTH, mode->hdisplay)
+ mode->hdisplay);
p[c].x1 &= ~3;
/*
@@ -504,17 +521,17 @@ static void pointlocation(data_t *data, planeinfos *p, drmModeModeInfo *mode,
*/
p[c].x1 -= mode->hdisplay & 2;
} else {
- p[c].x1 = (int32_t)(data->planepos[c].x * mode->hdisplay);
+ p[c].x1 = (int32_t)(data->planepos[c].x * min(TEST_MAX_WIDTH, mode->hdisplay));
p[c].x1 &= ~3;
}
if (data->planepos[c].origo & p_bottom) {
- p[c].y1 = (int32_t)(data->planepos[c].y * mode->vdisplay
+ p[c].y1 = (int32_t)(data->planepos[c].y * min(TEST_MAX_HEIGHT, mode->vdisplay)
+ mode->vdisplay);
p[c].y1 &= ~3;
p[c].y1 -= mode->vdisplay & 2;
} else {
- p[c].y1 = (int32_t)(data->planepos[c].y * mode->vdisplay);
+ p[c].y1 = (int32_t)(data->planepos[c].y * min(TEST_MAX_HEIGHT, mode->vdisplay));
p[c].y1 &= ~3;
}
}
@@ -530,7 +547,7 @@ static void test_multi_plane_rotation(data_t *data, enum pipe pipe)
igt_output_t *output;
igt_crc_t retcrc_sw, retcrc_hw;
planeinfos p[2];
- int c;
+ int c, used_w, used_h;
struct p_struct *oldplanes;
drmModeModeInfo *mode;
@@ -568,14 +585,17 @@ static void test_multi_plane_rotation(data_t *data, enum pipe pipe)
igt_display_require_output(display);
igt_display_commit2(display, COMMIT_ATOMIC);
+ used_w = min(TEST_MAX_WIDTH, mode->hdisplay);
+ used_h = min(TEST_MAX_HEIGHT, mode->vdisplay);
+
data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe,
INTEL_PIPE_CRC_SOURCE_AUTO);
igt_pipe_crc_start(data->pipe_crc);
for (i = 0; i < ARRAY_SIZE(planeconfigs); i++) {
p[0].planetype = DRM_PLANE_TYPE_PRIMARY;
- p[0].width = (uint64_t)(planeconfigs[i].width * mode->hdisplay);
- p[0].height = (uint64_t)(planeconfigs[i].height * mode->vdisplay);
+ p[0].width = (uint64_t)(planeconfigs[i].width * used_w);
+ p[0].height = (uint64_t)(planeconfigs[i].height * used_h);
p[0].tiling = planeconfigs[i].tiling;
pointlocation(data, (planeinfos *)&p, mode, 0);
@@ -584,8 +604,8 @@ static void test_multi_plane_rotation(data_t *data, enum pipe pipe)
for (j = 0; j < ARRAY_SIZE(planeconfigs); j++) {
p[1].planetype = DRM_PLANE_TYPE_OVERLAY;
- p[1].width = (uint64_t)(planeconfigs[j].width * mode->hdisplay);
- p[1].height = (uint64_t)(planeconfigs[j].height * mode->vdisplay);
+ p[1].width = (uint64_t)(planeconfigs[j].width * used_w);
+ p[1].height = (uint64_t)(planeconfigs[j].height * used_h);
p[1].tiling = planeconfigs[j].tiling;
pointlocation(data, (planeinfos *)&p,
mode, 1);
--
2.7.4
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 7+ messages in thread* [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_rotation_crc: limit maximum used plane size 2020-02-17 20:03 [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc: limit maximum used plane size Juha-Pekka Heikkila @ 2020-02-17 21:35 ` Patchwork 2020-02-18 10:43 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2020-02-17 21:35 UTC (permalink / raw) To: Juha-Pekka Heikkila; +Cc: igt-dev == Series Details == Series: tests/kms_rotation_crc: limit maximum used plane size URL : https://patchwork.freedesktop.org/series/73547/ State : failure == Summary == CI Bug Log - changes from IGT_5446 -> IGTPW_4169 ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_4169 absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_4169, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_4169: ### IGT changes ### #### Possible regressions #### * igt@i915_selftest@live_perf: - fi-bsw-nick: [PASS][1] -> [INCOMPLETE][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-bsw-nick/igt@i915_selftest@live_perf.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-bsw-nick/igt@i915_selftest@live_perf.html Known issues ------------ Here are the changes found in IGTPW_4169 that come from known issues: ### IGT changes ### #### Possible fixes #### * igt@gem_close_race@basic-threads: - fi-byt-j1900: [INCOMPLETE][3] ([i915#45]) -> [PASS][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-byt-j1900/igt@gem_close_race@basic-threads.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-byt-j1900/igt@gem_close_race@basic-threads.html - fi-byt-n2820: [INCOMPLETE][5] ([i915#45]) -> [PASS][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-byt-n2820/igt@gem_close_race@basic-threads.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-byt-n2820/igt@gem_close_race@basic-threads.html * igt@i915_selftest@live_execlists: - fi-icl-y: [DMESG-FAIL][7] ([fdo#108569]) -> [PASS][8] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-icl-y/igt@i915_selftest@live_execlists.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-icl-y/igt@i915_selftest@live_execlists.html * igt@i915_selftest@live_gem_contexts: - fi-skl-lmem: [INCOMPLETE][9] ([CI#80] / [i915#424]) -> [PASS][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-skl-lmem/igt@i915_selftest@live_gem_contexts.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-skl-lmem/igt@i915_selftest@live_gem_contexts.html - fi-cml-s: [DMESG-FAIL][11] ([i915#877]) -> [PASS][12] [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-cml-s/igt@i915_selftest@live_gem_contexts.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-cml-s/igt@i915_selftest@live_gem_contexts.html * igt@i915_selftest@live_gtt: - fi-bxt-dsi: [TIMEOUT][13] ([fdo#112271]) -> [PASS][14] [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-bxt-dsi/igt@i915_selftest@live_gtt.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-bxt-dsi/igt@i915_selftest@live_gtt.html [CI#80]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/80 [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569 [fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271 [i915#424]: https://gitlab.freedesktop.org/drm/intel/issues/424 [i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45 [i915#877]: https://gitlab.freedesktop.org/drm/intel/issues/877 Participating hosts (52 -> 46) ------------------------------ Missing (6): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5446 -> IGTPW_4169 CI-20190529: 20190529 CI_DRM_7958: af30970548f72cf8a37886f009e0cfe02b23c8a4 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_4169: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/index.html IGT_5446: 7a05faa0be53fa1544ec950290129d20e4101c72 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 7+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_rotation_crc: limit maximum used plane size 2020-02-17 20:03 [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc: limit maximum used plane size Juha-Pekka Heikkila 2020-02-17 21:35 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork @ 2020-02-18 10:43 ` Patchwork 2020-02-18 14:17 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_rotation_crc: limit maximum used plane size (rev2) Patchwork ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2020-02-18 10:43 UTC (permalink / raw) To: Juha-Pekka Heikkila; +Cc: igt-dev == Series Details == Series: tests/kms_rotation_crc: limit maximum used plane size URL : https://patchwork.freedesktop.org/series/73547/ State : success == Summary == CI Bug Log - changes from IGT_5446 -> IGTPW_4169 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/index.html Known issues ------------ Here are the changes found in IGTPW_4169 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@i915_selftest@live_perf: - fi-bsw-nick: [PASS][1] -> [INCOMPLETE][2] ([i915#1247]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-bsw-nick/igt@i915_selftest@live_perf.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-bsw-nick/igt@i915_selftest@live_perf.html #### Possible fixes #### * igt@gem_close_race@basic-threads: - fi-byt-j1900: [INCOMPLETE][3] ([i915#45]) -> [PASS][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-byt-j1900/igt@gem_close_race@basic-threads.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-byt-j1900/igt@gem_close_race@basic-threads.html - fi-byt-n2820: [INCOMPLETE][5] ([i915#45]) -> [PASS][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-byt-n2820/igt@gem_close_race@basic-threads.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-byt-n2820/igt@gem_close_race@basic-threads.html * igt@i915_selftest@live_execlists: - fi-icl-y: [DMESG-FAIL][7] ([fdo#108569]) -> [PASS][8] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-icl-y/igt@i915_selftest@live_execlists.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-icl-y/igt@i915_selftest@live_execlists.html * igt@i915_selftest@live_gem_contexts: - fi-skl-lmem: [INCOMPLETE][9] ([CI#80] / [i915#424]) -> [PASS][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-skl-lmem/igt@i915_selftest@live_gem_contexts.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-skl-lmem/igt@i915_selftest@live_gem_contexts.html - fi-cml-s: [DMESG-FAIL][11] ([i915#877]) -> [PASS][12] [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-cml-s/igt@i915_selftest@live_gem_contexts.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-cml-s/igt@i915_selftest@live_gem_contexts.html * igt@i915_selftest@live_gtt: - fi-bxt-dsi: [TIMEOUT][13] ([fdo#112271]) -> [PASS][14] [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-bxt-dsi/igt@i915_selftest@live_gtt.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/fi-bxt-dsi/igt@i915_selftest@live_gtt.html [CI#80]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/80 [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569 [fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271 [i915#1247]: https://gitlab.freedesktop.org/drm/intel/issues/1247 [i915#424]: https://gitlab.freedesktop.org/drm/intel/issues/424 [i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45 [i915#877]: https://gitlab.freedesktop.org/drm/intel/issues/877 Participating hosts (52 -> 46) ------------------------------ Missing (6): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5446 -> IGTPW_4169 CI-20190529: 20190529 CI_DRM_7958: af30970548f72cf8a37886f009e0cfe02b23c8a4 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_4169: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/index.html IGT_5446: 7a05faa0be53fa1544ec950290129d20e4101c72 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 7+ messages in thread
* [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_rotation_crc: limit maximum used plane size (rev2) 2020-02-17 20:03 [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc: limit maximum used plane size Juha-Pekka Heikkila 2020-02-17 21:35 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork 2020-02-18 10:43 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork @ 2020-02-18 14:17 ` Patchwork 2020-02-19 17:19 ` [igt-dev] ✓ Fi.CI.IGT: success for tests/kms_rotation_crc: limit maximum used plane size Patchwork ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2020-02-18 14:17 UTC (permalink / raw) To: Juha-Pekka Heikkila; +Cc: igt-dev == Series Details == Series: tests/kms_rotation_crc: limit maximum used plane size (rev2) URL : https://patchwork.freedesktop.org/series/73547/ State : failure == Summary == CI Bug Log - changes from IGT_5446 -> IGTPW_4170 ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_4170 absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_4170, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4170/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_4170: ### IGT changes ### #### Possible regressions #### * igt@i915_selftest@live_reset: - fi-bwr-2160: [PASS][1] -> [FAIL][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-bwr-2160/igt@i915_selftest@live_reset.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4170/fi-bwr-2160/igt@i915_selftest@live_reset.html Known issues ------------ Here are the changes found in IGTPW_4170 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_flip@basic-flip-vs-wf_vblank: - fi-bwr-2160: [PASS][3] -> [FAIL][4] ([i915#34]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-bwr-2160/igt@kms_flip@basic-flip-vs-wf_vblank.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4170/fi-bwr-2160/igt@kms_flip@basic-flip-vs-wf_vblank.html #### Possible fixes #### * igt@gem_close_race@basic-threads: - fi-byt-n2820: [INCOMPLETE][5] ([i915#45]) -> [PASS][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-byt-n2820/igt@gem_close_race@basic-threads.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4170/fi-byt-n2820/igt@gem_close_race@basic-threads.html * igt@gem_exec_parallel@contexts: - {fi-ehl-1}: [INCOMPLETE][7] ([i915#937]) -> [PASS][8] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-ehl-1/igt@gem_exec_parallel@contexts.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4170/fi-ehl-1/igt@gem_exec_parallel@contexts.html * igt@i915_selftest@live_execlists: - fi-icl-y: [DMESG-FAIL][9] ([fdo#108569]) -> [PASS][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-icl-y/igt@i915_selftest@live_execlists.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4170/fi-icl-y/igt@i915_selftest@live_execlists.html * igt@i915_selftest@live_gem_contexts: - fi-cml-s: [DMESG-FAIL][11] ([i915#877]) -> [PASS][12] [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-cml-s/igt@i915_selftest@live_gem_contexts.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4170/fi-cml-s/igt@i915_selftest@live_gem_contexts.html * igt@i915_selftest@live_gtt: - fi-bxt-dsi: [TIMEOUT][13] ([fdo#112271]) -> [PASS][14] [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/fi-bxt-dsi/igt@i915_selftest@live_gtt.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4170/fi-bxt-dsi/igt@i915_selftest@live_gtt.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569 [fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271 [i915#34]: https://gitlab.freedesktop.org/drm/intel/issues/34 [i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45 [i915#877]: https://gitlab.freedesktop.org/drm/intel/issues/877 [i915#937]: https://gitlab.freedesktop.org/drm/intel/issues/937 Participating hosts (52 -> 42) ------------------------------ Missing (10): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-bsw-kefka fi-skl-lmem fi-byt-clapper fi-bsw-nick fi-bdw-samus fi-snb-2600 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5446 -> IGTPW_4170 CI-20190529: 20190529 CI_DRM_7958: af30970548f72cf8a37886f009e0cfe02b23c8a4 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_4170: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4170/index.html IGT_5446: 7a05faa0be53fa1544ec950290129d20e4101c72 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4170/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 7+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for tests/kms_rotation_crc: limit maximum used plane size 2020-02-17 20:03 [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc: limit maximum used plane size Juha-Pekka Heikkila ` (2 preceding siblings ...) 2020-02-18 14:17 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_rotation_crc: limit maximum used plane size (rev2) Patchwork @ 2020-02-19 17:19 ` Patchwork 2020-02-20 12:09 ` [igt-dev] [PATCH i-g-t] " Lisovskiy, Stanislav 2020-02-21 7:47 ` Martin Peres 5 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2020-02-19 17:19 UTC (permalink / raw) To: Juha-Pekka Heikkila; +Cc: igt-dev == Series Details == Series: tests/kms_rotation_crc: limit maximum used plane size URL : https://patchwork.freedesktop.org/series/73547/ State : success == Summary == CI Bug Log - changes from IGT_5446_full -> IGTPW_4169_full ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/index.html Known issues ------------ Here are the changes found in IGTPW_4169_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ctx_isolation@bcs0-s3: - shard-apl: [PASS][1] -> [DMESG-WARN][2] ([i915#180]) +2 similar issues [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-apl3/igt@gem_ctx_isolation@bcs0-s3.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-apl1/igt@gem_ctx_isolation@bcs0-s3.html * igt@gem_exec_balancer@smoke: - shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#110854]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb4/igt@gem_exec_balancer@smoke.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb7/igt@gem_exec_balancer@smoke.html * igt@gem_exec_parallel@vcs1-fds: - shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#112080]) +8 similar issues [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb4/igt@gem_exec_parallel@vcs1-fds.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb8/igt@gem_exec_parallel@vcs1-fds.html * igt@gem_exec_schedule@wide-bsd: - shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#112146]) +5 similar issues [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb7/igt@gem_exec_schedule@wide-bsd.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb2/igt@gem_exec_schedule@wide-bsd.html * igt@gem_ppgtt@flink-and-close-vma-leak: - shard-glk: [PASS][9] -> [FAIL][10] ([i915#644]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-glk4/igt@gem_ppgtt@flink-and-close-vma-leak.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-glk5/igt@gem_ppgtt@flink-and-close-vma-leak.html - shard-hsw: [PASS][11] -> [FAIL][12] ([i915#644]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-hsw8/igt@gem_ppgtt@flink-and-close-vma-leak.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-hsw8/igt@gem_ppgtt@flink-and-close-vma-leak.html * igt@i915_pm_rps@reset: - shard-iclb: [PASS][13] -> [FAIL][14] ([i915#413]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb6/igt@i915_pm_rps@reset.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb6/igt@i915_pm_rps@reset.html * igt@i915_selftest@live_gt_lrc: - shard-tglb: [PASS][15] -> [INCOMPLETE][16] ([i915#1233]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-tglb2/igt@i915_selftest@live_gt_lrc.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-tglb8/igt@i915_selftest@live_gt_lrc.html * igt@kms_flip@flip-vs-suspend: - shard-kbl: [PASS][17] -> [DMESG-FAIL][18] ([fdo#103375] / [i915#180]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-kbl1/igt@kms_flip@flip-vs-suspend.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-kbl2/igt@kms_flip@flip-vs-suspend.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-pgflip-blt: - shard-glk: [PASS][19] -> [FAIL][20] ([i915#49]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-glk5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-pgflip-blt.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-glk7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-pgflip-blt.html * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes: - shard-kbl: [PASS][21] -> [DMESG-WARN][22] ([i915#180]) +2 similar issues [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-kbl7/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-kbl7/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html * igt@kms_plane_lowres@pipe-a-tiling-x: - shard-glk: [PASS][23] -> [FAIL][24] ([i915#899]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-glk1/igt@kms_plane_lowres@pipe-a-tiling-x.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-glk7/igt@kms_plane_lowres@pipe-a-tiling-x.html * igt@kms_psr@psr2_sprite_plane_move: - shard-iclb: [PASS][25] -> [SKIP][26] ([fdo#109441]) +2 similar issues [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb5/igt@kms_psr@psr2_sprite_plane_move.html * igt@kms_setmode@basic: - shard-hsw: [PASS][27] -> [FAIL][28] ([i915#31]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-hsw8/igt@kms_setmode@basic.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-hsw7/igt@kms_setmode@basic.html * igt@prime_vgem@fence-wait-bsd2: - shard-iclb: [PASS][29] -> [SKIP][30] ([fdo#109276]) +21 similar issues [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb1/igt@prime_vgem@fence-wait-bsd2.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb5/igt@prime_vgem@fence-wait-bsd2.html #### Possible fixes #### * igt@gem_caching@read-writes: - shard-hsw: [FAIL][31] ([i915#694]) -> [PASS][32] +1 similar issue [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-hsw7/igt@gem_caching@read-writes.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-hsw6/igt@gem_caching@read-writes.html * igt@gem_ctx_isolation@vcs1-dirty-create: - shard-iclb: [SKIP][33] ([fdo#112080]) -> [PASS][34] +9 similar issues [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb5/igt@gem_ctx_isolation@vcs1-dirty-create.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb2/igt@gem_ctx_isolation@vcs1-dirty-create.html * igt@gem_exec_schedule@pi-shared-iova-bsd: - shard-iclb: [SKIP][35] ([i915#677]) -> [PASS][36] [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb2/igt@gem_exec_schedule@pi-shared-iova-bsd.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb3/igt@gem_exec_schedule@pi-shared-iova-bsd.html * igt@gem_exec_schedule@preempt-queue-bsd1: - shard-iclb: [SKIP][37] ([fdo#109276]) -> [PASS][38] +19 similar issues [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb7/igt@gem_exec_schedule@preempt-queue-bsd1.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb2/igt@gem_exec_schedule@preempt-queue-bsd1.html * igt@gem_exec_schedule@preemptive-hang-bsd: - shard-iclb: [SKIP][39] ([fdo#112146]) -> [PASS][40] +5 similar issues [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb1/igt@gem_exec_schedule@preemptive-hang-bsd.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb6/igt@gem_exec_schedule@preemptive-hang-bsd.html * {igt@gem_exec_whisper@basic-queues-forked}: - shard-glk: [INCOMPLETE][41] ([i915#58] / [k.org#198133]) -> [PASS][42] [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-glk9/igt@gem_exec_whisper@basic-queues-forked.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-glk3/igt@gem_exec_whisper@basic-queues-forked.html * igt@i915_pm_rps@waitboost: - shard-iclb: [FAIL][43] ([i915#413]) -> [PASS][44] [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb8/igt@i915_pm_rps@waitboost.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb2/igt@i915_pm_rps@waitboost.html * igt@kms_cursor_crc@pipe-c-cursor-suspend: - shard-kbl: [DMESG-WARN][45] ([i915#180]) -> [PASS][46] +6 similar issues [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-kbl3/igt@kms_cursor_crc@pipe-c-cursor-suspend.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-kbl6/igt@kms_cursor_crc@pipe-c-cursor-suspend.html - shard-apl: [DMESG-WARN][47] ([i915#180]) -> [PASS][48] +3 similar issues [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-apl1/igt@kms_cursor_crc@pipe-c-cursor-suspend.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-apl7/igt@kms_cursor_crc@pipe-c-cursor-suspend.html * igt@kms_draw_crc@draw-method-rgb565-blt-untiled: - shard-snb: [SKIP][49] ([fdo#109271]) -> [PASS][50] [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-snb7/igt@kms_draw_crc@draw-method-rgb565-blt-untiled.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-snb4/igt@kms_draw_crc@draw-method-rgb565-blt-untiled.html * igt@kms_flip@flip-vs-suspend: - shard-hsw: [INCOMPLETE][51] ([i915#61]) -> [PASS][52] [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-hsw5/igt@kms_flip@flip-vs-suspend.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-hsw2/igt@kms_flip@flip-vs-suspend.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu: - shard-kbl: [FAIL][53] ([i915#49]) -> [PASS][54] [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-kbl3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html - shard-apl: [FAIL][55] ([i915#49]) -> [PASS][56] [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-apl8/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-apl4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-blt: - shard-glk: [FAIL][57] ([i915#49]) -> [PASS][58] [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-glk3/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-blt.html [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-glk6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-blt.html * igt@kms_psr@psr2_sprite_plane_onoff: - shard-iclb: [SKIP][59] ([fdo#109441]) -> [PASS][60] [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb4/igt@kms_psr@psr2_sprite_plane_onoff.html [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb2/igt@kms_psr@psr2_sprite_plane_onoff.html * igt@prime_mmap_coherency@ioctl-errors: - shard-hsw: [FAIL][61] ([i915#831]) -> [PASS][62] [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-hsw7/igt@prime_mmap_coherency@ioctl-errors.html [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-hsw5/igt@prime_mmap_coherency@ioctl-errors.html #### Warnings #### * igt@gem_ctx_isolation@vcs1-nonpriv: - shard-iclb: [FAIL][63] ([IGT#28]) -> [SKIP][64] ([fdo#112080]) [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-iclb1/igt@gem_ctx_isolation@vcs1-nonpriv.html [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-iclb3/igt@gem_ctx_isolation@vcs1-nonpriv.html * igt@gem_tiled_blits@normal: - shard-hsw: [FAIL][65] ([i915#818]) -> [FAIL][66] ([i915#694]) [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-hsw2/igt@gem_tiled_blits@normal.html [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-hsw1/igt@gem_tiled_blits@normal.html * igt@i915_pm_dc@dc6-dpms: - shard-snb: [INCOMPLETE][67] ([i915#82]) -> [SKIP][68] ([fdo#109271]) [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-snb4/igt@i915_pm_dc@dc6-dpms.html [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-snb2/igt@i915_pm_dc@dc6-dpms.html * igt@kms_cursor_crc@pipe-a-cursor-suspend: - shard-apl: [DMESG-WARN][69] ([i915#180]) -> [FAIL][70] ([i915#54]) [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5446/shard-apl4/igt@kms_cursor_crc@pipe-a-cursor-suspend.html [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/shard-apl1/igt@kms_cursor_crc@pipe-a-cursor-suspend.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [IGT#28]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/28 [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375 [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665 [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#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854 [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080 [fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146 [i915#1233]: https://gitlab.freedesktop.org/drm/intel/issues/1233 [i915#1239]: https://gitlab.freedesktop.org/drm/intel/issues/1239 [i915#1241]: https://gitlab.freedesktop.org/drm/intel/issues/1241 [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 [i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31 [i915#413]: https://gitlab.freedesktop.org/drm/intel/issues/413 [i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49 [i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54 [i915#58]: https://gitlab.freedesktop.org/drm/intel/issues/58 [i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61 [i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644 [i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677 [i915#679]: https://gitlab.freedesktop.org/drm/intel/issues/679 [i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694 [i915#818]: https://gitlab.freedesktop.org/drm/intel/issues/818 [i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82 [i915#831]: https://gitlab.freedesktop.org/drm/intel/issues/831 [i915#899]: https://gitlab.freedesktop.org/drm/intel/issues/899 [k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133 Participating hosts (8 -> 8) ------------------------------ No changes in participating hosts Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5446 -> IGTPW_4169 CI-20190529: 20190529 CI_DRM_7958: af30970548f72cf8a37886f009e0cfe02b23c8a4 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_4169: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/index.html IGT_5446: 7a05faa0be53fa1544ec950290129d20e4101c72 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4169/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc: limit maximum used plane size 2020-02-17 20:03 [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc: limit maximum used plane size Juha-Pekka Heikkila ` (3 preceding siblings ...) 2020-02-19 17:19 ` [igt-dev] ✓ Fi.CI.IGT: success for tests/kms_rotation_crc: limit maximum used plane size Patchwork @ 2020-02-20 12:09 ` Lisovskiy, Stanislav 2020-02-21 7:47 ` Martin Peres 5 siblings, 0 replies; 7+ messages in thread From: Lisovskiy, Stanislav @ 2020-02-20 12:09 UTC (permalink / raw) To: juhapekka.heikkila@gmail.com, igt-dev@lists.freedesktop.org On Mon, 2020-02-17 at 22:03 +0200, Juha-Pekka Heikkila wrote: > It shouldn't make difference here if used maximum available > screen resolution or something smaller. Something smaller > is much faster so limit maximum size to 640x480. > > Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> > --- > tests/kms_rotation_crc.c | 46 +++++++++++++++++++++++++++++++++----- > -------- > 1 file changed, 33 insertions(+), 13 deletions(-) Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> > > diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c > index 2a7b10e..819897b 100644 > --- a/tests/kms_rotation_crc.c > +++ b/tests/kms_rotation_crc.c > @@ -27,6 +27,8 @@ > > #define MAX_FENCES 32 > #define MAXMULTIPLANESAMOUNT 2 > +#define TEST_MAX_WIDTH 640 > +#define TEST_MAX_HEIGHT 480 > > struct p_struct { > igt_plane_t *plane; > @@ -65,6 +67,8 @@ typedef struct { > > struct p_struct *multiplaneoldview; > struct p_point planepos[MAXMULTIPLANESAMOUNT]; > + > + bool use_native_resolution; > } data_t; > > typedef struct { > @@ -210,8 +214,13 @@ static void prepare_fbs(data_t *data, > igt_output_t *output, > > mode = igt_output_get_mode(output); > if (plane->type != DRM_PLANE_TYPE_CURSOR) { > - w = mode->hdisplay; > - h = mode->vdisplay; > + if (data->use_native_resolution) { > + w = mode->hdisplay; > + h = mode->vdisplay; > + } else { > + w = min(TEST_MAX_WIDTH, mode->hdisplay); > + h = min(TEST_MAX_HEIGHT, mode->vdisplay); > + } > > min_w = 256; > min_h = 256; > @@ -404,8 +413,16 @@ static void test_plane_rotation(data_t *data, > int plane_type, bool test_bad_form > > /* Only support partial covering primary plane > on gen9+ */ > if (plane_type == DRM_PLANE_TYPE_PRIMARY && > - i != rectangle && > intel_gen(intel_get_drm_devid(data->gfx_fd)) < 9) > - continue; > + intel_gen(intel_get_drm_devid(data- > >gfx_fd)) < 9) { > + if (i != rectangle) > + continue; > + else > + data->use_native_resolution = > true; > + > + } else { > + data->use_native_resolution = false; > + } > + > > if (!data->override_fmt) { > for (j = 0; j < plane->drm_plane- > >count_formats; j++) { > @@ -493,7 +510,7 @@ static void pointlocation(data_t *data, > planeinfos *p, drmModeModeInfo *mode, > int c) > { > if (data->planepos[c].origo & p_right) { > - p[c].x1 = (int32_t)(data->planepos[c].x * mode- > >hdisplay > + p[c].x1 = (int32_t)(data->planepos[c].x * > min(TEST_MAX_WIDTH, mode->hdisplay) > + mode->hdisplay); > p[c].x1 &= ~3; > /* > @@ -504,17 +521,17 @@ static void pointlocation(data_t *data, > planeinfos *p, drmModeModeInfo *mode, > */ > p[c].x1 -= mode->hdisplay & 2; > } else { > - p[c].x1 = (int32_t)(data->planepos[c].x * mode- > >hdisplay); > + p[c].x1 = (int32_t)(data->planepos[c].x * > min(TEST_MAX_WIDTH, mode->hdisplay)); > p[c].x1 &= ~3; > } > > if (data->planepos[c].origo & p_bottom) { > - p[c].y1 = (int32_t)(data->planepos[c].y * mode- > >vdisplay > + p[c].y1 = (int32_t)(data->planepos[c].y * > min(TEST_MAX_HEIGHT, mode->vdisplay) > + mode->vdisplay); > p[c].y1 &= ~3; > p[c].y1 -= mode->vdisplay & 2; > } else { > - p[c].y1 = (int32_t)(data->planepos[c].y * mode- > >vdisplay); > + p[c].y1 = (int32_t)(data->planepos[c].y * > min(TEST_MAX_HEIGHT, mode->vdisplay)); > p[c].y1 &= ~3; > } > } > @@ -530,7 +547,7 @@ static void test_multi_plane_rotation(data_t > *data, enum pipe pipe) > igt_output_t *output; > igt_crc_t retcrc_sw, retcrc_hw; > planeinfos p[2]; > - int c; > + int c, used_w, used_h; > struct p_struct *oldplanes; > drmModeModeInfo *mode; > > @@ -568,14 +585,17 @@ static void test_multi_plane_rotation(data_t > *data, enum pipe pipe) > igt_display_require_output(display); > igt_display_commit2(display, COMMIT_ATOMIC); > > + used_w = min(TEST_MAX_WIDTH, mode->hdisplay); > + used_h = min(TEST_MAX_HEIGHT, mode->vdisplay); > + > data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe, > INTEL_PIPE_CRC_SOURCE > _AUTO); > igt_pipe_crc_start(data->pipe_crc); > > for (i = 0; i < ARRAY_SIZE(planeconfigs); i++) { > p[0].planetype = DRM_PLANE_TYPE_PRIMARY; > - p[0].width = (uint64_t)(planeconfigs[i].width * > mode->hdisplay); > - p[0].height = (uint64_t)(planeconfigs[i].height > * mode->vdisplay); > + p[0].width = (uint64_t)(planeconfigs[i].width * > used_w); > + p[0].height = (uint64_t)(planeconfigs[i].height > * used_h); > p[0].tiling = planeconfigs[i].tiling; > pointlocation(data, (planeinfos *)&p, mode, 0); > > @@ -584,8 +604,8 @@ static void test_multi_plane_rotation(data_t > *data, enum pipe pipe) > > for (j = 0; j < > ARRAY_SIZE(planeconfigs); j++) { > p[1].planetype = > DRM_PLANE_TYPE_OVERLAY; > - p[1].width = > (uint64_t)(planeconfigs[j].width * mode->hdisplay); > - p[1].height = > (uint64_t)(planeconfigs[j].height * mode->vdisplay); > + p[1].width = > (uint64_t)(planeconfigs[j].width * used_w); > + p[1].height = > (uint64_t)(planeconfigs[j].height * used_h); > p[1].tiling = > planeconfigs[j].tiling; > pointlocation(data, (planeinfos > *)&p, > mode, 1); _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc: limit maximum used plane size 2020-02-17 20:03 [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc: limit maximum used plane size Juha-Pekka Heikkila ` (4 preceding siblings ...) 2020-02-20 12:09 ` [igt-dev] [PATCH i-g-t] " Lisovskiy, Stanislav @ 2020-02-21 7:47 ` Martin Peres 5 siblings, 0 replies; 7+ messages in thread From: Martin Peres @ 2020-02-21 7:47 UTC (permalink / raw) To: Juha-Pekka Heikkila, igt-dev On 2020-02-17 22:03, Juha-Pekka Heikkila wrote: > It shouldn't make difference here if used maximum available > screen resolution or something smaller. Something smaller > is much faster so limit maximum size to 640x480. > > Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Thanks for this. It shaved 00:02:23s (00:15:06 -> 00:13:17) from the rotation_crc run time, so this is looking better but more work is still needed: IGT: igt@kms_rotation_crc@primary-y-tiled-reflect-x-180 59.40 s IGT: igt@kms_rotation_crc@primary-y-tiled-reflect-x-270 59.38 s IGT: igt@kms_rotation_crc@primary-y-tiled-reflect-x-0 59.32 s IGT: igt@kms_rotation_crc@primary-y-tiled-reflect-x-90 59.02 s IGT: igt@kms_rotation_crc@primary-rotation-90 58.93 s IGT: igt@kms_rotation_crc@primary-rotation-270 58.90 s IGT: igt@kms_rotation_crc@primary-x-tiled-reflect-x-0 58.84 s IGT: igt@kms_rotation_crc@primary-x-tiled-reflect-x-180 58.80 s IGT: igt@kms_rotation_crc@primary-rotation-180 56.44 s IGT: igt@kms_rotation_crc@sprite-rotation-180 40.83 s IGT: igt@kms_rotation_crc@sprite-rotation-90 40.82 s IGT: igt@kms_rotation_crc@sprite-rotation-90-pos-100-0 40.80 s IGT: igt@kms_rotation_crc@sprite-rotation-270 40.78 s IGT: igt@kms_rotation_crc@bad-tiling 39.64 s IGT: igt@kms_rotation_crc@multiplane-rotation-cropping-bottom 18.20 s IGT: igt@kms_rotation_crc@multiplane-rotation-cropping-top 18.06 s IGT: igt@kms_rotation_crc@multiplane-rotation 17.99 s However I agree with the patch, although you were a little more aggressive with your choice of resolution than I would have been :D. In any case, this patch is: Acked-by: Martin Peres <martin.peres@linux.intel.com> Let's see how much this will improve on Ville's patch! > --- > tests/kms_rotation_crc.c | 46 +++++++++++++++++++++++++++++++++------------- > 1 file changed, 33 insertions(+), 13 deletions(-) > > diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c > index 2a7b10e..819897b 100644 > --- a/tests/kms_rotation_crc.c > +++ b/tests/kms_rotation_crc.c > @@ -27,6 +27,8 @@ > > #define MAX_FENCES 32 > #define MAXMULTIPLANESAMOUNT 2 > +#define TEST_MAX_WIDTH 640 > +#define TEST_MAX_HEIGHT 480 > > struct p_struct { > igt_plane_t *plane; > @@ -65,6 +67,8 @@ typedef struct { > > struct p_struct *multiplaneoldview; > struct p_point planepos[MAXMULTIPLANESAMOUNT]; > + > + bool use_native_resolution; > } data_t; > > typedef struct { > @@ -210,8 +214,13 @@ static void prepare_fbs(data_t *data, igt_output_t *output, > > mode = igt_output_get_mode(output); > if (plane->type != DRM_PLANE_TYPE_CURSOR) { > - w = mode->hdisplay; > - h = mode->vdisplay; > + if (data->use_native_resolution) { > + w = mode->hdisplay; > + h = mode->vdisplay; > + } else { > + w = min(TEST_MAX_WIDTH, mode->hdisplay); > + h = min(TEST_MAX_HEIGHT, mode->vdisplay); > + } > > min_w = 256; > min_h = 256; > @@ -404,8 +413,16 @@ static void test_plane_rotation(data_t *data, int plane_type, bool test_bad_form > > /* Only support partial covering primary plane on gen9+ */ > if (plane_type == DRM_PLANE_TYPE_PRIMARY && > - i != rectangle && intel_gen(intel_get_drm_devid(data->gfx_fd)) < 9) > - continue; > + intel_gen(intel_get_drm_devid(data->gfx_fd)) < 9) { > + if (i != rectangle) > + continue; > + else > + data->use_native_resolution = true; > + > + } else { > + data->use_native_resolution = false; > + } > + > > if (!data->override_fmt) { > for (j = 0; j < plane->drm_plane->count_formats; j++) { > @@ -493,7 +510,7 @@ static void pointlocation(data_t *data, planeinfos *p, drmModeModeInfo *mode, > int c) > { > if (data->planepos[c].origo & p_right) { > - p[c].x1 = (int32_t)(data->planepos[c].x * mode->hdisplay > + p[c].x1 = (int32_t)(data->planepos[c].x * min(TEST_MAX_WIDTH, mode->hdisplay) > + mode->hdisplay); > p[c].x1 &= ~3; > /* > @@ -504,17 +521,17 @@ static void pointlocation(data_t *data, planeinfos *p, drmModeModeInfo *mode, > */ > p[c].x1 -= mode->hdisplay & 2; > } else { > - p[c].x1 = (int32_t)(data->planepos[c].x * mode->hdisplay); > + p[c].x1 = (int32_t)(data->planepos[c].x * min(TEST_MAX_WIDTH, mode->hdisplay)); > p[c].x1 &= ~3; > } > > if (data->planepos[c].origo & p_bottom) { > - p[c].y1 = (int32_t)(data->planepos[c].y * mode->vdisplay > + p[c].y1 = (int32_t)(data->planepos[c].y * min(TEST_MAX_HEIGHT, mode->vdisplay) > + mode->vdisplay); > p[c].y1 &= ~3; > p[c].y1 -= mode->vdisplay & 2; > } else { > - p[c].y1 = (int32_t)(data->planepos[c].y * mode->vdisplay); > + p[c].y1 = (int32_t)(data->planepos[c].y * min(TEST_MAX_HEIGHT, mode->vdisplay)); > p[c].y1 &= ~3; > } > } > @@ -530,7 +547,7 @@ static void test_multi_plane_rotation(data_t *data, enum pipe pipe) > igt_output_t *output; > igt_crc_t retcrc_sw, retcrc_hw; > planeinfos p[2]; > - int c; > + int c, used_w, used_h; > struct p_struct *oldplanes; > drmModeModeInfo *mode; > > @@ -568,14 +585,17 @@ static void test_multi_plane_rotation(data_t *data, enum pipe pipe) > igt_display_require_output(display); > igt_display_commit2(display, COMMIT_ATOMIC); > > + used_w = min(TEST_MAX_WIDTH, mode->hdisplay); > + used_h = min(TEST_MAX_HEIGHT, mode->vdisplay); > + > data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe, > INTEL_PIPE_CRC_SOURCE_AUTO); > igt_pipe_crc_start(data->pipe_crc); > > for (i = 0; i < ARRAY_SIZE(planeconfigs); i++) { > p[0].planetype = DRM_PLANE_TYPE_PRIMARY; > - p[0].width = (uint64_t)(planeconfigs[i].width * mode->hdisplay); > - p[0].height = (uint64_t)(planeconfigs[i].height * mode->vdisplay); > + p[0].width = (uint64_t)(planeconfigs[i].width * used_w); > + p[0].height = (uint64_t)(planeconfigs[i].height * used_h); > p[0].tiling = planeconfigs[i].tiling; > pointlocation(data, (planeinfos *)&p, mode, 0); > > @@ -584,8 +604,8 @@ static void test_multi_plane_rotation(data_t *data, enum pipe pipe) > > for (j = 0; j < ARRAY_SIZE(planeconfigs); j++) { > p[1].planetype = DRM_PLANE_TYPE_OVERLAY; > - p[1].width = (uint64_t)(planeconfigs[j].width * mode->hdisplay); > - p[1].height = (uint64_t)(planeconfigs[j].height * mode->vdisplay); > + p[1].width = (uint64_t)(planeconfigs[j].width * used_w); > + p[1].height = (uint64_t)(planeconfigs[j].height * used_h); > p[1].tiling = planeconfigs[j].tiling; > pointlocation(data, (planeinfos *)&p, > mode, 1); > _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-02-21 7:47 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-02-17 20:03 [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc: limit maximum used plane size Juha-Pekka Heikkila 2020-02-17 21:35 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork 2020-02-18 10:43 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork 2020-02-18 14:17 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_rotation_crc: limit maximum used plane size (rev2) Patchwork 2020-02-19 17:19 ` [igt-dev] ✓ Fi.CI.IGT: success for tests/kms_rotation_crc: limit maximum used plane size Patchwork 2020-02-20 12:09 ` [igt-dev] [PATCH i-g-t] " Lisovskiy, Stanislav 2020-02-21 7:47 ` Martin Peres
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox