From d8bd4d72039a5dd805818bad68dfb16501e34731 Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Thu, 28 Mar 2019 19:40:07 +0200 Subject: tests/kms_plane: Reduce the plane size 64x64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reduce the plane size further to speed up the test. 64x64 is the universal i915 minimum cursor size so we'll use that. And since we chose wisely we'll make cursors use the reduced size as well. Reviewed-by: Daniel Vetter Signed-off-by: Ville Syrjälä --- tests/kms_plane.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/kms_plane.c') 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); -- cgit v1.2.3