summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_legacy.c
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2020-06-05 16:37:20 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-06-09 19:47:10 +0300
commit88e379cef970db3dab020966d5dd117de7cc03ab (patch)
treefdd950fdabe35668de20989f6454ff9c713cf402 /tests/kms_cursor_legacy.c
parent201da47cb57b8fadd9bc45be16b82617b32a2c01 (diff)
kms_cursor_legacy: Keep primary plane enabled for XRGB overlay fallback
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> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_cursor_legacy.c')
-rw-r--r--tests/kms_cursor_legacy.c1
1 files changed, 1 insertions, 0 deletions
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);