Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp408629imw; Thu, 14 Jul 2022 03:52:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t6ogLAmJkLChU9r8M8YDplORpRD4m5zRHZxzVwX4q94IB0O8HQJWRr5qweL2gbwi5eNd5h X-Received: by 2002:a17:907:75c6:b0:72b:496c:77c7 with SMTP id jl6-20020a17090775c600b0072b496c77c7mr8089243ejc.47.1657795937556; Thu, 14 Jul 2022 03:52:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657795937; cv=none; d=google.com; s=arc-20160816; b=Tm3MFvR4CmDaEBLsFE5nvmQnf23rR919lZgv9PTMq43LH+kvI+i834cVinsYMNb8Dq SRUNSvby6XjQIY7V9YBo5i24jugVSt+10e+q/YIpcbNKjU/2mGd0i5FlFGs7PViOA67/ ynEJtbsSOwOv1W5iegZgKMnmS6HvgtURdBmmFIltTalN6xaO97ftiSNJ+yg52sys6YwR UjSXMhyA9qC/XceqdbiRt4Z5HvkVBT8NsQvq9lfyw85zhyW7vBKaYzEdRBWP++PNSYUx 6UgbTwhlWRw267NLhBm3zUhTdBfzYZ8cgXHYYFCmdPnb6SQFvvVAWCQBYxwG1vfsNWf9 DaYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=YmbI4Z3CNBabN/0fEv6Wy/AGE3YHMN+43MhlU3/m9kg=; b=LtUPz+qpTIfV/aL5AljOXsxmwxh37CnJMzqiyl41q9CRMne5hzye0ySXK8TEPrYPMC Ye3ulInaCS/NhTQa+8RK7rJLudUCuQYuEUKpAAHcXGVAqmwyQ2apcDUZ24xBflWTx5BC CfIUDGWwYB0GhbbmhBEGk8rWLK2HnXRQFVPVisJfTSz5dZTcZfCfP6JqGR6IEjg0rexa gVN5l4UMJneiIoR52XVmrM1uKPe3v9xz8WTsCCLPClz9cI5q3qja7Nbj4hEGWf9EeUjJ Npul5VjvYlGbTWZCo6UX9YumH7K2ugXC8iMP3cpjVldD4F7wnyJvMl+O6JjmpIkW7cTn vH2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb19-20020a1709071c9300b0072af6ec8081si1902111ejc.651.2022.07.14.03.51.51; Thu, 14 Jul 2022 03:52:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236586AbiGNKjN (ORCPT + 99 others); Thu, 14 Jul 2022 06:39:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238389AbiGNKjI (ORCPT ); Thu, 14 Jul 2022 06:39:08 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 894CD545F1 for ; Thu, 14 Jul 2022 03:39:03 -0700 (PDT) Received: from ramsan.of.borg ([84.195.186.194]) by laurent.telenet-ops.be with bizsmtp id uyf1270184C55Sk01yf1Eh; Thu, 14 Jul 2022 12:39:03 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oBvwx-003The-6V; Thu, 14 Jul 2022 12:20:03 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oBulZ-00Bf1B-G5; Thu, 14 Jul 2022 11:04:13 +0200 From: Geert Uytterhoeven To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Hans de Goede Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 0/5] drm/modes: Command line mode selection fixes and improvements Date: Thu, 14 Jul 2022 11:04:05 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This patch series contains fixes and improvements for specifying video modes on the kernel command line. Changes compared to v1[1]: - Add Reviewed-by, Acked-by, - Keep length check. This has been tested on ARAnyM using a work-in-progress Atari DRM driver (more info and related patches can be found in [2]). Thanks for your comments! [1] "[PATCH 0/5] drm/modes: Command line mode selection fixes and improvements" https://lore.kernel.org/r/cover.1657301107.git.geert@linux-m68k.org [2] "[PATCH v3 00/10] drm: Add support for low-color frame buffer formats" https://lore.kernel.org/r/cover.1657294931.git.geert@linux-m68k.org Geert Uytterhoeven (5): drm/modes: parse_cmdline: Handle empty mode name part drm/modes: Extract drm_mode_parse_cmdline_named_mode() drm/modes: parse_cmdline: Make mode->*specified handling more uniform drm/modes: Add support for driver-specific named modes drm/modes: parse_cmdline: Add support for named modes containing dashes drivers/gpu/drm/drm_modes.c | 56 ++++++++++++++++++++++++++----------- include/drm/drm_connector.h | 10 +++++++ 2 files changed, 49 insertions(+), 17 deletions(-) -- 2.25.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds