public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH] kms_cursor_legacy: Keep primary plane enabled for XRGB overlay fallback
@ 2020-06-05 14:37 Michel Dänzer
  2020-06-05 15:13 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Michel Dänzer @ 2020-06-05 14:37 UTC (permalink / raw)
  To: Maarten Lankhorst; +Cc: igt-dev

From: Michel Dänzer <mdaenzer@redhat.com>

This allows the test to work on setups where the primary plane cannot
be disabled while the CRTC is enabled.

It should make no difference for the output.

Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
---
 tests/kms_cursor_legacy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 9306e54b..344442e8 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -326,6 +326,7 @@ static void transition_nonblocking(igt_display_t *display, enum pipe pipe_id,
 
 		igt_assert(ret == -EINVAL);
 
+		igt_plane_set_fb(primary, prim_fb);
 		igt_plane_set_fb(sprite, prim_fb);
 	}
 	igt_display_commit_atomic(display, DRM_MODE_ATOMIC_NONBLOCK | DRM_MODE_PAGE_FLIP_EVENT, display);
-- 
2.27.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2020-06-11  8:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-05 14:37 [igt-dev] [PATCH] kms_cursor_legacy: Keep primary plane enabled for XRGB overlay fallback Michel Dänzer
2020-06-05 15:13 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-06-05 16:28 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2020-06-08 16:29   ` Michel Dänzer
2020-06-09 14:50 ` [igt-dev] [PATCH] " Ville Syrjälä
2020-06-09 16:40   ` Michel Dänzer
2020-06-09 16:49     ` Ville Syrjälä
2020-06-11  8:25 ` [igt-dev] ✗ GitLab.Pipeline: failure for " Patchwork
2020-06-11  8:39   ` Michel Dänzer

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