[Intel-gfx] [PATCH i-g-t 1/7] lib/igt_kms: Add support for up to 10 planes per pipe.

robert.foss at collabora.com robert.foss at collabora.com
Wed Apr 20 14:59:43 UTC 2016


From: Robert Foss <robert.foss at collabora.com>

The VC4 DRM currently uses 10 planes which is more than any
other DRM, let's allocate space for the worst case scenario.

Signed-off-by: Robert Foss <robert.foss at collabora.com>
---
 lib/igt_kms.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 2c189ed..3edfc3d 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -267,7 +267,7 @@ struct igt_pipe {
 	igt_display_t *display;
 	enum pipe pipe;
 	bool enabled;
-#define IGT_MAX_PLANES	4
+#define IGT_MAX_PLANES	10
 	int n_planes;
 	igt_plane_t planes[IGT_MAX_PLANES];
 	uint64_t background; /* Background color MSB BGR 16bpc LSB */
-- 
2.5.0



More information about the Intel-gfx mailing list