On Mon, Jul 20, 2015 at 07:56:20PM +0300, Laurent Pinchart wrote: > From: Thierry Reding <treding@xxxxxxxxxx> > > Allow connector names to be used in the specification of the -s option. > This requires storing the string passed on the command-line so that it > can later be resolved to a connector ID (after the DRM device has been > opened). > > Connector names are constructed from the connector type name and > connector type ID using the same format as used internally in the > Linux kernel. > > Signed-off-by: Thierry Reding <treding@xxxxxxxxxx> > Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> > --- > tests/modetest/modetest.c | 94 +++++++++++++++++++++++++++++++++++++++++------ > 1 file changed, 82 insertions(+), 12 deletions(-) > > I've carried this patch in my tree for too long and I'm now tired of rebasing > it. It's thus time to get it in mainline. > > Compared to the original version developed by Thierry, I've > > - rebased the patch on top of latest master > - dropped dependencies on other WIP patches in Thierry's tree > - fixed printf alignment > - used asprintf to simplify name string allocation > - constructed the connector name using the same format as the Linux kernel Heh, I started to get all these patches into shape last week, and this will probably give me more rebase headaches. But I guess that's what I deserve for letting things slide... Thierry
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel