Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4519077rwb; Wed, 17 Aug 2022 01:03:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR6VU1aGWX7ZehlRGndxhfaYjfoIyuWHWgyz0hTrM6lnE6/6GYuBRj+yfdGlABFevTHoqH0i X-Received: by 2002:a17:906:8a45:b0:730:9715:369d with SMTP id gx5-20020a1709068a4500b007309715369dmr15849719ejc.105.1660723439242; Wed, 17 Aug 2022 01:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660723439; cv=none; d=google.com; s=arc-20160816; b=VOCDUadAGI8LbYIwsjr6J5yf40keNoWY78eCk29nAsKBP56QqY2PSsqXCMtMIc1Rfu Hsbont7zufdonffaZfhyaWxa/PCyak91fBiYxde0ffQ1UT7GYIZQGRsY1R1WSlctZNNN C7NsHcogwBYfDbX9272r8h9OQWF5k2ln5M2KyPLk1svS/bc/62u+hrFcrR4SA9TuTyn8 9I5kwuv3zqtXxjMxMYbotYMYle9lEk9ghhBA2t6f0xrf2BF0xPU84NO4+y3k6CphvbpL L/1gZRGSJ97ADcEO1z3MEgQzhV2yoO9rDsOokTcA4YTHTpge3xQd8uxZLgcreB5K7ux1 mP1Q== 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=MoCGxpdBSZqOnL0zHKYLDEdga6g996l84p2nV9SRtCY=; b=YMjk0chFJp0L/ne96W15J/xyhHBeXcbsWccdDOKKVQDVSWU0h3u8Vztpl06K5Vug7/ i2kUpFEunqdJK7Pmw3l1DszmTKUGZ2IarM658vW9n+jwdaCEyjt4sV/hZ6MNdt6BTdOG 4me8Nl6dhoaqr5R9RFoabjBBKRC1w1+T85/tMetzfkXSLrYsLBXFcjuhRBNEX4ELdE1B dC4ehF47RNvkRwG1yAqOpg+uxS6xfLkG1Jg7nVXxfEbiFV0vJDS6O0snmONyBxpFjIN6 0HOgn60XYtd2vP/4P1Ooo/tvsY1yO06lAfJMbHnRtQoUHA4Kn3yIlSMwQlEhDWqRwcHs 2o6Q== 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 g9-20020a170906538900b00727c6ac5e27si9959630ejo.388.2022.08.17.01.03.32; Wed, 17 Aug 2022 01:03:59 -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 S231190AbiHQHbf (ORCPT + 99 others); Wed, 17 Aug 2022 03:31:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbiHQHbe (ORCPT ); Wed, 17 Aug 2022 03:31:34 -0400 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E0BF6CF70 for ; Wed, 17 Aug 2022 00:31:33 -0700 (PDT) Received: by mail-qk1-f174.google.com with SMTP id n21so9823379qkk.3 for ; Wed, 17 Aug 2022 00:31:33 -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=MoCGxpdBSZqOnL0zHKYLDEdga6g996l84p2nV9SRtCY=; b=4OefYXc0pGXjpNAIsgTmrO+8UR6AN9QnwnRrZepETrT9jI9ofXD2wzAqJe6l+ssJSL eqXw7Eh+Fa9R1rPvNZFkuArDBvNbLsmR2D1dD4+G1pP7ap8fFIYLtcwI5mU0jH9XMLrO jBW6VDZCBTcrJ8M+Ow3JcLmSSUxFcCdnXRO9NmmsmiFyDMODDoP4SE0vkJhpLLIRG7ky phmlKgU/FOI4GQJHGgJ98zL+xOKkN38jDXM+TcwMSp/p+zDc6DqZfj3TFJ2eYzb8bRNS J7BK6vURSfjXwdJ43rMvOGLIlKsZlu1bN/tTXg87qfUbKuaGkH9cYbqayt6IjkI2gTYC fGcg== X-Gm-Message-State: ACgBeo25/QWHwAlzP0ccN3RbXYeW7oMJyuyiNm2CnCznEASOOh7C1e6i ZPFOW2v3a0H8+oP6ih5Wa4AXMvCrPrNcdg== X-Received: by 2002:a05:620a:170b:b0:6bb:83e2:e678 with SMTP id az11-20020a05620a170b00b006bb83e2e678mr2805860qkb.555.1660721492208; Wed, 17 Aug 2022 00:31:32 -0700 (PDT) Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com. [209.85.128.175]) by smtp.gmail.com with ESMTPSA id ay36-20020a05620a17a400b006baf3ffba23sm10176626qkb.38.2022.08.17.00.31.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Aug 2022 00:31:31 -0700 (PDT) Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-31f445bd486so210210227b3.13 for ; Wed, 17 Aug 2022 00:31:30 -0700 (PDT) X-Received: by 2002:a25:f06:0:b0:670:1685:d31d with SMTP id 6-20020a250f06000000b006701685d31dmr17606473ybp.380.1660721490548; Wed, 17 Aug 2022 00:31:30 -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> In-Reply-To: <20220816154956.pkdpxmmw27mia5ix@houat> From: Geert Uytterhoeven Date: Wed, 17 Aug 2022 09:31:18 +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 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. Treating them the same would be similar to treating unmodulated (e.g. component) PAL-N (25 frames/s) and PAL-M (30 frames/s) the same. 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