summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2017-03-20 18:23:17 +0200
committerJyri Sarha <jsarha@ti.com>2017-03-20 18:23:17 +0200
commitb4e12b370f3fa6388ac626b081ceeb25b98b233b (patch)
tree51331c0e92c6dc4f43e97e496e6ee74c55f07301
parent0b44bbe9279886d9adcb08df2a93e27dd790c6e7 (diff)
pykms/pykmsutil.cpp: Add binding for reserve_generic_plane()
-rw-r--r--py/pykms/pykmsutil.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/pykms/pykmsutil.cpp b/py/pykms/pykmsutil.cpp
index 8421cc5..46b7765 100644
--- a/py/pykms/pykmsutil.cpp
+++ b/py/pykms/pykmsutil.cpp
@@ -30,6 +30,9 @@ void init_pykmstest(py::module &m)
py::arg("crtc"),
py::arg("type"),
py::arg("format") = PixelFormat::Undefined)
+ .def("reserve_generic_plane", &ResourceManager::reserve_generic_plane,
+ py::arg("crtc"),
+ py::arg("format") = PixelFormat::Undefined)
.def("reserve_primary_plane", &ResourceManager::reserve_primary_plane,
py::arg("crtc"),
py::arg("format") = PixelFormat::Undefined)