Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [i-g-t] tests/kms_cursor_legacy: Avoid usage of same pipe on multiple outputs
@ 2022-07-11 14:19 Bhanuprakash Modem
  2022-07-11 15:26 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Bhanuprakash Modem @ 2022-07-11 14:19 UTC (permalink / raw)
  To: igt-dev, swati2.sharma

Sanitize the system state before starting the subtest.

Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/6198
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 tests/kms_cursor_legacy.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index fc4a291d..c5b2bd30 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -429,6 +429,8 @@ static void flip(igt_display_t *display,
 	results = mmap(NULL, PAGE_SIZE, PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
 	igt_assert(results != MAP_FAILED);
 
+	igt_display_reset(display);
+
 	flip_pipe = find_connected_pipe(display, !!flip_pipe);
 	cursor_pipe = find_connected_pipe(display, !!cursor_pipe);
 
-- 
2.35.1

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

end of thread, other threads:[~2022-07-13  7:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-11 14:19 [igt-dev] [i-g-t] tests/kms_cursor_legacy: Avoid usage of same pipe on multiple outputs Bhanuprakash Modem
2022-07-11 15:26 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2022-07-11 15:46   ` Modem, Bhanuprakash
2022-07-11 15:55     ` Vudum, Lakshminarayana
2022-07-11 15:54 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-07-11 20:03 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2022-07-13  7:44 ` [igt-dev] [i-g-t] " Sharma, Swati2

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