Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1315896rwe; Thu, 1 Sep 2022 16:45:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR4dHX2/PN5F6fxz7+keQ0lV63FxjGJjqgVw7EUkHH7h+9N/VOUF2jP02IW4zGil5s7H7n66 X-Received: by 2002:a17:902:9894:b0:172:ca00:f305 with SMTP id s20-20020a170902989400b00172ca00f305mr33291002plp.107.1662075909639; Thu, 01 Sep 2022 16:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662075909; cv=none; d=google.com; s=arc-20160816; b=hEQcknOEMZxLumllLOc/GFIV6Q5wuztPFc9fdPNCZ6mRRL4HNRdr0XEMapeelA9/gx HsDP+sG7fliVd8H1PzTvkk3HEjcqySXzrrTGfJyLUPz4gBhrus2iidVr00yR/nQtx6iH pktC4fLKSCp0r0iUhgAPEHpgGiauYt/oaFkHjFXOftROUKcFP+wUAmEEqFqPBFQWIUUs tr3sebHuwxqGbBMOo9oQ9P+cst0Ht/2ngM6KDceLAo5yQ/f1luNKCzChWZ6yQPl75LeM TCnCJs+c8CXQQ9DYXf3UoPE9csSJIj++njhjo4a4MbZb9oCGEymShSZzhGSnk8/kexU3 hS/A== 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:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:dkim-signature; bh=Dhwd+COjDW5ThjQ0eGNlcg2FwWXLsRihwwituLHXIZw=; b=UgokB4xCoKthOUOGsbka+tc4jFJkWy7+Bb/Wj7F09scYD+sk8n8VN8HmVvwdsHfmIv qC1N39xOOQ9wxYcvfE4Svepr/chOb0K1aJZ7/zIOJON2xBTKrfsJuqtzb9Gms7I8W6H+ YGMbCFWyE0EIJjyMO4N9B0noxY/7Hv1N3831IrmBaHiqfrpDDLIY88wM6HqwJjQIJJt9 wLJJ20CFqhRLh+zSDGTaGra8fGl5Sa4BNnq3hrqsrNhWACMLq354iQTBkt4MMn1flhVq +gx0wuk5OaPV3cy42S8nzWU3BpJn4aBvixZ9l0CkrZ13rf49W5rIm+zbAbXB1pY6Ck4J n76Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Qg20bj9H; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t21-20020a635355000000b0041c35254230si255238pgl.452.2022.09.01.16.44.58; Thu, 01 Sep 2022 16:45:09 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Qg20bj9H; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233769AbiIAWwO (ORCPT + 99 others); Thu, 1 Sep 2022 18:52:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232517AbiIAWwM (ORCPT ); Thu, 1 Sep 2022 18:52:12 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1043974E3A for ; Thu, 1 Sep 2022 15:52:11 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id w19so569799ljj.7 for ; Thu, 01 Sep 2022 15:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:from:to:cc; bh=Dhwd+COjDW5ThjQ0eGNlcg2FwWXLsRihwwituLHXIZw=; b=Qg20bj9HVOA0O2Dv7pbgLFpIerRd3OpfYftDq4iLQONPRjHm8OE5FicN0K1WL1v+S3 bISpN5k4Xg9gTk37HMqAreo6nvuLyU3JTBpgQLIjzDvBJIqAXMP5MfRK4NHoGkdf8jpo 3glN34VMEDD6Gh+Zf1murR+o5lg06tWVopJIiQgpwbgHGnSUZUKhfMxhxUfv/PKpvsCf qwtgF3sgpUqP0AbUb+d/a1esSHZ+I5KHKcW+5WE2OKOtNa+X+J/AAtNMS15RdoIDBSEy T+m/BQNhtbsQ6WmcJD2FSngsG3cTf0OyGVh/5RtK7l/wyzsThnJPsLTNCVmQ7lejIS6h shRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc; bh=Dhwd+COjDW5ThjQ0eGNlcg2FwWXLsRihwwituLHXIZw=; b=w5w4QVVs/zdKyCQ/RBC65GUAp+OUTs19KklK6+KsvP3Tlmo3XwzuJgNWwvkPaIX177 1j4R8R+3R3ATbqlIJJx18Hv82pD9QByXO2ZU+nKHkWjHw/rFF2daCIpHBFuNic8P1nLI K3xxoKOk3ndBvWwMAWeF0dD3rf4LN9r024bytfF16ihLkmMCR32wWhTrvFUZ4TnKM49T WP+q+UWQ7pf2WLIZ0l4KGsO+rzZN31GGk5K/kKxfw7bmPrNagIql3+BlE4GhbgdhPyhj 520HJ94v0OSAs2+wXrPtEF6kaPmeJkWdh9sNvKYhLGNYS9pTlQdtbMfc6QxO1jDkW9zE bvXA== X-Gm-Message-State: ACgBeo1KTvntsvBSHAbf3glBDdyFT16T0/P/Rny83VlleAZvjEMNfdku Nrc3qzdH4hQB3ctxqkRmTRw= X-Received: by 2002:a2e:bd0e:0:b0:268:c03b:cf56 with SMTP id n14-20020a2ebd0e000000b00268c03bcf56mr1277850ljq.393.1662072729392; Thu, 01 Sep 2022 15:52:09 -0700 (PDT) Received: from ?IPV6:2a02:a31a:a240:1700:9c45:8fa1:8ce7:8852? ([2a02:a31a:a240:1700:9c45:8fa1:8ce7:8852]) by smtp.googlemail.com with ESMTPSA id w9-20020a2e1609000000b0025e15fe421bsm29224ljd.17.2022.09.01.15.52.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 15:52:08 -0700 (PDT) From: Mateusz Kwiatkowski X-Google-Original-From: Mateusz Kwiatkowski Message-ID: <768daa58-d1cd-7e9d-4f6e-722f2b0afab9@gmail.com> Date: Fri, 2 Sep 2022 00:52:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH v2 20/41] drm/modes: Properly generate a drm_display_mode from a named mode Content-Language: pl To: Maxime Ripard , Maxime Ripard , Ben Skeggs , David Airlie , Chen-Yu Tsai , Thomas Zimmermann , Jani Nikula , Lyude Paul , Philipp Zabel , Maarten Lankhorst , Rodrigo Vivi , Tvrtko Ursulin , Jernej Skrabec , Samuel Holland , Karol Herbst , =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= , Emma Anholt , Daniel Vetter , Joonas Lahtinen Cc: Hans de Goede , linux-arm-kernel@lists.infradead.org, Phil Elwell , intel-gfx@lists.freedesktop.org, Dave Stevenson , dri-devel@lists.freedesktop.org, Dom Cobley , linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org, linux-sunxi@lists.linux.dev, Geert Uytterhoeven References: <20220728-rpi-analog-tv-properties-v2-0-459522d653a7@cerno.tech> <20220728-rpi-analog-tv-properties-v2-20-459522d653a7@cerno.tech> In-Reply-To: <20220728-rpi-analog-tv-properties-v2-20-459522d653a7@cerno.tech> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 Maxime, > +        if (!named_mode->tv_mode) > +            continue; As mentioned in the previous email replying to 19/41, this makes it impossible to specify DRM_MODE_TV_MODE_NTSC_443 as currently defined in the named mode successfully. Best regards, Mateusz Kwiatkowski