From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Chandra Konduru <chandra.konduru@intel.com>,
intel-gfx@lists.freedesktop.org
Cc: daniel.vetter@intel.com
Subject: Re: [PATCH] i-g-t: Adding display NV12 testcase
Date: Mon, 11 May 2015 13:12:20 +0100 [thread overview]
Message-ID: <55509CA4.2020505@linux.intel.com> (raw)
In-Reply-To: <1431145969-921-1-git-send-email-chandra.konduru@intel.com>
Hi,
On 05/09/2015 05:32 AM, Chandra Konduru wrote:
> From: chandra konduru <chandra.konduru@intel.com>
>
> This patch adds kms_nv12 test case. It covers testing NV12 in
> all supported linear/tile-X/tile-Y/tile-Yf tile formats in
> 0 and 180 orientations. For each tiling format, it tests
> various combinations of planes and scaling.
>
> v2:
> -Added 90/270 tests (me)
> -took out crc test as it isn't adding much value due to chroma upsampling (me)
>
> Signed-off-by: chandra konduru <chandra.konduru@intel.com>
> ---
> tests/.gitignore | 1 +
> tests/Android.mk | 1 +
> tests/Makefile.sources | 1 +
> tests/kms_nv12.c | 619 +++++++++++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 622 insertions(+)
> create mode 100644 tests/kms_nv12.c
[snip]
> +igt_main
> +{
> + data_t data = {};
> + igt_skip_on_simulation();
> +
> + igt_fixture {
> + data.drm_fd = drm_open_any();
> +
> + kmstest_set_vt_graphics_mode();
> +
> + igt_display_init(&data.display, data.drm_fd);
> + }
> + devid = intel_get_drm_devid(data.drm_fd);
> +
> + data.num_scalers = intel_gen(devid) >= 9 ? 2 : 0;
> +
> + igt_assert(intel_gen(devid) >= 9);
Not reviewing as such, but notice --list-subtest is broken unless you
move the above three lines into the fixture.
After that I ran:
> + data.rotation = IGT_ROTATION_90;
> + igt_subtest_f("nv12-plane-tile-y-rot-90") {
> + data.tiled = LOCAL_I915_FORMAT_MOD_Y_TILED;
> + test_nv12_plane_rotation_90_or_270(&data);
> + }
> + igt_subtest_f("nv12-plane-tile-yf-rot-90") {
> + data.tiled = LOCAL_I915_FORMAT_MOD_Yf_TILED;
> + test_nv12_plane_rotation_90_or_270(&data);
> + }
And both succeeded! :)
Your + mine patch series rebased on top of today's nightly.
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2015-05-11 12:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-02 3:11 [PATCH 0/2] i-g-t: kms testcase for NV12 feature Chandra Konduru
2015-05-02 3:11 ` [PATCH 1/2] i-g-t: Prep work for adding NV12 testcase Chandra Konduru
2015-05-12 15:47 ` Thomas Wood
2015-05-02 3:11 ` [PATCH 2/2] i-g-t: Adding display " Chandra Konduru
2015-05-07 6:48 ` Daniel Vetter
2015-05-09 4:32 ` [PATCH] " Chandra Konduru
2015-05-11 12:12 ` Tvrtko Ursulin [this message]
2015-05-12 15:55 ` Thomas Wood
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=55509CA4.2020505@linux.intel.com \
--to=tvrtko.ursulin@linux.intel.com \
--cc=chandra.konduru@intel.com \
--cc=daniel.vetter@intel.com \
--cc=intel-gfx@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox