From: "Kahola, Mika" <mika.kahola@intel.com>
To: "juhapekka.heikkila@gmail.com" <juhapekka.heikkila@gmail.com>,
"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>,
"Sharma, Swati2" <swati2.sharma@intel.com>
Subject: Re: [igt-dev] [PATCH] tests/kms_rotation_crc: enable bad-pixel-format subtest for gen11+
Date: Fri, 7 Jun 2019 10:11:49 +0000 [thread overview]
Message-ID: <d87675a00d14fa3df1246c7eea05394adbda6d14.camel@intel.com> (raw)
In-Reply-To: <762fdb9a-d9f8-727d-d6eb-7267120550fd@gmail.com>
On Mon, 2019-05-20 at 14:04 +0300, Juha-Pekka Heikkila wrote:
> Look ok to me.
>
> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Patch merged! Thanks for the patch and a review.
Cheers,
Mika
>
> On 20.5.2019 12.48, Swati Sharma wrote:
> > Currently, subtest bad-pixel-format is getting skipped for gen11.
> > To enable this for gen11+ platforms, added override_fmt - which
> > could
> > be any gen11+ format not allowing 90/270 degree rotation like C8,
> > Y210, Y212, Y216, etc.
> >
> > DRM_FORMAT_C8 fmt needs to be enabled for IGT, so this can't be
> > used
> > yet. So, I have used DRM_FORMAT_Y212 which is enabled in IGT.
> >
> > Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
> > ---
> > tests/kms_rotation_crc.c | 13 ++++++-------
> > 1 file changed, 6 insertions(+), 7 deletions(-)
> >
> > diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
> > index fc995d0..fe40481 100644
> > --- a/tests/kms_rotation_crc.c
> > +++ b/tests/kms_rotation_crc.c
> > @@ -805,14 +805,13 @@ igt_main
> > data.pos_y = 0;
> >
> > igt_subtest_f("bad-pixel-format") {
> > - /*
> > - * gen11 enables RGB565 rotation for 90/270 degrees.
> > - * DRM_FORMAT_C8 fmt need to be enabled for IGT if want
> > to run
> > - * this test on gen11 and later.
> > - */
> > - igt_require(gen >= 9 && gen < 11);
> > + /* gen11 enables RGB565 rotation for 90/270 degrees.
> > + * so apart from this, any other gen11+ pixel format
> > + * can be used which doesn't support 90/270 degree
> > + * rotation */
> > + igt_require(gen >= 9);
> > data.rotation = IGT_ROTATION_90;
> > - data.override_fmt = DRM_FORMAT_RGB565;
> > + data.override_fmt = gen < 11 ? DRM_FORMAT_RGB565 :
> > DRM_FORMAT_Y212;
> > test_plane_rotation(&data, DRM_PLANE_TYPE_PRIMARY,
> > true);
> > }
> > data.override_fmt = 0;
> >
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-06-07 10:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-20 9:48 [igt-dev] [PATCH] tests/kms_rotation_crc: enable bad-pixel-format subtest for gen11+ Swati Sharma
2019-05-20 10:49 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2019-05-20 10:59 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2019-05-20 11:04 ` [igt-dev] [PATCH] " Juha-Pekka Heikkila
2019-06-07 10:11 ` Kahola, Mika [this message]
2019-05-20 13:42 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork
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=d87675a00d14fa3df1246c7eea05394adbda6d14.camel@intel.com \
--to=mika.kahola@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=juhapekka.heikkila@gmail.com \
--cc=swati2.sharma@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