summaryrefslogtreecommitdiff
path: root/py/alpha-test.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/alpha-test.py
parentfa91e51e4a485ab813032ffcbc7d8cb8c96314d5 (diff)
Fix the rest of the py scripts
Diffstat (limited to 'py/alpha-test.py')
-rwxr-xr-xpy/alpha-test.py14
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,
})