fix functest.py
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 28 Sep 2015 06:10:14 +0000 (09:10 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 28 Sep 2015 06:10:14 +0000 (09:10 +0300)
py/functest.py

index 54c3363e8a45cc9c5ee9d3073f905f8d7e24d1c5..21a543a50cc6d9ef59ad416a30081f52fcc31da1 100755 (executable)
@@ -9,7 +9,7 @@ conn = card.get_first_connected_connector()
 mode = conn.get_default_mode()
 
 fb = pykms.Framebuffer(card, mode.hdisplay, mode.vdisplay, "XR24");
-fb.draw_test_pattern(0);
+pykms.draw_test_pattern(fb);
 
 crtc = conn.get_current_crtc()