summaryrefslogtreecommitdiff
path: root/utils/kmsprint.cpp
AgeCommit message (Collapse)Author
2020-04-21kmsprint: use Videomode::to_string_longTomi Valkeinen
2019-09-25kmsprint: use fmt instead of printf and sformatTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2019-09-25videomode to_string improvementsTomi Valkeinen
Add to_string_short() and to_string_long() to videomode (using the fmt library) for easy printing of videomodes. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2019-07-30kmsprint: add missing --device from usageTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2019-01-17card: another try with card constructorsTomi Valkeinen
Let's try again with the card constructors. Card::open_modesetting_card() is removed. The main constructor is Card(const std::string& dev_path = ""). If dev_path is set, the device node with that path is used. If dev_path is not set, the behavior is similar as previously, except a modeset capable card is used at the third step: - If KMSXX_DEVICE env variable is set, the card device with that path is opened. - If KMSXX_DRIVER env variable is set, the card with the given driver name and index is opened. The format is either "drvname" or "drvname:idx". - If neither env variable is given, the first modeset capable card is opened. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2018-08-28kmsprint: use connector_statusTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2018-06-29kmstest: print property idsTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-06-30kmsprint: print connectors even if disconnectedTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-03-13kmsprint: show plane's possible crtcsTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-27kmsprint: fix printsTomi Valkeinen
2016-09-23kmsprint: improve property enum printsTomi Valkeinen
2016-08-15testpat & kmsprint: improve mode printsTomi Valkeinen
2016-06-22kmsprint: Include cinttypes instead of inttypes.hLaurent Pinchart
cinttypes is the right C++ header, and doesn't require source files to define __STDC_FORMAT_MACROS to get the integer type format macros. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-06-11kms++util: split to subdirsTomi Valkeinen
2016-06-11kms++: organize into subdirsTomi Valkeinen
2016-06-11kmsprint: print plane formatsTomi Valkeinen
2016-06-07kmsprint: rewrite kmsprintTomi Valkeinen
2016-05-25Split properties from DrmObject into DrmPropObjectTomi Valkeinen
2016-05-23File/dir renamesTomi Valkeinen