[Intel-gfx] [PATCH i-g-t 0/2] Improve error report when there are less overlays than expected

Tomeu Vizoso tomeu.vizoso at collabora.com
Wed Nov 23 13:04:44 UTC 2016


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



More information about the Intel-gfx mailing list