summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/kmstest.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/kmstest.py b/tests/kmstest.py
index a932bc8..4bd4e0a 100755
--- a/tests/kmstest.py
+++ b/tests/kmstest.py
@@ -415,7 +415,8 @@ class KMSTest(object):
else:
return req.commit(0, True)
- def atomic_plane_set(self, plane, crtc, source, destination, fb, alpha=None, zpos=None, sync=False):
+ def atomic_plane_set(self, plane, crtc, source, destination, fb, alpha=None,
+ zpos=None, blendmode=None, sync=False):
req = AtomicRequest(self)
req.add(plane, {
'FB_ID': fb.id,
@@ -433,6 +434,8 @@ class KMSTest(object):
req.add(plane, 'alpha', alpha)
if zpos is not None:
req.add(plane, 'zpos', zpos)
+ if blendmode is not None:
+ req.add(plane, 'pixel blend mode', blendmode)
if sync:
return req.commit_sync()
else: