Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/kms: Skip amdgpu's writeback connectors on panning tests
@ 2024-03-21  2:06 Alex Hung
  2024-03-21  4:05 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Alex Hung @ 2024-03-21  2:06 UTC (permalink / raw)
  To: igt-dev; +Cc: rodrigo.siqueira, harry.wentland, hersenxs.wu, Alex Hung

With commit ff1d9a601 writeback connector will be enabled. The
AMDGPU writeback connector is to be skipped.

Signed-off-by: Alex Hung <alex.hung@amd.com>
---
 tests/kms_plane.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 406aecc04..d76b3a8f5 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -482,6 +482,12 @@ test_plane_panning(data_t *data, enum pipe pipe)
 		drmModeModeInfo *m = &output->config.connector->modes[j__];
 		uint32_t fb_size = m->hdisplay * m->vdisplay * 4;
 
+		if (output->config.connector->connector_type == DRM_MODE_CONNECTOR_WRITEBACK &&
+		   is_amdgpu_device(data->drm_fd)) {
+			igt_debug("Skipping Writeback connector\n");
+			continue;
+		}
+
 		/* test allocates 2 double-dim fbs, add one more, to be safe */
 		if (mem_size && 3 * 4 * fb_size > mem_size) {
 			igt_debug("Skipping mode %s due to low memory\n", m->name);
-- 
2.34.1


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

end of thread, other threads:[~2024-03-23  7:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-21  2:06 [PATCH] tests/kms: Skip amdgpu's writeback connectors on panning tests Alex Hung
2024-03-21  4:05 ` ✓ CI.xeBAT: success for " Patchwork
2024-03-21  4:21 ` ✓ Fi.CI.BAT: " Patchwork
2024-03-21 14:00 ` [PATCH] " Harry Wentland
2024-03-22  1:18 ` ✗ Fi.CI.IGT: failure for " Patchwork
2024-03-22  6:37 ` ✓ Fi.CI.BAT: success for tests/kms: Skip amdgpu's writeback connectors on panning tests (rev2) Patchwork
2024-03-22  6:41 ` ✓ CI.xeBAT: " Patchwork
2024-03-23  7:20 ` ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox