[igt-dev] [PATCH i-g-t v3 00/14] igt: chamelium: Test YUV buffers using the Chamelium

Maxime Ripard maxime.ripard at bootlin.com
Tue Jan 22 13:42:43 UTC 2019


Hi,

Here is a first attempt at expanding the current Chamelium formats
test to YUV formats.

It builds on top of the current infrastructure for the YUV convertions, and
the format suppport of the Chamelium. It reworks igt_fb quite significantly
to add generic support for YUV formats, and adds a bunch of new formats
along the way.

Let me know what you think,
Maxime

Changes from v2:
  - Added Paul Reviewed-by's
  - Fixed a stride issue on the buffer allocation
  - Take into account the plane bpp so that we don't overallocate
  - Rebased on master

Changes from v1:
  - Support more YUV formats than just NV12
  - Rework the YUV convertion functions to add generic routines
  - Took the comments into account.


Maxime Ripard (14):
  igt: fb: Add subsampling parameters to the formats
  igt: fb: Reduce tile size alignment for non intel platforms
  igt: fb: generic YUV convertion function
  igt: fb: Move i915 YUV buffer clearing code to a function
  igt: fb: Move size computation to the common path
  igt: fb: Refactor dumb buffer allocation path
  igt: fb: Account for all planes bpp
  igt: fb: Don't pass the stride when allocating a dumb, multi-planar
    buffer
  igt: fb: Clear YUV dumb buffers
  igt: fb: Rework YUV i915 allocation path
  igt: fb: Add a bunch of new YUV formats
  igt: tests: chamelium: Start to unify tests
  igt: tests: chamelium: Convert VGA tests to do_test_display
  igt: tests: chamelium: Add YUV formats tests

 lib/igt_fb.c          | 832 ++++++++++++++++++++----------------------
 tests/kms_chamelium.c | 254 +++++++------
 2 files changed, 523 insertions(+), 563 deletions(-)

-- 
2.20.1



More information about the igt-dev mailing list