summaryrefslogtreecommitdiff
path: root/utils/kmstest.cpp
AgeCommit message (Collapse)Author
2017-02-10kmstest: remove get_default_connector()Tomi Valkeinen
2017-02-10use reserve_connector from ResourceManagerTomi Valkeinen
2017-02-10kmstest: Add --view optionTomi Valkeinen
2016-12-20kmstest: don't reserve primary_plane if it's not neededTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-12-20kmstest: disable crtcs & planes before modesetTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-12-20kmstest: fix bug in setups_to_outputs()Tomi Valkeinen
Bad output used to get the crtc, causing crash. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-12-12kmstest: use resman to get primary planesTomi Valkeinen
We need to ensure that a primary plane is not already in use. ResourceManager does this for us. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-11-21kmstest: use MappedFramebufferTomi Valkeinen
Use MappedFramebuffer instead of DumbFramebuffer in kmstest, except when creating the object. This change makes it possible to easily use other framebuffer objects in kmstest than DumbFramebuffer. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-10-11kmstest: be explicit about mode selectionTomi Valkeinen
Instead of searching through the dmt and cea tables (if user has given the option), lets be more explicit about it. Only look for the mode from a single source, and fail if not found there. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-10-11kmstest: add --cvt optionTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-30kmstest: enable display even if crtc doesn't have fbTomi Valkeinen
With atomic modesetting we can enable the crtc without a primary plane. This allows enabling only a plane on the screen. Change set_crtcs_n_planes() to allow this. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-26kmatest: add custom videomode supportTomi Valkeinen
Support custom videomodes when specifying a crtc. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-09-26kmatest: split regex strings to multiple linesTomi Valkeinen
Split regex strings to multiple lines to make them slightly more readable. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-08-24kmstest: rename remaining references to testpatTomi Valkeinen
2016-08-16rename testpat and fbtestpatTomi Valkeinen