summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
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-27kmsprint: fix printsTomi Valkeinen
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-09-23kmsprint: improve property enum printsTomi Valkeinen
2016-08-24kmstest: rename remaining references to testpatTomi Valkeinen
2016-08-16rename testpat and fbtestpatTomi Valkeinen
2016-08-15support finding fractional vrefreshTomi Valkeinen
2016-08-15testpat & kmsprint: improve mode printsTomi Valkeinen
2016-08-12ExtCPUFramebuffer: add size and offset paramsTomi Valkeinen
Add size and offset params to ExtCPUFramebuffer, so that we can fix fbtestpat's test pattern size on larger virtual fbdevs.
2016-08-12fbtestpat: remove extra leftover memcpyTomi Valkeinen
2016-08-11add basic cmake install systemTomi Valkeinen
2016-08-10utils: select() et al. need <sys/select.h>Yann E. MORIN
Although indirectly included by way of other headers with glibc and uClibc, using any of the select()-class familly of functions or macros requires including <sys/select.h>. This fixes the build under musl, which is way more conservative in the ehaders that are included one-from-the-others (k.e. as few as possible). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2016-08-10fbtestpat: draw "/dev/fb0" textTomi Valkeinen
2016-06-22Add missing <system_error> includesTomi Valkeinen
Missing <system_error> breaks compliation on gcc 4.9. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
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-16utils: add wbm2mTomi Valkeinen
2016-06-16utils: add wbcapTomi Valkeinen
2016-06-16kmsview: use resmanTomi Valkeinen
2016-06-11kms++util: split to subdirsTomi Valkeinen
2016-06-11kms++: organize into subdirsTomi Valkeinen
2016-06-11kmsprint: print plane formatsTomi Valkeinen
2016-06-07util: add simple text drawingTomi Valkeinen
2016-06-07kmsview: small improvementsTomi Valkeinen
2016-06-07testpat: use new id/idx resolvingTomi Valkeinen
2016-06-07kmsprint: rewrite kmsprintTomi Valkeinen
2016-06-07add kmsblank appTomi Valkeinen
2016-05-31testpat: print FB IDsTomi Valkeinen
2016-05-30Remove 'db' from CMakeList.txtTomi Valkeinen
2016-05-30Remove 'db', 'testpat' does it betterTomi Valkeinen
2016-05-30testpat: add page flipping modeTomi Valkeinen
2016-05-30testpat: atomic commitTomi Valkeinen
2016-05-30testpat: get primary planeTomi Valkeinen
2016-05-30testpat: support multiple buffersTomi Valkeinen
2016-05-30testpat: draw pattern separatelyTomi Valkeinen
2016-05-25Split properties from DrmObject into DrmPropObjectTomi Valkeinen
2016-05-23Reorganize libkms++utils headerTomi Valkeinen
2016-05-23File/dir renamesTomi Valkeinen