diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-06-17 02:31:28 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-08-06 05:09:16 +0300 |
commit | b03efda32a4b79149e7e0b58cbe73bfd56786da3 (patch) | |
tree | 3b3fe0a2987f0ef93db35358d6c2e88813e244d3 /py | |
parent | 41ffb17e22fba40b43575dbf1a516067878ed9e5 (diff) |
card: Add support for writeback connectors
Add a Card::has_writeback() method to report if the card support
writeback connectors. Similarly to universal planes, add a
KMSXX_DISABLE_WRITEBACK_CONNECTORS environment variable to disable
enumeration of writeback connectors to avoid confusing existing code
that expects all connectors to model an output.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'py')
-rw-r--r-- | py/pykms/pykmsbase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp index 0448e02..8276b72 100644 --- a/py/pykms/pykmsbase.cpp +++ b/py/pykms/pykmsbase.cpp @@ -47,6 +47,7 @@ void init_pykmsbase(py::module &m) }) .def_property_readonly("has_atomic", &Card::has_atomic) + .def_property_readonly("has_writeback", &Card::has_writeback) .def("get_prop", (Property* (Card::*)(uint32_t) const)&Card::get_prop) .def_property_readonly("version_name", &Card::version_name); |