All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] Improve error report when there are less overlays than expected
@ 2016-11-23 13:04 Tomeu Vizoso
  2016-11-23 13:04 ` [PATCH i-g-t 1/2] lib: Check format of framebuffer before SetPlane Tomeu Vizoso
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tomeu Vizoso @ 2016-11-23 13:04 UTC (permalink / raw)
  To: Intel GFX discussion; +Cc: Tomeu Vizoso

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
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-29 20:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-23 13:04 [PATCH i-g-t 0/2] Improve error report when there are less overlays than expected Tomeu Vizoso
2016-11-23 13:04 ` [PATCH i-g-t 1/2] lib: Check format of framebuffer before SetPlane Tomeu Vizoso
2016-11-23 13:04 ` [PATCH i-g-t 2/2] kms_plane_scaling: Skip if we don't have enough overlays Tomeu Vizoso
2016-11-29 20:54 ` [PATCH i-g-t 0/2] Improve error report when there are less overlays than expected Robert Foss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.