From: Petri Latvala <petri.latvala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Petri Latvala <petri.latvala@intel.com>,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: [igt-dev] [PATCH i-g-t 1/2] tests/fbdev: Add debug traces to subtest pan
Date: Fri, 5 Nov 2021 12:54:12 +0200 [thread overview]
Message-ID: <20211105105413.23998-1-petri.latvala@intel.com> (raw)
This helps debugging
https://gitlab.freedesktop.org/drm/intel/-/issues/4435
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
tests/fbdev.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/fbdev.c b/tests/fbdev.c
index 7a2a5c4e..794882a6 100644
--- a/tests/fbdev.c
+++ b/tests/fbdev.c
@@ -139,15 +139,15 @@ static void mode_tests(int fd)
* Tests that are expected to succeed.
*/
- /* jump to opposite end of virtual screen */
+ igt_debug("Jump to opposite end of virtual screen\n");
pan_var.xoffset = XOFFSET(var_info.xres_virtual - var_info.xres - var_info.xoffset);
pan_var.yoffset = YOFFSET(var_info.yres_virtual - var_info.yres - var_info.yoffset);
pan_test(fd, &pan_var, 0);
- /* jump to (0, 0) */
+ igt_debug("Jump to (0, 0)\n");
pan_var.xoffset = XOFFSET(0);
pan_var.yoffset = YOFFSET(0);
pan_test(fd, &pan_var, 0);
- /* jump to maximum extend */
+ igt_debug("Jump to maximum extend\n");
pan_var.xoffset = XOFFSET(var_info.xres_virtual - var_info.xres);
pan_var.yoffset = YOFFSET(var_info.yres_virtual - var_info.yres);
pan_test(fd, &pan_var, 0);
@@ -156,11 +156,11 @@ static void mode_tests(int fd)
* Tests that are expected to fail.
*/
- /* jump beyond maximum horizontal extend */
+ igt_debug("Jump beyond maximum horizontal extend\n");
pan_var.xoffset = XOFFSET(var_info.xres_virtual - var_info.xres + PANSTEP(fix_info.xpanstep));
pan_var.yoffset = YOFFSET(0);
pan_test(fd, &pan_var, -1);
- /* jump beyond horizontal virtual resolution */
+ igt_debug("Jump beyond horizontal virtual resolution\n");
pan_var.xoffset = XOFFSET(var_info.xres_virtual);
pan_var.yoffset = YOFFSET(0);
pan_test(fd, &pan_var, -1);
@@ -184,11 +184,11 @@ static void mode_tests(int fd)
expected_ret = -1;
}
- /* jump beyond maximum vertical extend */
+ igt_debug("Jump beyond maximum vertical extend\n");
pan_var.xoffset = XOFFSET(0);
pan_var.yoffset = YOFFSET(var_info.yres_virtual - var_info.yres + PANSTEP(fix_info.ypanstep));
pan_test(fd, &pan_var, expected_ret);
- /* jump beyond vertical virtual resolution */
+ igt_debug("Jump beyond vertical virtual resolution\n");
pan_var.xoffset = XOFFSET(0);
pan_var.yoffset = YOFFSET(var_info.yres_virtual);
pan_test(fd, &pan_var, expected_ret);
--
2.29.2
next reply other threads:[~2021-11-05 10:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 10:54 Petri Latvala [this message]
2021-11-05 10:54 ` [igt-dev] [PATCH i-g-t 2/2] HAX: Run igt@fbdev@pan in BAT Petri Latvala
2021-11-05 11:00 ` [igt-dev] [PATCH i-g-t 1/2] tests/fbdev: Add debug traces to subtest pan Thomas Zimmermann
2021-11-05 13:14 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2021-11-05 14:33 ` [igt-dev] ✗ Fi.CI.IGT: failure " 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=20211105105413.23998-1-petri.latvala@intel.com \
--to=petri.latvala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=tzimmermann@suse.de \
/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