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

Robert Foss robert.foss at collabora.com
Tue Nov 29 20:54:13 UTC 2016


Hi tomeu,

This series looks good to me, feel free to add my r-b.


Rob.

> 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(+)
> 


More information about the Intel-gfx mailing list