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/alpha-test.py | |
parent | fa91e51e4a485ab813032ffcbc7d8cb8c96314d5 (diff) |
Fix the rest of the py scripts
Diffstat (limited to 'py/alpha-test.py')
-rwxr-xr-x | py/alpha-test.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/py/alpha-test.py b/py/alpha-test.py index 99c84fb..6957bb4 100755 --- a/py/alpha-test.py +++ b/py/alpha-test.py @@ -50,15 +50,15 @@ for i in range(len(planes)): plane = planes[i] fb = fbs[i] - print("set crtc {}, plane {}, fb {}".format(crtc.id(), p.id(), fbs[i].id())) + print("set crtc {}, plane {}, fb {}".format(crtc.id, p.id, fbs[i].id)) set_props(plane, { - "FB_ID": fb.id(), - "CRTC_ID": crtc.id(), - "SRC_W": fb.width() << 16, - "SRC_H": fb.height() << 16, - "CRTC_W": fb.width(), - "CRTC_H": fb.height(), + "FB_ID": fb.id, + "CRTC_ID": crtc.id, + "SRC_W": fb.width << 16, + "SRC_H": fb.height << 16, + "CRTC_W": fb.width, + "CRTC_H": fb.height, "zorder": i, }) |