Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e90711d authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

drm/omap: decrease min width & height



mode_config's min_width and min_height are both set to 32, which is
overly restrictive.

The real limits depend on whether we're configuring a crtc or a plane,
but a limit of 8x2 is safe for both cases.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent 0e81798e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -488,8 +488,8 @@ static int omap_modeset_init(struct drm_device *dev)
		priv->num_planes, priv->num_crtcs, priv->num_encoders,
		priv->num_connectors);

	dev->mode_config.min_width = 32;
	dev->mode_config.min_height = 32;
	dev->mode_config.min_width = 8;
	dev->mode_config.min_height = 2;

	/* note: eventually will need some cpu_is_omapXYZ() type stuff here
	 * to fill in these limits properly on different OMAP generations..