summaryrefslogtreecommitdiff
path: root/lib/igt_kms.c
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2016-05-18 20:07:03 -0400
committerMarius Vlad <marius.c.vlad@intel.com>2016-07-04 17:15:57 +0300
commit556a59ed64c17c41d96a7ef8f50f8c742b9f04b9 (patch)
treebc511c426d51edcc291fbfd28b4d1aff8fe637c7 /lib/igt_kms.c
parentf73b41e1ba6009a44c0c05aad8815004d9842cbe (diff)
lib/igt_kms: Add support for up to 10 planes.
Increase the number of planes supported to 10. kmstest_plane_name only previously supported 4 planes, this patch adds support for up to 10 planes. Signed-off-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
Diffstat (limited to 'lib/igt_kms.c')
-rw-r--r--lib/igt_kms.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index f9e32a5a..513e5106 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -322,6 +322,12 @@ const char *kmstest_plane_name(enum igt_plane plane)
[IGT_PLANE_1] = "plane1",
[IGT_PLANE_2] = "plane2",
[IGT_PLANE_3] = "plane3",
+ [IGT_PLANE_4] = "plane4",
+ [IGT_PLANE_5] = "plane5",
+ [IGT_PLANE_6] = "plane6",
+ [IGT_PLANE_7] = "plane7",
+ [IGT_PLANE_8] = "plane8",
+ [IGT_PLANE_9] = "plane9",
[IGT_PLANE_CURSOR] = "cursor",
};