All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mika Kahola <mika.kahola@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression
Date: Mon, 14 May 2018 14:43:08 +0300	[thread overview]
Message-ID: <1526298188-7448-1-git-send-email-mika.kahola@intel.com> (raw)

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

             reply	other threads:[~2018-05-14 11:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-14 11:43 Mika Kahola [this message]
2018-05-14 13:23 ` [igt-dev] ✓ Fi.CI.BAT: success for igt/tests/kms_plane_multiple: Disable framebuffer compression 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1526298188-7448-1-git-send-email-mika.kahola@intel.com \
    --to=mika.kahola@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.