summaryrefslogtreecommitdiff
path: root/tests/kms_atomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_atomic.c')
-rw-r--r--tests/kms_atomic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c
index 3a0f76d9..1657624e 100644
--- a/tests/kms_atomic.c
+++ b/tests/kms_atomic.c
@@ -652,7 +652,7 @@ static void plane_cursor(igt_pipe_t *pipe_obj,
igt_create_color_fb(pipe_obj->display->drm_fd,
width, height, DRM_FORMAT_ARGB8888,
- DRM_FORMAT_MOD_NONE,
+ DRM_FORMAT_MOD_LINEAR,
0.0, 0.0, 0.0, &fb);
/* Flip the cursor plane using the atomic API, and double-check
@@ -1111,7 +1111,7 @@ igt_main
igt_create_pattern_fb(display.drm_fd,
mode->hdisplay, mode->vdisplay,
plane_get_igt_format(primary),
- DRM_FORMAT_MOD_NONE, &fb);
+ DRM_FORMAT_MOD_LINEAR, &fb);
}
igt_describe("Test for KMS atomic modesetting on overlay plane and ensure coherency between "