summaryrefslogtreecommitdiff
path: root/py/db.py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-23 09:31:08 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-23 09:43:43 +0300
commit0bc5bbd6766949d651f98e12981d79c86ce0bf99 (patch)
treee0816b9b3696e77197e3c1a6c3283ef0a4cb44c0 /py/db.py
parentfa91e51e4a485ab813032ffcbc7d8cb8c96314d5 (diff)
Fix the rest of the py scripts
Diffstat (limited to 'py/db.py')
-rwxr-xr-xpy/db.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/py/db.py b/py/db.py
index c51ca70..315f993 100755
--- a/py/db.py
+++ b/py/db.py
@@ -33,13 +33,12 @@ class FlipHandler(pykms.PageFlipHandlerBase):
if card.has_atomic:
ctx = pykms.AtomicReq(card)
- ctx.add(crtc, "FB_ID", fb.id)
+ ctx.add(crtc.primary_plane, "FB_ID", fb.id)
ctx.commit(self)
else:
crtc.page_flip(fb, self)
-
card = pykms.Card()
conn = card.get_first_connected_connector()
mode = conn.get_default_mode()