summaryrefslogtreecommitdiff
path: root/py
AgeCommit message (Collapse)Author
2017-02-10use reserve_connector from ResourceManagerTomi Valkeinen
2017-02-06Support python2 based pykms bindingAlejandro Hernandez
Previously only binding with python3 was supported, this patch allows compilation of pykms with python3 or python2. When compiling with python2 some of the python scripts located in the py/test will not work since they import python3 only modules Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-01-27py/tests: hpd testTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-01-25Add refresh() to connector, crtc and encoderTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-01-24pykms: add Videomode.__repr__Tomi Valkeinen
2017-01-03py: db.py: Print frame rate at 5s intervalsLaurent Pinchart
Print both the number of vsyncs (as reported by the driver in flip events) and the number of flip events. This is useful to debug frame rate related issues. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-01-03py: db.py: Rename argument to event handlers to avoid shadowingLaurent Pinchart
The first argument to the key event handlers bears the same name as the global variable that identifies the connector. Rename it to fileobj which, in addition to being more descriptive, avoids shadowing the global variable. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-01-03py: Move helpers to the pykms moduleLaurent Pinchart
Instead of forcing applications to import the helpers manually, move them to pykms by turning it into a python module. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-01-03py: Reorganize source directoryLaurent Pinchart
Separate the Python bindings sources from the test scripts. While at it, remove the unneeded run.sh script. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-01-03py: Expose MappedFramebuffer width and height propertiesLaurent Pinchart
The property getters are defined as pure virtual functions in the MappedFramebuffer class. Expose the Python properties as part of the bindings for that class to make them available for all classes inheriting from MappedFramebuffer. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-11-22py: Add OmapCard & OmapFramebuffer supportTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-11-22py: Add MappedFramebuffer and use itTomi Valkeinen
Add MappedFramebuffer to python bindings and use it for the draw functions. Looks like recent pybind11 versions have better multi-inheritance support, so all this need to be revisited after updating pybind11. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-08-15support finding fractional vrefreshTomi Valkeinen
2016-08-11add basic cmake install systemTomi Valkeinen
2016-07-10Fix property name lookupTomi Valkeinen
Object types can have different properties with the same name, so we need to move name-based property lookup from Card to DrmPropObject. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-06-22py: fix AtomicReq's add()Tomi Valkeinen
"kms++: use DrmPropObject in AtomicReq" forgot to update py bindings. Fix this. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-06-22py: Expose the Connector::get_mode methodsLaurent Pinchart
Those methods are useful in Python scripts, expose them through the bindings. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-06-16py: add cam.pyTomi Valkeinen
2016-06-16py: add pyvidTomi Valkeinen
2016-06-16py: use ResourceManagerTomi Valkeinen
2016-06-16add ResourceManagerTomi Valkeinen
2016-06-16Support RGB888Tomi Valkeinen
2016-06-14py: add missing pixelformatsTomi Valkeinen
2016-06-11py: PixelFormat & DumbFB improTomi Valkeinen
2016-06-11kms++util: split to subdirsTomi Valkeinen
2016-06-11kms++: organize into subdirsTomi Valkeinen
2016-06-11rename libkms to kms++Tomi Valkeinen
2016-06-07py: fix scripts when there's no current crtcTomi Valkeinen
2016-06-07Make py/gamma.py executable.Jyri Sarha
2016-06-07py/gamma.py: Make gamma table calculations more genericJyri Sarha
2016-06-02py: fix AtomicReq bindingsTomi Valkeinen
2016-05-26py: add set_prop()Tomi Valkeinen
2016-05-25gamma.py: show a test patternTomi Valkeinen
2016-05-25Add a simple gamma.py testTomi Valkeinen
2016-05-25Add support for DRM blobsTomi Valkeinen
2016-05-25Split properties from DrmObject into DrmPropObjectTomi Valkeinen
2016-05-23Reorganize libkms++utils headerTomi Valkeinen
2016-05-23File/dir renamesTomi Valkeinen
2016-05-23Fix the rest of the py scriptsTomi Valkeinen
2016-05-23split py filesTomi Valkeinen
2016-05-23Cleanup AtomicReq::commitTomi Valkeinen
2016-05-23Use pybind11 instead of SWIGTomi Valkeinen
2016-05-18add kmsmodeview.pyTomi Valkeinen
2016-05-09py: fix videomode listTomi Valkeinen
2016-04-21depend on python 3.x, not 3.4Tomi Valkeinen
2016-04-16add -Wextra & fix warningsTomi Valkeinen
2016-03-23hackfix py compilation on 64 bit pcTomi Valkeinen
2016-03-17py: add transparency key and alpha testsTomi Valkeinen
2016-03-17Use globbing to add .py test filesTomi Valkeinen
2016-03-08libkmstest: color & draw_rectTomi Valkeinen