[igt-dev] [PATCH i-g-t] tests/kms_plane: survive cdclk caused modeset

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Fri Apr 17 10:18:54 UTC 2020


In mid test starting to use higher bpp pixel format (say 64bpp)
can cause modeset. Allow that modeset to happen.

v2 Ville Syrjälä: use DRM_MODE_ATOMIC_ALLOW_MODESET instead
of blocking.

Fixes: https://gitlab.freedesktop.org/drm/intel/issues/1214

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
---
 tests/kms_plane.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 805795cd..c6ead813 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -574,6 +574,7 @@ static void capture_format_crcs(data_t *data, enum pipe pipe,
 			 * awaits to be latched.
 			 */
 			igt_display_commit_atomic(&data->display,
+						  DRM_MODE_ATOMIC_ALLOW_MODESET |
 						  DRM_MODE_ATOMIC_NONBLOCK |
 						  DRM_MODE_PAGE_FLIP_EVENT, NULL);
 		} else {
-- 
2.26.0



More information about the igt-dev mailing list