@@ -229,6 +229,8 @@ static void test_plane_scaling(data_t *d)
/* Set up fb2->plane2 mapping. */
d->plane2 = igt_output_get_plane(output, IGT_PLANE_2);
+ if(d->plane2->is_cursor)
+ continue;
igt_plane_set_fb(d->plane2, &d->fb2);
/* 2nd plane windowed */
@@ -265,6 +267,8 @@ static void test_plane_scaling(data_t *d)
/* Set up fb3->plane3 mapping. */
d->plane3 = igt_output_get_plane(output, IGT_PLANE_3);
+ if(d->plane3->is_cursor)
+ continue;
igt_plane_set_fb(d->plane3, &d->fb3);
/* 3rd plane windowed - no scaling */
The test currently assumes that there are two overlay planes available, but that's not generally true and from the error that returns the kernel, it isn't obvious what's going on. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> --- tests/kms_plane_scaling.c | 4 ++++ 1 file changed, 4 insertions(+)