[PATCH v5 00/23] modetest enhancements

Laurent Pinchart laurent.pinchart at ideasonboard.com
Fri Jun 14 14:34:52 PDT 2013


On Friday 14 June 2013 23:21:11 Laurent Pinchart wrote:
> Hello,
> 
> After a (too) long delay here's the fifth version of my modetest
> enhancements patch set.

And I've of course sent the wrong version :-/ v6 (hopefully final) is on the 
way. Sorry for the noise.

> 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.
> 
> Changes since v4:
> 
> - Update the usage line with the newly added parameters
> - Fixed a bad copy&paste in the -w argument handling
> - Use widthxheight[+-]x[+-]y to specify plane size and position
> - Fixed two bugs in buffer allocation and pattern generation (22/23 and
> 23/23)
> 
> Laurent Pinchart (23):
>   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
>   modetest: Fix line stride in SMPTE YUV packet pattern generator
>   modetest: Allocate NV buffers large enough for the two planes
> 
>  tests/modetest/Makefile.am |    4 +-
>  tests/modetest/buffers.c   |   44 +-
>  tests/modetest/buffers.h   |    5 +-
>  tests/modetest/modetest.c  | 1195 +++++++++++++++++++++++++++++------------
>  4 files changed, 882 insertions(+), 366 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list