On 26/03/18 19:21, Benoit Parrot wrote: > Add an exception case when filtering out display mode so that if > a virtual wide plane is available then display wider than 2048 can be > supported as long as the required timing parameters can also be met. > > Signed-off-by: Benoit Parrot <bparrot@xxxxxx> > --- > drivers/gpu/drm/omapdrm/omap_connector.c | 3 ++- > drivers/gpu/drm/omapdrm/omap_plane.c | 12 ++++++++++++ > drivers/gpu/drm/omapdrm/omap_plane.h | 1 + > 3 files changed, 15 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/omapdrm/omap_connector.c b/drivers/gpu/drm/omapdrm/omap_connector.c > index d5e059abb555..517f7fa80ce1 100644 > --- a/drivers/gpu/drm/omapdrm/omap_connector.c > +++ b/drivers/gpu/drm/omapdrm/omap_connector.c > @@ -203,7 +203,8 @@ static int omap_connector_mode_valid(struct drm_connector *connector, > u16 width, height; > > priv->dispc_ops->ovl_get_max_size(&width, &height); > - if (mode->hdisplay > width) > + if (mode->hdisplay > width && > + !omap_have_any_virtual_plane(dev)) This doesn't sound correct. It's not whether we have any virtual planes, but whether we have virtual planes for this display. Tomi -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html