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

Maxime Ripard maxime.ripard at bootlin.com
Tue Jan 8 15:19:46 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 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: Move size computation to the common path
  igt: fb: Refactor dumb buffer allocation path
  igt: fb: Account for all planes bpp
  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          | 797 +++++++++++++++++++------------------------
 tests/kms_chamelium.c | 254 +++++++-------
 2 files changed, 497 insertions(+), 554 deletions(-)

base-commit: 75081c6bfb9998bd7cbf35a7ac0578c683fe55a8
-- 
git-series 0.9.1


More information about the igt-dev mailing list