From: Mika Kahola <mika.kahola@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 1/2] tests/kms_plane_lowres: Skip Yf tiling tests from gen12 onwards
Date: Mon, 27 Jan 2020 16:45:53 +0200 [thread overview]
Message-ID: <20200127144554.11364-2-mika.kahola@intel.com> (raw)
In-Reply-To: <20200127144554.11364-1-mika.kahola@intel.com>
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 &&
+ 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();
--
2.17.1
_______________________________________________
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-27 14:45 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 ` Mika Kahola [this message]
2020-01-30 10:30 ` [igt-dev] [PATCH i-g-t 1/2] tests/kms_plane_lowres: Skip Yf tiling tests from gen12 onwards Jani Nikula
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=20200127144554.11364-2-mika.kahola@intel.com \
--to=mika.kahola@intel.com \
--cc=igt-dev@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