summaryrefslogtreecommitdiff
path: root/kms++/src/videomode.cpp
AgeCommit message (Collapse)Author
2020-05-15kmstest: allow enabling output without anything connectedTomi Valkeinen
Allow kmstest to enable an output without anything connected, if the user gives a videomode. DRM framework allows this, and is needed for testing. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2019-11-06kms++: modernize deprecated headersTomi Valkeinen
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>
2017-10-20Videomode: add to_string()Tomi Valkeinen
2016-10-11Add comment about ilaceTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-29Improve mode findingTomi Valkeinen
Change calculated_vrefresh to round to 2 decimals, and do two rounds when looking for a mode: first look for exact vrefresh match, then look for rounded match. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-26Improve struct VideomodeTomi Valkeinen
Enable set/get for sync polarities and interlace. Add videomode_from_timings() helper to construct Videomode from non-X timings. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-08-15testpat & kmsprint: improve mode printsTomi Valkeinen
2016-06-11kms++: organize into subdirsTomi Valkeinen