pykms/pykmsutil.cpp: Add binding for reserve_generic_plane()
authorJyri Sarha <jsarha@ti.com>
Mon, 20 Mar 2017 16:23:17 +0000 (18:23 +0200)
committerJyri Sarha <jsarha@ti.com>
Mon, 20 Mar 2017 16:23:17 +0000 (18:23 +0200)
py/pykms/pykmsutil.cpp

index 8421cc59315895cf1d077f53c42a8e7529395ba0..46b7765e59e351755f7ddabd4c253a5188a96a20 100644 (file)
@@ -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)