Re: [RESEND PATCH] drm/panel: simple-panel: set appropriate mode type

From: Thierry Reding
Date: Mon Apr 18 2016 - 03:05:37 EST


On Fri, Apr 15, 2016 at 06:23:33PM +0200, Nicolas Ferre wrote:
> From: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>
>
> 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 <boris.brezillon@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
> Tested-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 8 ++++++++
> 1 file changed, 8 insertions(+)

Applied, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature