Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3628820rwb; Sat, 12 Nov 2022 09:15:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf7/fwgTnFb0c6ZffPjkOr3GBdFfjPHwMcapXvYsFpQO3DO7XFL2uRQLIHvezd6RlKQTtsp+ X-Received: by 2002:a63:e617:0:b0:46f:f4e3:c4b1 with SMTP id g23-20020a63e617000000b0046ff4e3c4b1mr5753972pgh.588.1668273348234; Sat, 12 Nov 2022 09:15:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668273348; cv=none; d=google.com; s=arc-20160816; b=ECwJQQ/WVSeVz3SLFNm/pcIhrSvTL1P2ZfgP5Tv9nx+RKPD7WtAplWzOWoB9ZreZnh fDwbDvAHc5xT4dIxacJM4n+qBoU+5s3+vgaghn3uHYJOtowqvxxHeBKp5YoDpT4VZwPp 7Fjrvu19+a0ZPEV13UiXxSn9e2BeSH0WwkEYAhWfY3B6Fy2ds7/tul2CN0I/ZdoQp7zj FVob5WAZoWPVjnC5TDhJqegKwcYScgLd7jvo/84BFs34t//1cUTxKmdMe0EklS3+33IF nEqRnnzAYDolA7wS1ZqUoENSoPUUDq2qCIdbix6TlqhPhjF/GHFYNtNzh2lGO5+B0NE5 qJaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=Avqxp6PESbm7/9d+CbEdeKwdqsIP7PScVSNxxZXeyI8=; b=UHuH/U0MzHy2B6nR46tllPCDJigpYMzjlFwRQMxmpnbcAJ2YdF7J93EqzZHUUxBCfe o+RTsGv7RaYZBkUIgDphjOQ3vWKTf4HtkZOgDQ8sQ5ffW3mlaWeM6sjhiJwNP9HdlbNR nbkXHs/un4FhOn59SMQvGkH1TpwCY9ryvJcC6P/WduBDdfJsdGNgpC/IAFfsQGRcqGAW SXex/lswlenL6p0NkQFSl2fnPPtEXpRMjmQ+nE7PZQSqUZTH5x+7M0G8lOgArs3j00c5 LUda/8qks5AgAo7aEhC6TZmREi+66ghsWu6zjyQ1gjfkBgjwdO+LKRmJhAgidVgGxqc0 Py/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@tronnes.org header.s=ds202112 header.b=ejpfyea6; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=tronnes.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o2-20020a17090a0a0200b0020354bcfe09si5026219pjo.129.2022.11.12.09.15.34; Sat, 12 Nov 2022 09:15:48 -0800 (PST) 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; dkim=fail header.i=@tronnes.org header.s=ds202112 header.b=ejpfyea6; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=tronnes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234976AbiKLQct (ORCPT + 91 others); Sat, 12 Nov 2022 11:32:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232663AbiKLQcr (ORCPT ); Sat, 12 Nov 2022 11:32:47 -0500 Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAC96DF16 for ; Sat, 12 Nov 2022 08:32:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org ; s=ds202112; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Avqxp6PESbm7/9d+CbEdeKwdqsIP7PScVSNxxZXeyI8=; b=ejpfyea66MiWH0xNMTRE8TBgMM 4y1L12qyTvpa01pB//rkkCsDMkMffeRtMRnkMlV7wuLGz3MTsJ4xFXqs8v9rsVfnfNex77NDOGwCZ cSKR+CperAK+c8ULcFKQ1HC8Lh3BDP3AjuJKaLuhX1jalJ0ooBKQwjo/IBr9fJl7MfpIyuM9sfqSY Go18S9vYHcXpJKqXPp1CimA/vJJcrqI7iSg4KKbGn3MoZDqBDum0iKOwJDgiJaBXVpx8xcfIykp96 8u5GKFBVWsl/np+ijVUVrti5RmhQAPucKTAGFSh4NykuEEsx+1Vxa8rR9xOq7JRQtQQq/flPGT27U qKZODIyQ==; Received: from [2a01:799:95a:cb00:9d29:d4c4:45a0:777e] (port=49778) by smtp.domeneshop.no with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ottQx-00082P-Pb; Sat, 12 Nov 2022 17:32:43 +0100 Message-ID: <44b545fd-3aa8-7835-7644-f82bcccb7643@tronnes.org> Date: Sat, 12 Nov 2022 17:32:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v8 16/24] drm/modes: Introduce more named modes To: Maxime Ripard , Maarten Lankhorst , Chen-Yu Tsai , Maxime Ripard , Jernej Skrabec , Karol Herbst , Jani Nikula , Daniel Vetter , Lyude Paul , Samuel Holland , Joonas Lahtinen , Thomas Zimmermann , Emma Anholt , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Ben Skeggs Cc: nouveau@lists.freedesktop.org, Dom Cobley , intel-gfx@lists.freedesktop.org, Phil Elwell , linux-sunxi@lists.linux.dev, Mateusz Kwiatkowski , Hans de Goede , linux-kernel@vger.kernel.org, Dave Stevenson , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven , =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= References: <20220728-rpi-analog-tv-properties-v8-0-09ce1466967c@cerno.tech> <20220728-rpi-analog-tv-properties-v8-16-09ce1466967c@cerno.tech> From: =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= In-Reply-To: <20220728-rpi-analog-tv-properties-v8-16-09ce1466967c@cerno.tech> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS 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 Den 10.11.2022 12.07, skrev Maxime Ripard: > Now that we can easily extend the named modes list, let's add a few more > analog TV modes that were used in the wild, and some unit tests to make > sure it works as intended. > > Tested-by: Mateusz Kwiatkowski > Signed-off-by: Maxime Ripard > > --- > Changes in v6: > - Renamed the tests to follow DRM test naming convention > > Changes in v5: > - Switched to KUNIT_ASSERT_NOT_NULL > --- > drivers/gpu/drm/drm_modes.c | 2 + > drivers/gpu/drm/tests/drm_client_modeset_test.c | 54 +++++++++++++++++++++++++ > 2 files changed, 56 insertions(+) > This needs an entry in modedb.rst so people know named modes exist, with that: Reviewed-by: Noralf Trønnes