All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Yacoub <markyacoub@chromium.org>
To: igt-dev@lists.freedesktop.org
Cc: seanpaul@chromium.org, petri.latvala@intel.com,
	Mark Yacoub <markyacoub@google.com>
Subject: [igt-dev] [PATCH] tests/kms_atomic: igt_require_pipe_crc for plane_immutable_zpos
Date: Fri,  9 Jul 2021 11:27:51 -0400	[thread overview]
Message-ID: <20210709152751.2947886-1-markyacoub@chromium.org> (raw)

From: Mark Yacoub <markyacoub@google.com>

[Why]
kms_atomic:plane_immutable_zpos subtest uses CRC in debugfs which is
not supported by some drivers.

[How]
igt_require_pipe_crc before the test begins.

Test: kms_atomic:plane-immutable-zpos on ChromeOS Trogdor(msm)
Signed-off-by: Mark Yacoub <markyacoub@chromium.org>
---
 tests/kms_atomic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c
index df9c9df7..4b262257 100644
--- a/tests/kms_atomic.c
+++ b/tests/kms_atomic.c
@@ -375,6 +375,7 @@ plane_immutable_zpos(igt_display_t *display, igt_pipe_t *pipe,
 	uint32_t w_lower, h_lower, w_upper, h_upper;
 
 	igt_require(n_planes >= 2);
+	igt_require_pipe_crc(display->drm_fd);
 
 	mode = igt_output_get_mode(output);
 	primary = igt_pipe_get_plane_type(pipe, DRM_PLANE_TYPE_PRIMARY);
-- 
2.32.0.93.g670b81a890-goog

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

             reply	other threads:[~2021-07-09 15:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09 15:27 Mark Yacoub [this message]
2021-07-09 17:06 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_atomic: igt_require_pipe_crc for plane_immutable_zpos Patchwork
2021-07-10 11:05 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-07-20 15:36   ` Mark Yacoub
2021-07-20 16:18     ` Vudum, Lakshminarayana
2021-08-26 12:59       ` Rodrigo Siqueira
2021-08-26 16:08         ` Vudum, Lakshminarayana
2021-08-27  5:47           ` Petri Latvala
2021-07-20 16:16 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
2021-07-23 14:37 ` [igt-dev] [PATCH] " Rodrigo Siqueira
2021-07-29 15:35   ` Mark Yacoub
2021-08-27  6:48 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_atomic: igt_require_pipe_crc for plane_immutable_zpos (rev2) Patchwork
2021-08-27  9:17 ` [igt-dev] ✓ Fi.CI.IGT: " 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=20210709152751.2947886-1-markyacoub@chromium.org \
    --to=markyacoub@chromium.org \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=markyacoub@google.com \
    --cc=petri.latvala@intel.com \
    --cc=seanpaul@chromium.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 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.