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

Maxime Ripard maxime.ripard at bootlin.com
Fri Jan 25 14:58:29 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 v4:
  - Added Paul Reviewed-by's
  - Removed the patch that moves calc_fb_size for everybody, and added some
    asserts

Changes from v3:
  - Fixed build breakage

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 (13):
  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: 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          | 830 ++++++++++++++++++++----------------------
 tests/kms_chamelium.c | 254 +++++++------
 2 files changed, 528 insertions(+), 556 deletions(-)

-- 
2.20.1



More information about the igt-dev mailing list