OSDN Git Service

modeprint: use libutil to lookup strings
authorStefan Agner <stefan@agner.ch>
Wed, 5 Sep 2018 18:00:19 +0000 (11:00 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 4 Oct 2018 13:26:16 +0000 (14:26 +0100)
commiteaed5c8825a1d901ff29526b1463643bb7970d7d
tree7f4150064a86b5b764cf794e2257417b38a7efe4
parent4ec31fc31a4be909c8204164c844b4a18f098af7
modeprint: use libutil to lookup strings

Use libutil to lookup connector type names and state. This also
makes sure that the latest connector type addition "DPI" gets
printed correctly.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
tests/modeprint/Makefile.am
tests/modeprint/meson.build
tests/modeprint/modeprint.c