Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4577774rwb; Wed, 17 Aug 2022 02:25:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR5KCdlNGxtpJFCHQCZa1numxkZbd+hvQrejRHccrfIWYeLGQFWxpWKcg5J6SyDRoNg+meEB X-Received: by 2002:a05:6402:2753:b0:43a:d6f2:9839 with SMTP id z19-20020a056402275300b0043ad6f29839mr21777602edd.73.1660728314308; Wed, 17 Aug 2022 02:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660728314; cv=none; d=google.com; s=arc-20160816; b=HVEbQjrVtmIJZDERzmoMd3n+aDwi3q4YnZ3HHuZySgtYj02dI7m0OWt3Ic+5+a8vMI NCJobSIJg9BrkdxaaNufOUqjXNAr8Zau3Xka9tDfF0vcgW9xBZa5286U7haWRwT9nuZd xxyf/LejgqsTgU/z9yzsx/AlyBu6kLvlu988w4Khbmew+mDqaqrPErQtvYKyg+peehf7 M7LE87AVQTV33o+xfBg5Lb+WEK3ErAgjdKLPxlHtFCKKkALPW7Ny9pe7yldajenQSuc2 ywZMiNnFycgrEbiO5sKmm/wg0Q5PFCLQcgjNELLtUCeK5WgfZLaMYTU4gAj/0iJjjcbv CEew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=oGUO+aRsBeoQZf7v2A5uqTblY/HRl0z6pHKiV+qcGIw=; b=us/9Iiu0V4q8I7KTXNofzeRb5jlKANpZSIKOWu4baKn7qvnf20pJuW0aHCl5NjVIOz PtADOVFIbaNeuhUFW0gKKiNWeRqDU/v/Q7Dq2YNdOdDKNZ99+IEhiTCvAonGFqLhFCL5 IlF/P/JT3J6IG0KjnuLViIByKQoejaeORPm6RB9OXgP4tgWRBXM1fc64U8j1HZrRCNfS IRDxxlTxC9XOkTj8H2Ky2LjgJPN88Qajedd5xdZQp8N5LqzG87xWoXVvMqoTECVv2yee J6emXWDeq571u1lfG9m8I1hBfPfhIFbTD7ePhjpZA/AXbvmjsJBq17jfxXVgFpxjzfb+ 2TwA== 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 l9-20020a056402254900b0043bb7218ddasi13428623edb.279.2022.08.17.02.24.48; Wed, 17 Aug 2022 02:25:14 -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 S233652AbiHQIfk (ORCPT + 99 others); Wed, 17 Aug 2022 04:35:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229980AbiHQIf0 (ORCPT ); Wed, 17 Aug 2022 04:35:26 -0400 Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED1746B8C4 for ; Wed, 17 Aug 2022 01:35:24 -0700 (PDT) Received: by mail-qk1-f179.google.com with SMTP id t11so9878848qkt.6 for ; Wed, 17 Aug 2022 01:35:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=oGUO+aRsBeoQZf7v2A5uqTblY/HRl0z6pHKiV+qcGIw=; b=g2NTkCq+uUd7EHpqMzcwq8Bca/f8Nj5w9BBQp5/JubnVdRgcsBsyniTZmi8GmjBz3F ejIb6AT/bEoWBPJkOUApmyG9I5HLVIlL8ze31tLXrwkydiL9YG6F7eDJT3lqTjcOfLQA CjZkxRyWzwiiGxWdHWj3bjdTBdPNMx9DPPqSvEQ72mDQMesHVN54m97iCDQPYHVD0RMQ OaMjNq3xsuQxhLL7muXW2pD7gXLv2HrLYuAGqyWsqsBiZrtm2NRTd5Ketz5I1+gDmaLt dK0Er/JKvD6oNKeo05vicZu5GBjMnEVMFCmjw8JucjajQIxZ6pEz1d1K7NVkBMvv9oBC T2wQ== X-Gm-Message-State: ACgBeo3zGUnpOTvBhBJOLOjIPjWaWr3zs78FCxzYmv6n5BC0I2mRUgRV nHR4WgWdfJWa4fd/jhxS+V87+R8BVr+JTQ== X-Received: by 2002:a05:620a:4692:b0:6bb:5a0c:9ca1 with SMTP id bq18-20020a05620a469200b006bb5a0c9ca1mr5927724qkb.318.1660725323654; Wed, 17 Aug 2022 01:35:23 -0700 (PDT) Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com. [209.85.128.170]) by smtp.gmail.com with ESMTPSA id o3-20020ac85a43000000b00342f8d4d0basm12627687qta.43.2022.08.17.01.35.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Aug 2022 01:35:21 -0700 (PDT) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-3321c2a8d4cso160476977b3.5 for ; Wed, 17 Aug 2022 01:35:20 -0700 (PDT) X-Received: by 2002:a05:6902:100a:b0:676:ed53:25b0 with SMTP id w10-20020a056902100a00b00676ed5325b0mr17391450ybt.365.1660725320216; Wed, 17 Aug 2022 01:35:20 -0700 (PDT) MIME-Version: 1.0 References: <20220728-rpi-analog-tv-properties-v1-0-3d53ae722097@cerno.tech> <20220728-rpi-analog-tv-properties-v1-5-3d53ae722097@cerno.tech> <20220816132040.uwirtjm5yr6rdd3q@houat> <20220816141116.5nuszmilqv2exdb3@houat> <20220816154956.pkdpxmmw27mia5ix@houat> <20220817074710.w4c4xwj7edly2b5p@houat> In-Reply-To: <20220817074710.w4c4xwj7edly2b5p@houat> From: Geert Uytterhoeven Date: Wed, 17 Aug 2022 10:35:07 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 05/35] drm/connector: Add TV standard property To: Maxime Ripard Cc: Jernej Skrabec , Martin Blumenstingl , Chen-Yu Tsai , Philipp Zabel , Jerome Brunet , Samuel Holland , Thomas Zimmermann , Daniel Vetter , Emma Anholt , David Airlie , Maarten Lankhorst , =?UTF-8?Q?Noralf_Tr=C3=B8nnes?= , Kevin Hilman , Neil Armstrong , linux-sunxi@lists.linux.dev, Linux Kernel Mailing List , Phil Elwell , Mateusz Kwiatkowski , Linux ARM , Dave Stevenson , "open list:ARM/Amlogic Meson..." , DRI Development , Dom Cobley Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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, On Wed, Aug 17, 2022 at 9:47 AM Maxime Ripard wrote: > On Wed, Aug 17, 2022 at 09:31:18AM +0200, Geert Uytterhoeven wrote: > > On Tue, Aug 16, 2022 at 5:50 PM Maxime Ripard wrote: > > > On Tue, Aug 16, 2022 at 04:43:44PM +0200, Geert Uytterhoeven wrote: > > > > > > > > Either you have to add them here (e.g. "hd720p50" and "hd720p60"), or > > > > > > > > handle them through "@". The latter would impact "[PATCH v1 > > > > > > > > 09/35] drm/modes: Move named modes parsing to a separate function", as > > > > > > > > currently a named mode and a refresh rate can't be specified both. > > > > > > > > > > > > > > I think the former would make more sense. It simplifies a bit the > > > > > > > parser, and we're going to use a named mode anyway. > > > > > > > > > > > > > > > As "[PATCH v1 34/35] drm/modes: Introduce the tv_mode property as a > > > > > > > > command-line option" uses a separate "tv_mode" option, and not the main > > > > > > > > mode name, I think you want to add them here. > > > > > > > > > > > > > > It's a separate story I think, we could have a named mode hd720p50, > > > > > > > which would be equivalent to 1280x720,tv_mode=hd720p > > > > > > > > > > > > So where's the field rate in "1280x720,tv_mode=hd720p"? > > > > > > > > > > Yeah, sorry I meant 1280x720@50,tv_mode=hd720p > > > > > > > > Above you said "I think the former would make more sense", so that > > > > should be "1280x720,tv_mode=hd720p50"? > > > > > > No, 720p at 50Hz would be either hd720p50 or 1280x720@50,tv_mode=hd720p > > > and 60Hz would be hd720p60 or 1280x720@60,tv_mode=hd720p > > > > I disagree: hd720p50 and hd720p60 are different TV modes. > > I agree, and I don't see how that command-line doesn't express that? Oh, I see what you mean: yes, it expresses that. But it is inconsistent with the NTSC/PAL/SECAM/hd{480,576}[ip] modes, where the TV mode specifies both number of lines and frame rate. 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