summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>2020-04-20 09:46:56 +0300
committerJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>2020-04-21 20:12:33 +0300
commit18cc19ece602ba552a8386222b49e7e82820f9aa (patch)
tree5f7b3e71e42ff3d64e12907ebe81f282d98273b6 /tests
parentc8a9aa95e2c5c8d9d39f4f9388a7d602a2e64311 (diff)
tests/kms_big_fb: Allow modeset to surivive change of cdclk
When testing 64bpp formats there will come modeset to change cdclk. Allow modesets on atomic commits so commits will not produce error. Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/kms_big_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_big_fb.c b/tests/kms_big_fb.c
index eb144da9..a754b299 100644
--- a/tests/kms_big_fb.c
+++ b/tests/kms_big_fb.c
@@ -294,6 +294,7 @@ static bool test_plane(data_t *data)
*/
if (i == 0 && data->display.is_atomic &&
igt_display_try_commit_atomic(&data->display,
+ DRM_MODE_ATOMIC_ALLOW_MODESET |
DRM_MODE_ATOMIC_TEST_ONLY,
NULL) != 0) {
if (igt_plane_has_prop(plane, IGT_PLANE_ROTATION))