Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9014291ybi; Wed, 10 Jul 2019 03:16:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzB4Ac0XHPqcaY5+mh8Uq1EsVWQ6TcioOLvOfGwNkxBfc3N1a05Us5UZ0JHAwll+LgkNI0h X-Received: by 2002:a65:62c4:: with SMTP id m4mr35481210pgv.243.1562753761463; Wed, 10 Jul 2019 03:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562753761; cv=none; d=google.com; s=arc-20160816; b=v3s9DJ5RaxNfcq29JYXw8mbd+Y/4+onKFekmW/ZKThkWwJN0mAjNBd6nyTHK4/n94m sX3LCkYef0X5jeZb2lfyGR/krxozZa1lFAiFqxeAk5JFKx/AUYxJ8T6/BqClaOQrt/g/ Ue53DcvKejqYtN3GnAVNI+c1+veLcQpG3pl+EZiYbdPNfKyPdDySpdS+Dk+gozz/DPSg RYL6Mrnr3ciUxeJsIFEDGrYFbHRtj2q4qfFkU2A9rRV6cnMsrehQW7QAnX2MvTPvV7MW R20JTqSlnXz/fObAiSA7XmtuXirzqfiuVrE44zHaMOH5GqJHTXA3GeyHoy29FmaOzLcu 0I/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=yD1Y6M65GROyz+dE+hvjzhzNWN9voQrVmQQApTILSC4=; b=F8xcsAwJa2HxAak1zitrrWAidDQXTS+K2VZHrV5kDe5Z/L0RxiO0qMVffmziu7y+ID JmExPdaI9kIhFCL64C29GiEQDWLk/p6oNRIqL2dB4hTo72YGptz7SmRP1g9gVNs6jY// uvoHG7WhHoixmy8ebf9Z5EpeLidgHD5ikhhVky8uAbKDelFEluIBgTp+w8p1/uxmpY69 QTDwh880QrqOcws/aM5V8YJxn/zpMefr+IZWuEolnBvvAM06aWBUS3qJd7Zh6DGl2HdZ pANpTLpkO6DdKW2bEB2lbr0AbQkVSV1eDZqICaZJf1Ct8DSNpESa7p6fqaoguwjTq7Xj Jygw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v45si1854034pgn.10.2019.07.10.03.15.45; Wed, 10 Jul 2019 03:16:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727118AbfGJKMd (ORCPT + 99 others); Wed, 10 Jul 2019 06:12:33 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:51473 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726580AbfGJKMd (ORCPT ); Wed, 10 Jul 2019 06:12:33 -0400 X-Originating-IP: 86.250.200.211 Received: from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: maxime.ripard@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 76E2860006; Wed, 10 Jul 2019 10:12:29 +0000 (UTC) Date: Wed, 10 Jul 2019 12:12:29 +0200 From: Maxime Ripard To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Maarten Lankhorst , Sean Paul , Daniel Vetter , David Airlie , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] drm/modes: Skip invalid cmdline mode Message-ID: <20190710101229.54ufuhmh22dfxclr@flea> References: <20190709145151.23086-1-digetx@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ahmo6bieusk7uhsj" Content-Disposition: inline In-Reply-To: <20190709145151.23086-1-digetx@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ahmo6bieusk7uhsj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 09, 2019 at 05:51:51PM +0300, Dmitry Osipenko wrote: > The named mode could be invalid and then cmdline parser misses to validate > mode's dimensions, happily adding 0x0 mode as a valid mode. One case where > this happens is NVIDIA Tegra devices that are using downstream bootloader > which adds "video=tegrafb" to the kernel's cmdline and thus upstream Tegra > DRM driver fails to probe because of the invalid mode. > > Fixes: 3aeeb13d8996 ("drm/modes: Support modes names on the command line") > Signed-off-by: Dmitry Osipenko Applied to drm-misc-next-fixes Thanks for figuring this out! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ahmo6bieusk7uhsj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXSW6DQAKCRDj7w1vZxhR xUYsAP9EUafm0rr0sX06bl/cIzBTLvcr/5GalKzSZToTJ2kjlwD/aGukUMgjynHS 9tpGZZ5GnYj8IbRYJWM5g6SBjjc6MA4= =8k/L -----END PGP SIGNATURE----- --ahmo6bieusk7uhsj--