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 <dave.stevenson@raspberrypi.com>
This commit is contained in:
Dave Stevenson
2022-10-21 14:27:45 +01:00
committed by Dom Cobley
parent f7771b660c
commit 8bbb2d539c

View File

@@ -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)
{