All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression
@ 2018-05-14 11:43 Mika Kahola
  2018-05-14 13:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Mika Kahola @ 2018-05-14 11:43 UTC (permalink / raw)
  To: igt-dev

Disable framebuffer compression when execution test with multiple planes.

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
---
 tests/kms_plane_multiple.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
index e61bc84..9ae2756 100644
--- a/tests/kms_plane_multiple.c
+++ b/tests/kms_plane_multiple.c
@@ -36,6 +36,9 @@ IGT_TEST_DESCRIPTION("Test atomic mode setting with multiple planes ");
 #define SIZE_CURSOR     128
 #define LOOP_FOREVER     -1
 
+#define fbc_enable() igt_set_module_param_int("enable_fbc", 1)
+#define fbc_disable() igt_set_module_param_int("enable_fbc", 0)
+
 typedef struct {
 	float red;
 	float green;
@@ -67,6 +70,8 @@ struct {
  */
 static void test_init(data_t *data, enum pipe pipe, int n_planes)
 {
+	fbc_disable();
+
 	data->pipe_crc = igt_pipe_crc_new(data->drm_fd, pipe, INTEL_PIPE_CRC_SOURCE_AUTO);
 
 	data->plane = calloc(n_planes, sizeof(data->plane));
@@ -102,6 +107,8 @@ static void test_fini(data_t *data, igt_output_t *output, int n_planes)
 	igt_remove_fb(data->drm_fd, data->fb);
 
 	igt_display_reset(&data->display);
+
+	fbc_enable();
 }
 
 static void
-- 
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] 8+ messages in thread

* [igt-dev] ✓ Fi.CI.BAT: success for igt/tests/kms_plane_multiple: Disable framebuffer compression
  2018-05-14 11:43 [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression Mika Kahola
@ 2018-05-14 13:23 ` Patchwork
  2018-05-14 19:39 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2018-05-14 13:23 UTC (permalink / raw)
  To: Mika Kahola; +Cc: igt-dev

== Series Details ==

Series: igt/tests/kms_plane_multiple: Disable framebuffer compression
URL   : https://patchwork.freedesktop.org/series/43128/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4177 -> IGTPW_1354 =

== Summary - WARNING ==

  Minor unknown changes coming with IGTPW_1354 need to be verified
  manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in IGTPW_1354, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/43128/revisions/1/mbox/

== Possible new issues ==

  Here are the unknown changes that may have been introduced in IGTPW_1354:

  === IGT changes ===

    ==== Warnings ====

    igt@gem_exec_gttfill@basic:
      fi-pnv-d510:        PASS -> SKIP

    
== Known issues ==

  Here are the changes found in IGTPW_1354 that come from known issues:

  === IGT changes ===

    ==== Issues hit ====

    igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
      fi-bxt-dsi:         PASS -> INCOMPLETE (fdo#103927)

    
  fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927


== Participating hosts (41 -> 37) ==

  Missing    (4): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-skl-6700hq 


== Build changes ==

    * IGT: IGT_4477 -> IGTPW_1354

  CI_DRM_4177: 2a481dd2c319c85c0233d292c5d08a8dce0784cd @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_1354: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1354/
  IGT_4477: 395c23946b44b071cc376f488a3205bedb02b382 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  piglit_4477: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1354/issues.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* [igt-dev] ✗ Fi.CI.IGT: failure for igt/tests/kms_plane_multiple: Disable framebuffer compression
  2018-05-14 11:43 [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression Mika Kahola
  2018-05-14 13:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2018-05-14 19:39 ` Patchwork
  2018-05-15  9:53 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2018-05-14 19:39 UTC (permalink / raw)
  To: Mika Kahola; +Cc: igt-dev

== Series Details ==

Series: igt/tests/kms_plane_multiple: Disable framebuffer compression
URL   : https://patchwork.freedesktop.org/series/43128/
State : failure

== Summary ==

= CI Bug Log - changes from IGT_4477_full -> IGTPW_1354_full =

== Summary - FAILURE ==

  Serious unknown changes coming with IGTPW_1354_full absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in IGTPW_1354_full, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/43128/revisions/1/mbox/

== Possible new issues ==

  Here are the unknown changes that may have been introduced in IGTPW_1354_full:

  === IGT changes ===

    ==== Possible regressions ====

    igt@gem_eio@in-flight-contexts-immediate:
      shard-glk:          PASS -> DMESG-WARN +1

    igt@gem_eio@in-flight-suspend:
      shard-kbl:          PASS -> DMESG-WARN +13
      shard-apl:          PASS -> DMESG-WARN +6

    
    ==== Warnings ====

    igt@gem_exec_schedule@deep-render:
      shard-kbl:          PASS -> SKIP +1

    igt@gem_mocs_settings@mocs-rc6-bsd1:
      shard-kbl:          SKIP -> PASS

    
== Known issues ==

  Here are the changes found in IGTPW_1354_full that come from known issues:

  === IGT changes ===

    ==== Issues hit ====

    igt@kms_color@pipe-b-degamma:
      shard-kbl:          PASS -> DMESG-WARN (fdo#103558, fdo#105602, fdo#103313) +1

    igt@kms_flip@dpms-vs-vblank-race-interruptible:
      shard-hsw:          PASS -> FAIL (fdo#103060)

    igt@kms_flip@flip-vs-expired-vblank-interruptible:
      shard-hsw:          PASS -> FAIL (fdo#105707) +1

    igt@kms_flip@modeset-vs-vblank-race-interruptible:
      shard-glk:          PASS -> FAIL (fdo#103060)

    igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-move:
      shard-kbl:          PASS -> DMESG-FAIL (fdo#103558, fdo#105602)

    igt@kms_setmode@basic:
      shard-apl:          PASS -> FAIL (fdo#99912)

    igt@kms_universal_plane@universal-plane-gen9-features-pipe-a:
      shard-kbl:          PASS -> DMESG-WARN (fdo#103558, fdo#105602) +20

    
    ==== Possible fixes ====

    igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic:
      shard-glk:          FAIL (fdo#106509) -> PASS

    igt@kms_flip@2x-wf_vblank-ts-check-interruptible:
      shard-glk:          FAIL (fdo#100368) -> PASS +3

    igt@kms_flip@absolute-wf_vblank-interruptible:
      shard-glk:          FAIL (fdo#106087) -> PASS

    igt@kms_flip@flip-vs-expired-vblank:
      shard-glk:          FAIL (fdo#102887) -> PASS

    igt@kms_rotation_crc@sprite-rotation-180:
      shard-snb:          FAIL (fdo#103925, fdo#104724) -> PASS +1

    
  fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
  fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
  fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
  fdo#103313 https://bugs.freedesktop.org/show_bug.cgi?id=103313
  fdo#103558 https://bugs.freedesktop.org/show_bug.cgi?id=103558
  fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
  fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
  fdo#105602 https://bugs.freedesktop.org/show_bug.cgi?id=105602
  fdo#105707 https://bugs.freedesktop.org/show_bug.cgi?id=105707
  fdo#106087 https://bugs.freedesktop.org/show_bug.cgi?id=106087
  fdo#106509 https://bugs.freedesktop.org/show_bug.cgi?id=106509
  fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912


== Participating hosts (5 -> 5) ==

  No changes in participating hosts


== Build changes ==

    * IGT: IGT_4477 -> IGTPW_1354
    * Linux: CI_DRM_4175 -> CI_DRM_4177

  CI_DRM_4175: a57366b6029ac86436ad36bbf8b9a31549ef2905 @ git://anongit.freedesktop.org/gfx-ci/linux
  CI_DRM_4177: 2a481dd2c319c85c0233d292c5d08a8dce0784cd @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_1354: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1354/
  IGT_4477: 395c23946b44b071cc376f488a3205bedb02b382 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  piglit_4477: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit

== Logs ==

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

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

* [igt-dev] ✓ Fi.CI.BAT: success for igt/tests/kms_plane_multiple: Disable framebuffer compression
  2018-05-14 11:43 [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression Mika Kahola
  2018-05-14 13:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2018-05-14 19:39 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
@ 2018-05-15  9:53 ` Patchwork
  2018-05-15 15:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  2018-05-15 15:19 ` [igt-dev] [igt-dev CI TEST] " Ville Syrjälä
  4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2018-05-15  9:53 UTC (permalink / raw)
  To: Mika Kahola; +Cc: igt-dev

== Series Details ==

Series: igt/tests/kms_plane_multiple: Disable framebuffer compression
URL   : https://patchwork.freedesktop.org/series/43128/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4182 -> IGTPW_1361 =

== Summary - WARNING ==

  Minor unknown changes coming with IGTPW_1361 need to be verified
  manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in IGTPW_1361, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/43128/revisions/1/mbox/

== Possible new issues ==

  Here are the unknown changes that may have been introduced in IGTPW_1361:

  === IGT changes ===

    ==== Warnings ====

    igt@gem_exec_gttfill@basic:
      fi-pnv-d510:        SKIP -> PASS

    
== Known issues ==

  Here are the changes found in IGTPW_1361 that come from known issues:

  === IGT changes ===

    ==== Issues hit ====

    igt@kms_frontbuffer_tracking@basic:
      fi-cnl-y3:          PASS -> FAIL (fdo#104724, fdo#103167)

    igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a:
      fi-glk-j4005:       PASS -> DMESG-WARN (fdo#106235)

    igt@kms_psr_sink_crc@basic:
      fi-hsw-4200u:       NOTRUN -> FAIL (fdo#106346)

    igt@prime_vgem@basic-fence-flip:
      fi-ilk-650:         PASS -> FAIL (fdo#104008)

    
    ==== Possible fixes ====

    igt@kms_chamelium@dp-crc-fast:
      fi-kbl-7500u:       DMESG-FAIL (fdo#103841) -> PASS

    igt@kms_flip@basic-flip-vs-wf_vblank:
      fi-cfl-s3:          FAIL (fdo#100368, fdo#103928) -> PASS

    igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b:
      {fi-byt-squawks}:   FAIL (fdo#104724) -> PASS

    
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
  fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
  fdo#103841 https://bugs.freedesktop.org/show_bug.cgi?id=103841
  fdo#103928 https://bugs.freedesktop.org/show_bug.cgi?id=103928
  fdo#104008 https://bugs.freedesktop.org/show_bug.cgi?id=104008
  fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
  fdo#106235 https://bugs.freedesktop.org/show_bug.cgi?id=106235
  fdo#106346 https://bugs.freedesktop.org/show_bug.cgi?id=106346


== Participating hosts (42 -> 42) ==

  No changes in participating hosts


== Build changes ==

    * IGT: IGT_4479 -> IGTPW_1361
    * Piglit: piglit_4479 -> piglit_4480

  CI_DRM_4182: 74146e495c113f6cf8721bb55feec6b459199cd4 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_1361: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1361/
  IGT_4479: 89ae332745e31a075747a63ac5acc5baccf75769 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  piglit_4479: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit
  piglit_4480: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1361/issues.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* [igt-dev] ✓ Fi.CI.IGT: success for igt/tests/kms_plane_multiple: Disable framebuffer compression
  2018-05-14 11:43 [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression Mika Kahola
                   ` (2 preceding siblings ...)
  2018-05-15  9:53 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
@ 2018-05-15 15:15 ` Patchwork
  2018-05-15 15:19 ` [igt-dev] [igt-dev CI TEST] " Ville Syrjälä
  4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2018-05-15 15:15 UTC (permalink / raw)
  To: Mika Kahola; +Cc: igt-dev

== Series Details ==

Series: igt/tests/kms_plane_multiple: Disable framebuffer compression
URL   : https://patchwork.freedesktop.org/series/43128/
State : success

== Summary ==

= CI Bug Log - changes from IGT_4479_full -> IGTPW_1361_full =

== Summary - WARNING ==

  Minor unknown changes coming with IGTPW_1361_full need to be verified
  manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in IGTPW_1361_full, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/43128/revisions/1/mbox/

== Possible new issues ==

  Here are the unknown changes that may have been introduced in IGTPW_1361_full:

  === IGT changes ===

    ==== Warnings ====

    igt@gem_mocs_settings@mocs-rc6-dirty-render:
      shard-kbl:          SKIP -> PASS +3

    igt@gem_mocs_settings@mocs-rc6-vebox:
      shard-kbl:          PASS -> SKIP +1

    
== Known issues ==

  Here are the changes found in IGTPW_1361_full that come from known issues:

  === IGT changes ===

    ==== Issues hit ====

    igt@gem_eio@execbuf:
      shard-glk:          PASS -> DMESG-WARN (fdo#106523) +1

    igt@gem_eio@throttle:
      shard-kbl:          PASS -> DMESG-WARN (fdo#106523) +1

    igt@gem_eio@wait-wedge-10ms:
      shard-apl:          PASS -> DMESG-WARN (fdo#106523) +4

    igt@gem_ppgtt@blt-vs-render-ctx0:
      shard-kbl:          PASS -> INCOMPLETE (fdo#103665, fdo#106023)

    igt@kms_flip@2x-flip-vs-expired-vblank:
      shard-glk:          PASS -> FAIL (fdo#105707)

    igt@kms_flip@2x-plain-flip-fb-recreate:
      shard-hsw:          PASS -> FAIL (fdo#100368)

    igt@kms_flip@dpms-vs-vblank-race-interruptible:
      shard-hsw:          PASS -> FAIL (fdo#103060)

    igt@kms_flip@plain-flip-ts-check:
      shard-glk:          PASS -> FAIL (fdo#100368)

    igt@kms_flip_tiling@flip-x-tiled:
      shard-glk:          PASS -> FAIL (fdo#104724, fdo#103822)

    igt@kms_flip_tiling@flip-y-tiled:
      shard-glk:          PASS -> FAIL (fdo#104724)

    igt@kms_rotation_crc@primary-rotation-270:
      shard-kbl:          PASS -> FAIL (fdo#103925, fdo#104724)

    igt@kms_vblank@pipe-c-accuracy-idle:
      shard-glk:          PASS -> FAIL (fdo#102583)

    
    ==== Possible fixes ====

    igt@gem_eio@hibernate:
      shard-hsw:          DMESG-WARN (fdo#106523) -> PASS +6

    igt@gem_eio@in-flight-internal-immediate:
      shard-glk:          DMESG-WARN (fdo#106523) -> PASS +7

    igt@gem_eio@in-flight-suspend:
      shard-apl:          DMESG-WARN (fdo#106523) -> PASS +4

    igt@gem_eio@suspend:
      shard-kbl:          DMESG-WARN (fdo#106523) -> PASS +3

    igt@gem_eio@unwedge-stress:
      shard-snb:          DMESG-WARN (fdo#106523) -> PASS +6

    igt@gem_ppgtt@blt-vs-render-ctxn:
      shard-kbl:          INCOMPLETE (fdo#103665, fdo#106023) -> PASS

    igt@kms_atomic_transition@1x-modeset-transitions-nonblocking-fencing:
      shard-glk:          FAIL (fdo#105703) -> PASS +1

    igt@kms_flip@plain-flip-fb-recreate-interruptible:
      shard-glk:          FAIL (fdo#100368) -> PASS +1

    igt@kms_flip_tiling@flip-to-y-tiled:
      shard-glk:          FAIL (fdo#104724, fdo#103822) -> PASS

    igt@kms_vblank@pipe-b-ts-continuation-suspend:
      shard-kbl:          INCOMPLETE (fdo#103665) -> PASS

    
  fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
  fdo#102583 https://bugs.freedesktop.org/show_bug.cgi?id=102583
  fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
  fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
  fdo#103822 https://bugs.freedesktop.org/show_bug.cgi?id=103822
  fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
  fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
  fdo#105703 https://bugs.freedesktop.org/show_bug.cgi?id=105703
  fdo#105707 https://bugs.freedesktop.org/show_bug.cgi?id=105707
  fdo#106023 https://bugs.freedesktop.org/show_bug.cgi?id=106023
  fdo#106523 https://bugs.freedesktop.org/show_bug.cgi?id=106523


== Participating hosts (5 -> 5) ==

  No changes in participating hosts


== Build changes ==

    * IGT: IGT_4479 -> IGTPW_1361
    * Linux: CI_DRM_4178 -> CI_DRM_4182
    * Piglit: piglit_4479 -> piglit_4480

  CI_DRM_4178: 8213a085ddd82871fab4bf94d1a3555fcdf9e6ac @ git://anongit.freedesktop.org/gfx-ci/linux
  CI_DRM_4182: 74146e495c113f6cf8721bb55feec6b459199cd4 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_1361: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1361/
  IGT_4479: 89ae332745e31a075747a63ac5acc5baccf75769 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  piglit_4479: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit
  piglit_4480: 3ba0657bff4216d1ec7179935590261855f1651e @ git://anongit.freedesktop.org/piglit

== Logs ==

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

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

* Re: [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression
  2018-05-14 11:43 [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression Mika Kahola
                   ` (3 preceding siblings ...)
  2018-05-15 15:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2018-05-15 15:19 ` Ville Syrjälä
  2018-05-16  6:11   ` Mika Kahola
  4 siblings, 1 reply; 8+ messages in thread
From: Ville Syrjälä @ 2018-05-15 15:19 UTC (permalink / raw)
  To: Mika Kahola; +Cc: igt-dev

On Mon, May 14, 2018 at 02:43:08PM +0300, Mika Kahola wrote:
> Disable framebuffer compression when execution test with multiple planes.

Why?

> 
> Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> ---
>  tests/kms_plane_multiple.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
> index e61bc84..9ae2756 100644
> --- a/tests/kms_plane_multiple.c
> +++ b/tests/kms_plane_multiple.c
> @@ -36,6 +36,9 @@ IGT_TEST_DESCRIPTION("Test atomic mode setting with multiple planes ");
>  #define SIZE_CURSOR     128
>  #define LOOP_FOREVER     -1
>  
> +#define fbc_enable() igt_set_module_param_int("enable_fbc", 1)
> +#define fbc_disable() igt_set_module_param_int("enable_fbc", 0)
> +
>  typedef struct {
>  	float red;
>  	float green;
> @@ -67,6 +70,8 @@ struct {
>   */
>  static void test_init(data_t *data, enum pipe pipe, int n_planes)
>  {
> +	fbc_disable();
> +
>  	data->pipe_crc = igt_pipe_crc_new(data->drm_fd, pipe, INTEL_PIPE_CRC_SOURCE_AUTO);
>  
>  	data->plane = calloc(n_planes, sizeof(data->plane));
> @@ -102,6 +107,8 @@ static void test_fini(data_t *data, igt_output_t *output, int n_planes)
>  	igt_remove_fb(data->drm_fd, data->fb);
>  
>  	igt_display_reset(&data->display);
> +
> +	fbc_enable();
>  }
>  
>  static void
> -- 
> 2.7.4
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

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

* Re: [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression
  2018-05-15 15:19 ` [igt-dev] [igt-dev CI TEST] " Ville Syrjälä
@ 2018-05-16  6:11   ` Mika Kahola
  2018-05-16  6:33     ` Mika Kahola
  0 siblings, 1 reply; 8+ messages in thread
From: Mika Kahola @ 2018-05-16  6:11 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: igt-dev

On Tue, 2018-05-15 at 18:19 +0300, Ville Syrjälä wrote:
> On Mon, May 14, 2018 at 02:43:08PM +0300, Mika Kahola wrote:
> > 
> > Disable framebuffer compression when execution test with multiple
> > planes.
> Why?
Just a test to check if fbc has anything to do with pipe crc mismatch
errors that we keep receiving from CI runs.
> 
> > 
> > 
> > Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> > ---
> >  tests/kms_plane_multiple.c | 7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/tests/kms_plane_multiple.c
> > b/tests/kms_plane_multiple.c
> > index e61bc84..9ae2756 100644
> > --- a/tests/kms_plane_multiple.c
> > +++ b/tests/kms_plane_multiple.c
> > @@ -36,6 +36,9 @@ IGT_TEST_DESCRIPTION("Test atomic mode setting
> > with multiple planes ");
> >  #define SIZE_CURSOR     128
> >  #define LOOP_FOREVER     -1
> >  
> > +#define fbc_enable() igt_set_module_param_int("enable_fbc", 1)
> > +#define fbc_disable() igt_set_module_param_int("enable_fbc", 0)
> > +
> >  typedef struct {
> >  	float red;
> >  	float green;
> > @@ -67,6 +70,8 @@ struct {
> >   */
> >  static void test_init(data_t *data, enum pipe pipe, int n_planes)
> >  {
> > +	fbc_disable();
> > +
> >  	data->pipe_crc = igt_pipe_crc_new(data->drm_fd, pipe,
> > INTEL_PIPE_CRC_SOURCE_AUTO);
> >  
> >  	data->plane = calloc(n_planes, sizeof(data->plane));
> > @@ -102,6 +107,8 @@ static void test_fini(data_t *data,
> > igt_output_t *output, int n_planes)
> >  	igt_remove_fb(data->drm_fd, data->fb);
> >  
> >  	igt_display_reset(&data->display);
> > +
> > +	fbc_enable();
> >  }
> >  
> >  static void
> > -- 
> > 2.7.4
> > 
> > _______________________________________________
> > igt-dev mailing list
> > igt-dev@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/igt-dev
-- 
Mika Kahola - Intel OTC

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

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

* Re: [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression
  2018-05-16  6:11   ` Mika Kahola
@ 2018-05-16  6:33     ` Mika Kahola
  0 siblings, 0 replies; 8+ messages in thread
From: Mika Kahola @ 2018-05-16  6:33 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: igt-dev

On Wed, 2018-05-16 at 09:11 +0300, Mika Kahola wrote:
> On Tue, 2018-05-15 at 18:19 +0300, Ville Syrjälä wrote:
> > 
> > On Mon, May 14, 2018 at 02:43:08PM +0300, Mika Kahola wrote:
> > > 
> > > 
> > > Disable framebuffer compression when execution test with multiple
> > > planes.
> > Why?
> Just a test to check if fbc has anything to do with pipe crc mismatch
> errors that we keep receiving from CI runs.
Well, based on shard runs, fbc has nothing to do with crc mismatch
errors on glk.

> > 
> > 
> > > 
> > > 
> > > 
> > > Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> > > ---
> > >  tests/kms_plane_multiple.c | 7 +++++++
> > >  1 file changed, 7 insertions(+)
> > > 
> > > diff --git a/tests/kms_plane_multiple.c
> > > b/tests/kms_plane_multiple.c
> > > index e61bc84..9ae2756 100644
> > > --- a/tests/kms_plane_multiple.c
> > > +++ b/tests/kms_plane_multiple.c
> > > @@ -36,6 +36,9 @@ IGT_TEST_DESCRIPTION("Test atomic mode setting
> > > with multiple planes ");
> > >  #define SIZE_CURSOR     128
> > >  #define LOOP_FOREVER     -1
> > >  
> > > +#define fbc_enable() igt_set_module_param_int("enable_fbc", 1)
> > > +#define fbc_disable() igt_set_module_param_int("enable_fbc", 0)
> > > +
> > >  typedef struct {
> > >  	float red;
> > >  	float green;
> > > @@ -67,6 +70,8 @@ struct {
> > >   */
> > >  static void test_init(data_t *data, enum pipe pipe, int
> > > n_planes)
> > >  {
> > > +	fbc_disable();
> > > +
> > >  	data->pipe_crc = igt_pipe_crc_new(data->drm_fd, pipe,
> > > INTEL_PIPE_CRC_SOURCE_AUTO);
> > >  
> > >  	data->plane = calloc(n_planes, sizeof(data->plane));
> > > @@ -102,6 +107,8 @@ static void test_fini(data_t *data,
> > > igt_output_t *output, int n_planes)
> > >  	igt_remove_fb(data->drm_fd, data->fb);
> > >  
> > >  	igt_display_reset(&data->display);
> > > +
> > > +	fbc_enable();
> > >  }
> > >  
> > >  static void
> > > -- 
> > > 2.7.4
> > > 
> > > _______________________________________________
> > > igt-dev mailing list
> > > igt-dev@lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/igt-dev
-- 
Mika Kahola - Intel OTC

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

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

end of thread, other threads:[~2018-05-16  6:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14 11:43 [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression Mika Kahola
2018-05-14 13:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-05-14 19:39 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2018-05-15  9:53 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2018-05-15 15:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-05-15 15:19 ` [igt-dev] [igt-dev CI TEST] " Ville Syrjälä
2018-05-16  6:11   ` Mika Kahola
2018-05-16  6:33     ` Mika Kahola

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.