Skip to content

Commit faebe46

Browse files
6by9pelwell
authored andcommitted
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 <[email protected]>
1 parent e9f9df1 commit faebe46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/gpu/drm/drm_connector.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ static int __drm_connector_init(struct drm_device *dev,
363363
drm_object_attach_property(&connector->base,
364364
config->non_desktop_property,
365365
(connector_type != DRM_MODE_CONNECTOR_VIRTUAL &&
366-
connector_type != DRM_MODE_CONNECTOR_WRITEBACK) ? 0 : 1;
366+
connector_type != DRM_MODE_CONNECTOR_WRITEBACK) ? 0 : 1);
367367
drm_object_attach_property(&connector->base,
368368
config->tile_property,
369369
0);

drivers/gpu/drm/vc4/vc4_plane.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2660,7 +2660,7 @@ struct drm_plane *vc4_plane_init(struct drm_device *dev,
26602660
return plane;
26612661
}
26622662

2663-
#define VC4_NUM_OVERLAY_PLANES 16
2663+
#define VC4_NUM_OVERLAY_PLANES 48
26642664

26652665
int vc4_plane_create_additional_planes(struct drm_device *drm)
26662666
{

0 commit comments

Comments
 (0)