From 8bbb2d539c19623b5be033a84256a5a09e348846 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 21 Oct 2022 14:27:45 +0100 Subject: [PATCH] drm/vc4: Increase number of overlay planes from 16 to 48 The HVS can accept an arbitrary number of planes, provided that the overall pixel read load is within limits, and the display list can fit into the dlist memory. Now that DRM will support 64 planes per device, increase the number of overlay planes from 16 to 48 so that the dlist complexity can be increased (eg 4x4 video wall on each of 3 displays). Signed-off-by: Dave Stevenson --- drivers/gpu/drm/vc4/vc4_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_plane.c b/drivers/gpu/drm/vc4/vc4_plane.c index 19258c62e4b9..e934ce27cd84 100644 --- a/drivers/gpu/drm/vc4/vc4_plane.c +++ b/drivers/gpu/drm/vc4/vc4_plane.c @@ -2613,7 +2613,7 @@ struct drm_plane *vc4_plane_init(struct drm_device *dev, return plane; } -#define VC4_NUM_OVERLAY_PLANES 16 +#define VC4_NUM_OVERLAY_PLANES 48 int vc4_plane_create_additional_planes(struct drm_device *drm) {