All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH 1/2] tests/kms_bw: Test outputs with fb of the same resolutions
@ 2022-12-13 23:43 Alex Hung
  2022-12-13 23:43 ` [igt-dev] [PATCH 2/2] tests/kms_bw: Run tests on available pipes only Alex Hung
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Alex Hung @ 2022-12-13 23:43 UTC (permalink / raw)
  To: igt-dev

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

Signed-off-by: Alex Hung <alex.hung@amd.com>
---
 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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-15  1:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13 23:43 [igt-dev] [PATCH 1/2] tests/kms_bw: Test outputs with fb of the same resolutions Alex Hung
2022-12-13 23:43 ` [igt-dev] [PATCH 2/2] tests/kms_bw: Run tests on available pipes only Alex Hung
2022-12-14  8:30   ` Petri Latvala
2022-12-14 15:07     ` Hung, Alex
2022-12-14  0:15 ` [igt-dev] ✗ GitLab.Pipeline: warning for series starting with [1/2] tests/kms_bw: Test outputs with fb of the same resolutions Patchwork
2022-12-14  0:30 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-12-15  1:25 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

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.