Skip to content

Commit

Permalink
drm/vc4: Increase number of overlay planes from 16 to 48
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
6by9 committed Oct 21, 2022
1 parent cc4ff0e commit fb76892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/vc4/vc4_plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,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)
{
Expand Down

0 comments on commit fb76892

Please sign in to comment.