Hi,

kms_plane_scaling would happily try to use the cursor plane as if it was an
overlay, and the first signal of it would be the kernel refusing the SetPlane
call because of the pixel format not matching.

To improve this situation, we check the format of the framebuffer before
calling SetPlane (printing the supported formats), and skip the test if there
aren't enough overlay planes.

Thanks,

Tomeu

Tomeu Vizoso (2):
  lib: Check format of framebuffer before SetPlane
  kms_plane_scaling: Skip if we don't have enough overlays

 lib/igt_kms.c             | 35 +++++++++++++++++++++++++++++++++++
 tests/kms_plane_scaling.c |  4 ++++
 2 files changed, 39 insertions(+)

-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to