summaryrefslogtreecommitdiff
path: root/py/tests/sync.py
AgeCommit message (Collapse)Author
2018-06-20py: sync: Moded to blob conversion method is called to_blob()Laurent Pinchart
There's no blob() method on mode objects, use to_blob(). Fixes: 66f161d0032e ("py: Add in fence test using swsync") Reported-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2018-06-20py: sync: Fix event handlingLaurent Pinchart
Fancy event handling was dropped in commit 95de32aa7fbb ("py: drop the fancy event handling"). Python tests were updated, but one commit call got forgotten in the sync.py test. Fix it. Fixes: 95de32aa7fbb ("py: drop the fancy event handling") Reported-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-09-05py: drop the fancy event handlingTomi Valkeinen
Unfortunately the nice event handler added previously doesn't work: we may get multiple page-flip events, which would lead to unref'ing the passed python object multiple times, leading to memory corruption. I guess it's only possible to pass a plain int as user data to commit() and page_flip().
2017-04-21py: Add in fence test using swsyncLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>