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 Aug 20, 2024
1 parent db0bc27 commit acf67a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ static int __drm_connector_init(struct drm_device *dev,
drm_object_attach_property(&connector->base,
config->non_desktop_property,
(connector_type != DRM_MODE_CONNECTOR_VIRTUAL &&
connector_type != DRM_MODE_CONNECTOR_WRITEBACK) ? 0 : 1;
connector_type != DRM_MODE_CONNECTOR_WRITEBACK) ? 0 : 1);
drm_object_attach_property(&connector->base,
config->tile_property,
0);
Expand Down
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 @@ -2450,7 +2450,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 acf67a5

Please sign in to comment.