public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Alex Hung <alex.hung@amd.com>
To: <igt-dev@lists.freedesktop.org>
Subject: [igt-dev] [PATCH][V2] tests/kms_bw: Test outputs with fb of the same resolutions
Date: Wed, 14 Dec 2022 11:19:06 -0700	[thread overview]
Message-ID: <20221214181906.561644-1-alex.hung@amd.com> (raw)

The hardcoded fb resolution (1920x1080) is replaced by the output
resolution.

Signed-off-by: Alex Hung <alex.hung@amd.com>
---

[V2] Drop PATCH 2

 tests/kms_bw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/kms_bw.c b/tests/kms_bw.c
index 2a8df5b3..27100587 100644
--- a/tests/kms_bw.c
+++ b/tests/kms_bw.c
@@ -167,8 +167,8 @@ static void run_test_linear_tiling(data_t *data, int pipe, const drmModeModeInfo
 
 		force_output_mode(data, output, mode);
 
-		igt_create_color_fb(display->drm_fd, test_mode[0].hdisplay,
-				    test_mode[0].vdisplay, DRM_FORMAT_XRGB8888,
+		igt_create_color_fb(display->drm_fd, mode->hdisplay,
+				    mode->vdisplay, DRM_FORMAT_XRGB8888,
 				    DRM_FORMAT_MOD_NONE, 1.f, 0.f, 0.f,
 				    &buffer[i]);
 
-- 
2.38.1

             reply	other threads:[~2022-12-14 18:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14 18:19 Alex Hung [this message]
2022-12-14 19:05 ` [igt-dev] [PATCH][V2] tests/kms_bw: Test outputs with fb of the same resolutions Pillai, Aurabindo
2022-12-14 19:06 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-12-14 20:06 ` [igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_bw: Test outputs with fb of the same resolutions (rev2) Patchwork
2022-12-16  3:18 ` [igt-dev] ✓ Fi.CI.IGT: success for tests/kms_bw: Test outputs with fb of the same resolutions 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=20221214181906.561644-1-alex.hung@amd.com \
    --to=alex.hung@amd.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