From mboxrd@z Thu Jan 1 00:00:00 1970 From: thierry.reding@gmail.com (Thierry Reding) Date: Mon, 18 Apr 2016 09:05:29 +0200 Subject: [RESEND PATCH] drm/panel: simple-panel: set appropriate mode type In-Reply-To: <1460737413-29799-1-git-send-email-nicolas.ferre@atmel.com> References: <1430404770-29704-1-git-send-email-boris.brezillon@free-electrons.com> <1460737413-29799-1-git-send-email-nicolas.ferre@atmel.com> Message-ID: <20160418070529.GA15946@ulmo.ba.sec> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Apr 15, 2016 at 06:23:33PM +0200, Nicolas Ferre wrote: > From: Boris Brezillon > > All modes exposed by simple panels should be tagged as driver defined > modes. > Moreover, if a panel supports only one mode, this mode is obviously the > preferred one. > > Doing this also fix a problem occurring when a 'video=' parameter is passed > on the kernel cmdline. In some cases the user provided mode is preferred > over the simple panel ones, which might result in unpredictable behavior. > > Signed-off-by: Boris Brezillon > Reviewed-by: Nicolas Ferre > Tested-by: Nicolas Ferre > --- > drivers/gpu/drm/panel/panel-simple.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Applied, thanks. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [RESEND PATCH] drm/panel: simple-panel: set appropriate mode type Date: Mon, 18 Apr 2016 09:05:29 +0200 Message-ID: <20160418070529.GA15946@ulmo.ba.sec> References: <1430404770-29704-1-git-send-email-boris.brezillon@free-electrons.com> <1460737413-29799-1-git-send-email-nicolas.ferre@atmel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0704936167==" Return-path: Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) by gabe.freedesktop.org (Postfix) with ESMTPS id C47C06E33D for ; Mon, 18 Apr 2016 07:05:33 +0000 (UTC) Received: by mail-wm0-x22d.google.com with SMTP id n3so109484681wmn.0 for ; Mon, 18 Apr 2016 00:05:33 -0700 (PDT) In-Reply-To: <1460737413-29799-1-git-send-email-nicolas.ferre@atmel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Nicolas Ferre Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, alexandre.belloni@free-electrons.com, linux-arm-kernel@lists.infradead.org List-Id: dri-devel@lists.freedesktop.org --===============0704936167== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 15, 2016 at 06:23:33PM +0200, Nicolas Ferre wrote: > From: Boris Brezillon >=20 > All modes exposed by simple panels should be tagged as driver defined > modes. > Moreover, if a panel supports only one mode, this mode is obviously the > preferred one. >=20 > Doing this also fix a problem occurring when a 'video=3D' parameter is pa= ssed > on the kernel cmdline. In some cases the user provided mode is preferred > over the simple panel ones, which might result in unpredictable behavior. >=20 > Signed-off-by: Boris Brezillon > Reviewed-by: Nicolas Ferre > Tested-by: Nicolas Ferre > --- > drivers/gpu/drm/panel/panel-simple.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Applied, thanks. Thierry --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXFIczAAoJEN0jrNd/PrOhX4MP/3pjaTZvAy0GrnpLBCm85xH1 BngRnygb9mqrd78aDFlTwYLhAR3m4CQ/2lsCqz2PwD+JmMyqC++Q+PC/MwFXcMId 5pKxzAxV42rwe9/WzcO9dGzaAH8IZIhvHz8gyrOW4OScQERjK4uDAVWhlmBDJCIA 9WPNv7zOFOdLaopA0OVFeh8/Su6GGAIcxK9c/WcB45a4R9k2ZF20ArfDSUGjgDFv j5uy1NSdrmgK7Avz+6voKtQq2d8kZ2WleJ5azl+CbYFsByG4GjGEw0sPSGiHJL3d wLK6RSnro2NqC66wSCG1obIWTfafzC1q4ZKHHYftDJNFUHnIItZMK0sQBvIkGXW0 anQHFvY+SR4oCJGdrwcXZNkZy0YK/kSe4TIeDK/eIOFfedi5ebcQTvL//jHJSxgf Fw1VjnjYxGnIAq9y1+HPIjO9va4rQ8i7BQ1L5pKZrP07Rmm5cw+942Xop2MruHOQ puhXtVcbH0hhdM+mzPBikkCxl033UNVbOKRd8Fe63gcRV9EZMGKGifb82umAdP3l odPlwFSveStHWDjnk+iRBKTC7SLpTygny4vFR2WNQshQIPXy1wpRbxB8rF1c7c5T LAPAZ8GFpDEkkSCBmpV+Fj4gIERX2d1mQtVfduuj+dkKHMjlOlJAbxMymjpw8Lrv ewLAI7LXuRvE4K5f6ngn =RoOM -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- --===============0704936167== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0704936167==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752041AbcDRHFe (ORCPT ); Mon, 18 Apr 2016 03:05:34 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:35392 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751189AbcDRHFd (ORCPT ); Mon, 18 Apr 2016 03:05:33 -0400 Date: Mon, 18 Apr 2016 09:05:29 +0200 From: Thierry Reding To: Nicolas Ferre Cc: Boris BREZILLON , dri-devel@lists.freedesktop.org, airlied@linux.ie, alexandre.belloni@free-electrons.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RESEND PATCH] drm/panel: simple-panel: set appropriate mode type Message-ID: <20160418070529.GA15946@ulmo.ba.sec> References: <1430404770-29704-1-git-send-email-boris.brezillon@free-electrons.com> <1460737413-29799-1-git-send-email-nicolas.ferre@atmel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <1460737413-29799-1-git-send-email-nicolas.ferre@atmel.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 15, 2016 at 06:23:33PM +0200, Nicolas Ferre wrote: > From: Boris Brezillon >=20 > All modes exposed by simple panels should be tagged as driver defined > modes. > Moreover, if a panel supports only one mode, this mode is obviously the > preferred one. >=20 > Doing this also fix a problem occurring when a 'video=3D' parameter is pa= ssed > on the kernel cmdline. In some cases the user provided mode is preferred > over the simple panel ones, which might result in unpredictable behavior. >=20 > Signed-off-by: Boris Brezillon > Reviewed-by: Nicolas Ferre > Tested-by: Nicolas Ferre > --- > drivers/gpu/drm/panel/panel-simple.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Applied, thanks. Thierry --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXFIczAAoJEN0jrNd/PrOhX4MP/3pjaTZvAy0GrnpLBCm85xH1 BngRnygb9mqrd78aDFlTwYLhAR3m4CQ/2lsCqz2PwD+JmMyqC++Q+PC/MwFXcMId 5pKxzAxV42rwe9/WzcO9dGzaAH8IZIhvHz8gyrOW4OScQERjK4uDAVWhlmBDJCIA 9WPNv7zOFOdLaopA0OVFeh8/Su6GGAIcxK9c/WcB45a4R9k2ZF20ArfDSUGjgDFv j5uy1NSdrmgK7Avz+6voKtQq2d8kZ2WleJ5azl+CbYFsByG4GjGEw0sPSGiHJL3d wLK6RSnro2NqC66wSCG1obIWTfafzC1q4ZKHHYftDJNFUHnIItZMK0sQBvIkGXW0 anQHFvY+SR4oCJGdrwcXZNkZy0YK/kSe4TIeDK/eIOFfedi5ebcQTvL//jHJSxgf Fw1VjnjYxGnIAq9y1+HPIjO9va4rQ8i7BQ1L5pKZrP07Rmm5cw+942Xop2MruHOQ puhXtVcbH0hhdM+mzPBikkCxl033UNVbOKRd8Fe63gcRV9EZMGKGifb82umAdP3l odPlwFSveStHWDjnk+iRBKTC7SLpTygny4vFR2WNQshQIPXy1wpRbxB8rF1c7c5T LAPAZ8GFpDEkkSCBmpV+Fj4gIERX2d1mQtVfduuj+dkKHMjlOlJAbxMymjpw8Lrv ewLAI7LXuRvE4K5f6ngn =RoOM -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o--