summaryrefslogtreecommitdiff
path: root/lib/igt_kms.c
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.c
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.c')
-rw-r--r--lib/igt_kms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index dedc8134..3894eeaf 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -175,6 +175,8 @@ const char * const igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
[IGT_PLANE_IN_FORMATS] = "IN_FORMATS",
[IGT_PLANE_COLOR_ENCODING] = "COLOR_ENCODING",
[IGT_PLANE_COLOR_RANGE] = "COLOR_RANGE",
+ [IGT_PLANE_PIXEL_BLEND_MODE] = "pixel blend mode",
+ [IGT_PLANE_ALPHA] = "alpha",
};
const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {