Add Crtc::disable_mode() to pykmsbase.cpp.
authorJyri Sarha <jsarha@ti.com>
Fri, 24 Mar 2017 20:45:31 +0000 (22:45 +0200)
committerJyri Sarha <jsarha@ti.com>
Wed, 31 May 2017 15:49:29 +0000 (18:49 +0300)
py/pykms/pykmsbase.cpp

index d013f1f38cd39ef6827b4a038f274f872028fa99..49b0a1980e3e6a21b54a936c8841b8a575070ae2 100644 (file)
@@ -50,6 +50,7 @@ void init_pykmsbase(py::module &m)
 
        py::class_<Crtc, Crtc*>(m, "Crtc",  py::base<DrmPropObject>())
                        .def("set_mode", &Crtc::set_mode)
+                       .def("disable_mode", &Crtc::disable_mode)
                        .def("page_flip",
                             [](Crtc* self, Framebuffer& fb, py::object ob)
                                {