From 293dc55393174cc6c220ddcefa5ad629b3ca9c78 Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Fri, 18 May 2018 23:34:46 +0300 Subject: tests/kms_plane_scaling: Reduce the fb size 8x8 from 9x9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 9x9 was maybe a workaround for the kernel's rounding behaviour? The kernel was changed so that's no longer necessary. So let's go for 8x8 since that actually works with YUV formats. Signed-off-by: Ville Syrjälä Reviewed-by: Maarten Lankhorst #irc --- tests/kms_plane_scaling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_plane_scaling.c') diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c index 2dd0bda5..2f19a428 100644 --- a/tests/kms_plane_scaling.c +++ b/tests/kms_plane_scaling.c @@ -130,7 +130,7 @@ static void check_scaling_pipe_plane_rot(data_t *d, igt_plane_t *plane, mode = igt_output_get_mode(output); /* create buffer in the range of min and max source side limit.*/ - width = height = 9; + width = height = 8; if (pixel_format == DRM_FORMAT_NV12) width = height = 16; igt_create_color_fb(display->drm_fd, width, height, -- cgit v1.2.3