summaryrefslogtreecommitdiff
path: root/tests/kms_plane_scaling.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-05-18 23:34:46 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-05-23 18:43:09 +0300
commit293dc55393174cc6c220ddcefa5ad629b3ca9c78 (patch)
treec3842323b62edc2045b987f6439b4673ba7278f7 /tests/kms_plane_scaling.c
parent40bf6d03f8b73230790aa03c817d9940d0feb4ab (diff)
tests/kms_plane_scaling: Reduce the fb size 8x8 from 9x9
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ä <ville.syrjala@linux.intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> #irc
Diffstat (limited to 'tests/kms_plane_scaling.c')
-rw-r--r--tests/kms_plane_scaling.c2
1 files changed, 1 insertions, 1 deletions
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,