summaryrefslogtreecommitdiff
path: root/py/helpers.py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-20 08:53:36 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-20 08:53:36 +0300
commitc1138d9e30a3426a1d734c1de28218102bcb05d4 (patch)
treeac73959ce506b4a21c26edc3cc1503223ff446b4 /py/helpers.py
parent33c98598a79b8cd15ded9c91b0bc580fe1ed6fb9 (diff)
parent6f5d1817fdb305b9f63a5e8abfbcf46da41d3245 (diff)
Merge V4L2 related work
Diffstat (limited to 'py/helpers.py')
-rw-r--r--py/helpers.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/py/helpers.py b/py/helpers.py
index e92163c..fd67d41 100644
--- a/py/helpers.py
+++ b/py/helpers.py
@@ -52,15 +52,3 @@ def disable_planes(card):
if areq.commit_sync() != 0:
print("disabling planes failed")
-
-def get_crtc_for_connector(conn):
- crtc = conn.get_current_crtc()
-
- if crtc != None:
- return crtc
-
- for crtc in conn.get_possible_crtcs():
- if crtc.mode_valid == False:
- return crtc
-
- raise RuntimeError("No free crtc found")