From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Mika Kahola <mika.kahola@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [igt-dev CI TEST] igt/tests/kms_plane_multiple: Disable framebuffer compression
Date: Tue, 15 May 2018 18:19:49 +0300 [thread overview]
Message-ID: <20180515151949.GA23723@intel.com> (raw)
In-Reply-To: <1526298188-7448-1-git-send-email-mika.kahola@intel.com>
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
next prev parent reply other threads:[~2018-05-15 15:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Ville Syrjälä [this message]
2018-05-16 6:11 ` [igt-dev] [igt-dev CI TEST] " 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=20180515151949.GA23723@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=mika.kahola@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox