From: Jani Nikula <jani.nikula@linux.intel.com>
To: Mika Kahola <mika.kahola@intel.com>, igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 1/2] tests/kms_plane_lowres: Skip Yf tiling tests from gen12 onwards
Date: Thu, 30 Jan 2020 12:30:16 +0200 [thread overview]
Message-ID: <87zhe59qyv.fsf@intel.com> (raw)
In-Reply-To: <20200127144554.11364-2-mika.kahola@intel.com>
On Mon, 27 Jan 2020, Mika Kahola <mika.kahola@intel.com> wrote:
> Yf tiling is not supported by gen12. The patch proposes that we
> intentionally skip this subtest.
>
> Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> ---
> tests/kms_plane_lowres.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/tests/kms_plane_lowres.c b/tests/kms_plane_lowres.c
> index 4c3f5636..f4a9ff8d 100644
> --- a/tests/kms_plane_lowres.c
> +++ b/tests/kms_plane_lowres.c
> @@ -37,6 +37,7 @@ IGT_TEST_DESCRIPTION("Test atomic mode setting with a plane by switching between
> typedef struct {
> int drm_fd;
> igt_display_t display;
> + uint32_t devid;
> struct igt_fb fb_primary;
> struct igt_fb fb_plane[2];
> struct {
> @@ -236,6 +237,9 @@ test_planes_on_pipe(data_t *data, enum pipe pipe, uint64_t modifier)
> igt_skip_on(!igt_display_has_format_mod(&data->display,
> DRM_FORMAT_XRGB8888, modifier));
>
> + igt_skip_on(intel_gen(data->devid) >= 12 &&
In general I don't think we should skip based on platform/gen. Check for
the *feature*, not the *platform*. Don't accumulate platform specific
knowledge to igt.
BR,
Jani.
> + modifier == LOCAL_I915_FORMAT_MOD_Yf_TILED);
> +
> for_each_valid_output_on_pipe(&data->display, pipe, output)
> tested += test_planes_on_pipe_with_output(data, pipe, output,
> modifier);
> @@ -250,6 +254,8 @@ igt_main
>
> igt_fixture {
> data.drm_fd = drm_open_driver_master(DRIVER_ANY);
> + data.devid = is_i915_device(data.drm_fd) ?
> + intel_get_drm_devid(data.drm_fd) : 0;
>
> kmstest_set_vt_graphics_mode();
--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2020-01-30 10:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-27 14:45 [igt-dev] [PATCH i-g-t 0/2] Fix CRC mismatch Mika Kahola
2020-01-27 14:45 ` [igt-dev] [PATCH i-g-t 1/2] tests/kms_plane_lowres: Skip Yf tiling tests from gen12 onwards Mika Kahola
2020-01-30 10:30 ` Jani Nikula [this message]
2020-01-31 10:35 ` Kahola, Mika
2020-01-27 14:45 ` [igt-dev] [PATCH i-g-t 2/2] tests/kms_plane_lowres: Fix CRC mismatch Mika Kahola
2020-01-27 19:04 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-01-28 12:35 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2020-01-28 15:53 ` [igt-dev] ✓ Fi.CI.BAT: success for Fix CRC mismatch (rev2) Patchwork
2020-01-29 7:07 ` [igt-dev] [PATCH i-g-t 0/2] Fix CRC mismatch Saarinen, Jani
2020-01-29 23:17 ` [igt-dev] ✗ Fi.CI.IGT: failure for Fix CRC mismatch (rev2) 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=87zhe59qyv.fsf@intel.com \
--to=jani.nikula@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 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.