All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH v8 00/16] chamelium: Test the plane formats
@ 2018-10-04 12:38 Maxime Ripard
  2018-10-04 12:38 ` [igt-dev] [PATCH v8 01/16] fb: Add buffer map/unmap functions Maxime Ripard
                   ` (17 more replies)
  0 siblings, 18 replies; 28+ messages in thread
From: Maxime Ripard @ 2018-10-04 12:38 UTC (permalink / raw)
  To: igt-dev; +Cc: eben, Paul Kocialkowski, Thomas Petazzoni

Hi,

Here is another attempt at 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, Paul Kocialkowski and Ville Syrjälä.

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 either pixman or the existing
format conversions functions at them moment, and we allow cairo surfaces to
be created for framebuffers in a format not supported by cairo, through an
intermediate conversion to RGB24.

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 v7:
  * Rebased on top of current master
  * Fixed a breakage on intel platforms
  * Move back to a hand crafted shadow buffer using mmap, but initialise a
    matching igt_fb to represent it using fb_init.
  * Made pixman mandatory
  * Remove YUYV pixman support, since it's causing a segfault
  * Removed width and height parameters from struct fb_convert
  * Dropped the depth from the formats

Changes from v6:
  * Convert the igt_fb cairo shadow buffer to a igt_fb of its own
  * Fix a regression in the igt_fb common code that will prevent it from
    running on anything else than i915

Changes from v5:
  * Fixed a typo

Changes from v4:
  * Added Eric's Reviewed-by
  * Dropped the preferred mode patch
  * Use the igt_fb pattern if we can
  * Rebased on top of master

Changes from v3:
  * Plug into the cairo surface conversion code, and share the code between
    the explicit conversion and the implicit one done when asking for a
    cairo surface for a framebuffer in a format not supported by Cairo.
  * Rebased on top of master

Changes from v2:
  * Reworded a commit log
  * Dropped commit making chamelium_calculate_fb_crc static
  * Added a few more missing formats
  * Changed PIXMAN_invalid to 0 to make sure it never conflicts with a
    pixman format

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 (16):
  fb: Add buffer map/unmap functions
  fb: Only set the GEM domain on intel platforms
  fb: Add RGB888 format
  fb: Use an igt_fb for the cairo shadow buffer
  fb: convert: Remove swizzle from the arguments
  fb: Create common function to convert frame formats
  fb: Add format conversion routine
  igt: Make pixman mandatory
  tests: kms_plane: Disable XBGR8888
  fb: Add support for conversions through pixman
  fb: Add more formats
  chamelium: Split CRC test function in two
  chamelium: Change our pattern for a custom one if needed
  chamelium: Add format support
  chamelium: Add format subtests
  tests: Add chamelium formats subtests to vc4 test lists

 README                                   |   2 +-
 lib/igt_fb.c                             | 467 ++++++++++++++++++------
 lib/igt_fb.h                             |   4 +-
 meson.build                              |   9 +-
 tests/kms_chamelium.c                    | 205 ++++++++---
 tests/kms_plane.c                        |  10 +-
 tests/vc4_ci/vc4-chamelium-fast.testlist |  10 +-
 tests/vc4_ci/vc4-chamelium.testlist      |  10 +-
 8 files changed, 547 insertions(+), 170 deletions(-)

base-commit: d36388a9f2dfc76ac3ccc963242de1f44f9cacd4
-- 
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] 28+ messages in thread

end of thread, other threads:[~2018-10-08 13:41 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-04 12:38 [igt-dev] [PATCH v8 00/16] chamelium: Test the plane formats Maxime Ripard
2018-10-04 12:38 ` [igt-dev] [PATCH v8 01/16] fb: Add buffer map/unmap functions Maxime Ripard
2018-10-04 12:38 ` [igt-dev] [PATCH v8 02/16] fb: Only set the GEM domain on intel platforms Maxime Ripard
2018-10-05  8:11   ` Arkadiusz Hiler
2018-10-04 12:38 ` [igt-dev] [PATCH v8 03/16] fb: Add RGB888 format Maxime Ripard
2018-10-05 15:57   ` Arkadiusz Hiler
2018-10-04 12:38 ` [igt-dev] [PATCH v8 04/16] fb: Use an igt_fb for the cairo shadow buffer Maxime Ripard
2018-10-08 13:41   ` Arkadiusz Hiler
2018-10-04 12:38 ` [igt-dev] [PATCH v8 05/16] fb: convert: Remove swizzle from the arguments Maxime Ripard
2018-10-04 12:38 ` [igt-dev] [PATCH v8 06/16] fb: Create common function to convert frame formats Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 07/16] fb: Add format conversion routine Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 08/16] igt: Make pixman mandatory Maxime Ripard
2018-10-05 11:42   ` Arkadiusz Hiler
2018-10-05 15:23     ` Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 09/16] tests: kms_plane: Disable XBGR8888 Maxime Ripard
2018-10-08 13:06   ` Arkadiusz Hiler
2018-10-08 13:15     ` Martin Peres
2018-10-04 12:39 ` [igt-dev] [PATCH v8 10/16] fb: Add support for conversions through pixman Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 11/16] fb: Add more formats Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 12/16] chamelium: Split CRC test function in two Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 13/16] chamelium: Change our pattern for a custom one if needed Maxime Ripard
2018-10-08 13:17   ` Arkadiusz Hiler
2018-10-04 12:39 ` [igt-dev] [PATCH v8 14/16] chamelium: Add format support Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 15/16] chamelium: Add format subtests Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 16/16] tests: Add chamelium formats subtests to vc4 test lists Maxime Ripard
2018-10-08 13:18   ` Arkadiusz Hiler
2018-10-05  9:46 ` [igt-dev] ✓ Fi.CI.BAT: success for chamelium: Test the plane formats (rev7) Patchwork
2018-10-05 13:21 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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.