summaryrefslogtreecommitdiff
path: root/lib/igt_kms.h
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2018-10-01 17:48:12 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2018-10-02 10:40:42 +0200
commitd0975646c50568e66e65b44b81d28232d059b94e (patch)
treec21568a44be37105c9a6a0ae747c3ad96b35b302 /lib/igt_kms.h
parent7f41adfbfd17027b71c332d6ae997f1364f73731 (diff)
tests: Add kms plane alpha blending test, v2.
Add a few tests to test various blending modes. Some of the tests will skip if pixel mode alpha cannot be enabled with plane alpha at the same time. This is for mali-dp. I didn't test on that platform, but tested with the same check on i915. The tests won't pass i915 on pre-gen11 hw. i915 has small rounding errors with 0xff and 0x00 alpha, which gives CRC mismatches. Changes since v1: - Send the correct version, with the skips for mali-dp in place. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'lib/igt_kms.h')
-rw-r--r--lib/igt_kms.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 73624399..2d862665 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -266,6 +266,8 @@ enum igt_atomic_plane_properties {
IGT_PLANE_IN_FORMATS,
IGT_PLANE_COLOR_ENCODING,
IGT_PLANE_COLOR_RANGE,
+ IGT_PLANE_PIXEL_BLEND_MODE,
+ IGT_PLANE_ALPHA,
IGT_NUM_PLANE_PROPS
};