summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-11-22 10:05:53 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-11-22 12:47:15 +0200
commita4724a1dae7a877ae7bb7082b068bbb12032ff63 (patch)
treeef3264139d2f48c39787d3f692a834da3f8581ea /py
parent448dec0fa7e398bff2152f5e01671353af03bc8c (diff)
kmstest: use resman
Diffstat (limited to 'py')
-rw-r--r--py/pykms/pykmsutil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/pykms/pykmsutil.cpp b/py/pykms/pykmsutil.cpp
index 10dee81..518d5ea 100644
--- a/py/pykms/pykmsutil.cpp
+++ b/py/pykms/pykmsutil.cpp
@@ -25,8 +25,8 @@ void init_pykmstest(py::module &m)
.def("reset", &ResourceManager::reset)
.def("reserve_connector", (Connector* (ResourceManager::*)(const string& name))&ResourceManager::reserve_connector,
py::arg("name") = string())
- .def("reserve_crtc", &ResourceManager::reserve_crtc)
- .def("reserve_plane", &ResourceManager::reserve_plane,
+ .def("reserve_crtc", (Crtc* (ResourceManager::*)(Connector*))&ResourceManager::reserve_crtc)
+ .def("reserve_plane", (Plane* (ResourceManager::*)(Crtc*, PlaneType, PixelFormat))&ResourceManager::reserve_plane,
py::arg("crtc"),
py::arg("type"),
py::arg("format") = PixelFormat::Undefined)