summaryrefslogtreecommitdiff
path: root/tests/kms_plane.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_plane.c')
-rw-r--r--tests/kms_plane.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 143bc5e6..4007c894 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -499,12 +499,12 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
IGT_FORMAT_ARGS(format),
kmstest_pipe_name(pipe), plane->index);
- if (plane->type != DRM_PLANE_TYPE_CURSOR && data->display.is_atomic) {
+ if (data->display.is_atomic) {
struct igt_fb test_fb;
int ret;
- igt_create_fb(data->drm_fd, 256, 256, format,
- LOCAL_DRM_FORMAT_MOD_NONE, &test_fb);
+ igt_create_fb(data->drm_fd, 64, 64, format,
+ LOCAL_DRM_FORMAT_MOD_NONE, &test_fb);
igt_plane_set_fb(plane, &test_fb);