diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-23 09:31:08 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-23 09:43:43 +0300 |
commit | 0bc5bbd6766949d651f98e12981d79c86ce0bf99 (patch) | |
tree | e0816b9b3696e77197e3c1a6c3283ef0a4cb44c0 /py/db.py | |
parent | fa91e51e4a485ab813032ffcbc7d8cb8c96314d5 (diff) |
Fix the rest of the py scripts
Diffstat (limited to 'py/db.py')
-rwxr-xr-x | py/db.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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() |