summaryrefslogtreecommitdiff
path: root/py/pykms
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-05-30 13:57:53 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-05-30 14:22:00 +0300
commit21bc24b7aee138bd1f43a11eb8b86e96039fdacf (patch)
treeeafb0f1615b751b20dd0bc8e378fb9a7e3a1b39f /py/pykms
parent2d86678f0a78abf67cdef6be375f7d787c4f017d (diff)
omapfb: add flags for memory alloc
Diffstat (limited to 'py/pykms')
-rw-r--r--py/pykms/pykmsomap.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/pykms/pykmsomap.cpp b/py/pykms/pykmsomap.cpp
index 2074092..0c3a8ee 100644
--- a/py/pykms/pykmsomap.cpp
+++ b/py/pykms/pykmsomap.cpp
@@ -20,6 +20,9 @@ void init_pykmsomap(py::module &m)
py::enum_<OmapFramebuffer::Flags>(omapfb, "Flags")
.value("None", OmapFramebuffer::Flags::None)
.value("Tiled", OmapFramebuffer::Flags::Tiled)
+ .value("MemContig", OmapFramebuffer::Flags::MemContig)
+ .value("MemTiler", OmapFramebuffer::Flags::MemTiler)
+ .value("MemPin", OmapFramebuffer::Flags::MemPin)
.export_values()
;