From: Mika Kahola <mika.kahola@intel.com>
To: "Ville Syrjälä" <ville.syrjala@linux.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: Wed, 16 May 2018 09:33:04 +0300 [thread overview]
Message-ID: <1526452384.11552.75.camel@intel.com> (raw)
In-Reply-To: <1526451095.11552.74.camel@intel.com>
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
prev parent reply other threads:[~2018-05-16 6:33 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 ` [igt-dev] [igt-dev CI TEST] " Ville Syrjälä
2018-05-16 6:11 ` Mika Kahola
2018-05-16 6:33 ` Mika Kahola [this message]
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=1526452384.11552.75.camel@intel.com \
--to=mika.kahola@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=ville.syrjala@linux.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