All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 00/12] chamelium: Test the plane formats
@ 2018-04-24  7:46 Maxime Ripard
  2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 01/12] tests: Add vc4 test suite Maxime Ripard
                   ` (15 more replies)
  0 siblings, 16 replies; 29+ messages in thread
From: Maxime Ripard @ 2018-04-24  7:46 UTC (permalink / raw)
  To: igt-dev; +Cc: eben, Maxime Ripard, Paul Kocialkowski, Thomas Petazzoni

Hi,

Here is a first non-RFC version of a serie that aims at starting to test
the plane formats using the Chamelium over the HDMI. This was tested using
the vc4 DRM driver found on the RaspberryPi.

There's been a number of changes from the RFC thanks to the feedback from
Eric Anholt.

The series now relies mostly on igt_fb, with some decoupling from cairo and
a bunch of new helpers to aim at being able to convert igt_fb to arbitrary
DRM formats. The list of formats have been extended a bit, but is quite
small at this point. We also rely solely on pixman at the moment to perform
the format conversion.

However, since it's now abstracted away from the igt_fb users, we can
easily add some routines to convert to additional formats if needed. And
since the code was so close now, it's been integrated into kms_chamelium.

Let me know what you think,
Maxime

Changes from v1:
  * Add a README for the test lists
  * Add igt_fb buffer mapping / unmapping functions
  * Add igt_fb buffer format conversion function
  * Add pixman formats to the format descriptors
  * Made some refactoring to kms_chamelium to support format tests
  * Created sub-tests for the formats

Maxime Ripard (12):
  tests: Add vc4 test suite
  fb: Add buffer map/unmap functions
  fb: Add format conversion routine
  fb: Add more formats
  chamelium: Make chamelium_calculate_fb_crc private
  chamelium: Split CRC test function in two
  chamelium: Use preferred mode when testing a single mode
  chamelium: Add function to generate our test pattern
  chamelium: Change our pattern for a custom one
  chamelium: Add format support
  chamelium: Add format subtests
  tests: Add chamelium formats subtests to vc4 test lists

 lib/igt_chamelium.c                      | 146 ++++++++---------
 lib/igt_chamelium.h                      |   1 +-
 lib/igt_fb.c                             | 145 +++++++++++++++--
 lib/igt_fb.h                             |   4 +-
 tests/kms_chamelium.c                    | 208 ++++++++++++++++++------
 tests/vc4_ci/README                      |  38 ++++-
 tests/vc4_ci/vc4-chamelium-fast.testlist |  11 +-
 tests/vc4_ci/vc4-chamelium.testlist      |  16 ++-
 tests/vc4_ci/vc4.testlist                |  35 ++++-
 9 files changed, 469 insertions(+), 135 deletions(-)
 create mode 100644 tests/vc4_ci/README
 create mode 100644 tests/vc4_ci/vc4-chamelium-fast.testlist
 create mode 100644 tests/vc4_ci/vc4-chamelium.testlist
 create mode 100644 tests/vc4_ci/vc4.testlist

base-commit: 83ba5b7d3bde48b383df41792fc9c955a5a23bdb
-- 
git-series 0.9.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2018-05-24  9:48 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-24  7:46 [igt-dev] [PATCH i-g-t 00/12] chamelium: Test the plane formats Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 01/12] tests: Add vc4 test suite Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 02/12] fb: Add buffer map/unmap functions Maxime Ripard
2018-05-14 13:27   ` Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 03/12] fb: Add format conversion routine Maxime Ripard
2018-05-14 13:41   ` Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 04/12] fb: Add more formats Maxime Ripard
2018-05-14 13:45   ` Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 05/12] chamelium: Make chamelium_calculate_fb_crc private Maxime Ripard
2018-05-14 13:50   ` Paul Kocialkowski
2018-05-24  9:38     ` Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 06/12] chamelium: Split CRC test function in two Maxime Ripard
2018-05-14 13:55   ` Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 07/12] chamelium: Use preferred mode when testing a single mode Maxime Ripard
2018-05-14 14:00   ` Paul Kocialkowski
2018-05-24  9:48     ` Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 08/12] chamelium: Add function to generate our test pattern Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 09/12] chamelium: Change our pattern for a custom one Maxime Ripard
2018-05-14 14:24   ` Paul Kocialkowski
2018-05-18  7:26     ` Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 10/12] chamelium: Add format support Maxime Ripard
2018-05-14 14:41   ` Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 11/12] chamelium: Add format subtests Maxime Ripard
2018-05-14 14:46   ` Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 12/12] tests: Add chamelium formats subtests to vc4 test lists Maxime Ripard
2018-04-24  8:29 ` [igt-dev] ✗ Fi.CI.BAT: failure for chamelium: Test the plane formats Patchwork
2018-04-24 10:51 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2018-04-24 12:17 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-05-14 13:17 ` [igt-dev] [PATCH i-g-t 00/12] " Maxime Ripard

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.