From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 2/4] tests/kms_plane: Reduce the plane size 64x64
Date: Thu, 28 Mar 2019 19:57:25 +0200 [thread overview]
Message-ID: <20190328175727.3086-2-ville.syrjala@linux.intel.com> (raw)
In-Reply-To: <20190328175727.3086-1-ville.syrjala@linux.intel.com>
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reduce the plane size further to speed up the test. 64x64 is the
universal i915 minimum cursor size so we'll use that. And since
we choce wisely we'll make cursors use the reduced size as well.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
tests/kms_plane.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 143bc5e6f3b8..4007c894f87a 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -499,12 +499,12 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
IGT_FORMAT_ARGS(format),
kmstest_pipe_name(pipe), plane->index);
- if (plane->type != DRM_PLANE_TYPE_CURSOR && data->display.is_atomic) {
+ if (data->display.is_atomic) {
struct igt_fb test_fb;
int ret;
- igt_create_fb(data->drm_fd, 256, 256, format,
- LOCAL_DRM_FORMAT_MOD_NONE, &test_fb);
+ igt_create_fb(data->drm_fd, 64, 64, format,
+ LOCAL_DRM_FORMAT_MOD_NONE, &test_fb);
igt_plane_set_fb(plane, &test_fb);
--
2.19.2
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-03-28 17:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-28 17:57 [igt-dev] [PATCH i-g-t 1/4] tests/kms_plane: Remove the upscaling requirement Ville Syrjala
2019-03-28 17:57 ` Ville Syrjala [this message]
2019-03-29 9:42 ` [igt-dev] [PATCH i-g-t 2/4] tests/kms_plane: Reduce the plane size 64x64 Daniel Vetter
2019-03-28 17:57 ` [igt-dev] [PATCH i-g-t 3/4] tests/kms_plane: Eliminate modeset between every plane Ville Syrjala
2019-03-29 9:45 ` Daniel Vetter
2019-03-28 17:57 ` [igt-dev] [PATCH i-g-t 4/4] tests/kms_plane: Test all modifiers as well Ville Syrjala
2019-03-29 9:53 ` Daniel Vetter
2019-03-29 11:11 ` Ville Syrjälä
2019-03-28 18:36 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/4] tests/kms_plane: Remove the upscaling requirement Patchwork
2019-03-29 4:25 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-03-29 9:41 ` [igt-dev] [PATCH i-g-t 1/4] " Daniel Vetter
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=20190328175727.3086-2-ville.syrjala@linux.intel.com \
--to=ville.syrjala@linux.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