[PATCH v4 00/21] modetest enhancements

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Mar 19 07:55:41 PDT 2013


Hello,

Here's the fourth version of my modetest enhancements patch set.

The third version only contained patches 01/21 to 04/21. I then felt the need
for a test tool that allows testing more driver features and ended up extending
modetest accordingly.

Beside various cleanups, these patches allow dropping master after mode set,
configuring more than two pipes and planes, setting properties from the
command line, setting plane positions and configuring pipes with multiple
connectors in cloned mode.

The code has been tested with the R-Car DU DRM driver.

Laurent Pinchart (21):
  modetest: Fix warnings
  modetest: Remove extern declarations of opt(arg|ind|err|opt)
  modetest: Sort command line arguments
  modetest: Add a command line parameter to select the driver
  modetest: Add a command line parameter to drop master after mode set
  modetest: Retrieve all resources in one go
  modetest: Don't limit mode set and planes to two instances
  modetest: Add a command line parameter to set properties
  modetest: Allow specifying plane position
  modetest: Print the plane ID when setting up a plane
  modetest: Remove the -m argument
  modetest: Create a device structure
  modetest: Compute CRTC pipe number as needed
  modetest: Remove the struct connector_arg encoder field
  modetest: Store the crtc in the connector_arg structure
  modetest: Store the mode in the crtc structure
  modetest: Give the CRTC ID to the -P option
  modetest: Split mode setting and plane setup
  modetest: Rename struct connector_arg to struct pipe_arg
  modetest: Support pipes with multiple connectors
  modetest: Try all possible encoders for a connector

 tests/modetest/Makefile.am |    4 +-
 tests/modetest/buffers.c   |   13 +-
 tests/modetest/buffers.h   |    5 +-
 tests/modetest/modetest.c  | 1192 +++++++++++++++++++++++++++++++-------------
 4 files changed, 856 insertions(+), 358 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list