summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2017-03-24 22:45:31 +0200
committerJyri Sarha <jsarha@ti.com>2017-05-31 18:49:29 +0300
commitb39260b2775cfc101fae418810c46cec7aa6cf9f (patch)
treeaf779fc76d7a59092ccbc895a0a3f382319cccc0
parente71c232660a7480c2b56f6e76e83fad4c7e9da8a (diff)
Add Crtc::disable_mode() to pykmsbase.cpp.
-rw-r--r--py/pykms/pykmsbase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp
index d013f1f..49b0a19 100644
--- a/py/pykms/pykmsbase.cpp
+++ b/py/pykms/pykmsbase.cpp
@@ -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)
{