Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1088696iof; Mon, 6 Jun 2022 20:27:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuam+IwdkOftGaHs0ly4Ko4yKjb+pzUAkDxUlvkHzwz+hmQRRPEMCKg0m3IshqoVg0CkN2 X-Received: by 2002:a17:907:7e8f:b0:6ff:32d0:43cc with SMTP id qb15-20020a1709077e8f00b006ff32d043ccmr24052129ejc.270.1654572433469; Mon, 06 Jun 2022 20:27:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654572433; cv=none; d=google.com; s=arc-20160816; b=Mgb0muvhJ+tSDGqeZM9Sl7+P3qcCI5jCOoPGz1qZL+gScCYR448chucySgwtSpYLSr zicpfPGHFw6l9/OP3Y7QBW7TP8h9uanV5eBG97iSYBEi/0hZ+9g6WNDtQcmrMXtvxCU3 eaddxg9UzO2YAqno5DqgK6kUo47kdrWHBpMBFXzHahrh5/N7Swo6MfHVqooNWidsb1/U K7Fk8nITC+CIgWu8qdl03zEDLQ6TR5MsqkfI+COOoxJmxrd2/rVKfRqP2OnbvScWRuXZ RQPKTbZN/9Z6nc45i3uNMKPMDgM/Uo2OuSBEwqy4SaDHPTB1MTbqtCNbFgb5KlphP1HW BvyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=Ka1TstOWIq/uwWbI0ltivqnySUBaQmYAJjhs5L+uFtQ=; b=wxmAA3MMFmO1SYmizwzw5dE6knSN3b7e+9f5azbzrmgivS8bVjMiwsBjyDpWrXAkBt UwnprW3xvxkaVCl7Y2OJRkz524CZud9MxEiUUS3R1oZdwMp3nflvcRVCpZ6LdkygXfUm NJX80j2+FplBuvjqYhyM2hSewByCGiQu9WNkyZV7ygukKWm5SLJpmQDBx7mC+MCqNCoB Ztbv9MDUoP2WPswdMDwMmtebTJUGGKDQlqa8S3zLTOlFfNdXugppvpm+7XPIz8FXZUnb hGtqi3Nq3G55jlD54iQWHitRcfWI4QYrzFLlhUIQ9TqAfKMEclMO0v7o/gk81yK9ril4 bPXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa1 header.b=LNfDtB4w; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed1 header.b=03czCzu+; 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 b2-20020aa7d482000000b0042ac84c9a4esi7975261edr.445.2022.06.06.20.26.43; Mon, 06 Jun 2022 20:27:13 -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=@ravnborg.org header.s=rsa1 header.b=LNfDtB4w; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed1 header.b=03czCzu+; 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 S234759AbiFFVCV (ORCPT + 99 others); Mon, 6 Jun 2022 17:02:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234789AbiFFVBx (ORCPT ); Mon, 6 Jun 2022 17:01:53 -0400 Received: from mailrelay3-1.pub.mailoutpod1-cph3.one.com (mailrelay3-1.pub.mailoutpod1-cph3.one.com [46.30.210.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF3C914CA38 for ; Mon, 6 Jun 2022 13:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=Ka1TstOWIq/uwWbI0ltivqnySUBaQmYAJjhs5L+uFtQ=; b=LNfDtB4wj+D5BF2YFa+dsimjUyIRcnBqRJuc1gWVJJ2WQRGzCCK2/Fp7XmPd2x8CwqX3VFpy7xGJe /twRS6RP+Jl9wjBLOaLoykj2E48IOEbfGQSxCBTJDrEqg3uIods5z0+kmNkajaDRdqnOrnqSDY4qCx Z7wC90armxFFwKN1QPDnWZwnNU9QUjjxp6CcnFFNY6qKV5fkoqXbbcmEd2CFqPBPXOBt5WDEnY84on dEXQ9z8KV9CJfh/NIDcEZEDP+QyNzhjajPIn+xnm1zeFt7P5A0zYvsCMIq49UUrrPdQ6QUbM0ZlPUv tB3uf3WfVLZng5ZEHrh46QhC9oo7lww== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=Ka1TstOWIq/uwWbI0ltivqnySUBaQmYAJjhs5L+uFtQ=; b=03czCzu+A+UQWWKkvZaMDlWN9f8keJg9Lub74nSGWSf9HSwJrZ5ek2baj1eWVW6pVVOJ0jqCx4tEJ OkQd9zXAw== X-HalOne-Cookie: 21ab51b31a6fe080a3deed71589524505420b830 X-HalOne-ID: 5e400a0c-e5da-11ec-be77-d0431ea8bb03 Received: from mailproxy1.cst.dirpod3-cph3.one.com (80-162-45-141-cable.dk.customer.tdc.net [80.162.45.141]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 5e400a0c-e5da-11ec-be77-d0431ea8bb03; Mon, 06 Jun 2022 20:50:59 +0000 (UTC) Date: Mon, 6 Jun 2022 22:50:57 +0200 From: Sam Ravnborg To: Hans de Goede Cc: Hsin-Yi Wang , Rob Clark , Chun-Kuang Hu , Thomas Zimmermann , David Airlie , linux-kernel@vger.kernel.org, Douglas Anderson , Stephen Boyd , Rob Herring , Thierry Reding , linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 1/8] drm/panel: Add an API drm_panel_get_orientation() to return panel orientation Message-ID: References: <20220606152431.1889185-1-hsinyi@chromium.org> <20220606152431.1889185-2-hsinyi@chromium.org> <1c6e4d09-cf7a-2812-fd0d-09a21a275201@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1c6e4d09-cf7a-2812-fd0d-09a21a275201@redhat.com> X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLACK 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 Hans, > > Please move this up so it is together with the other get_* methods, in > > alphabetic order. That is, right after get_modes(), and then this also > > matches the order in the .c file with is extra bonus. > > The downside of moving this up is that it will break drivers which don't > use c99 style named-struct-field initializers for there drm_panel_funcs. > > I admit that no drivers should be using the old style struct init, but > are we sure that that is the case? There is no in-tree driver that uses old style struct init for drm_panel_funcs - so we are safe here. I just did a quick git grep -A 4 drm_panel_funcs to verify it, browsing through the output did not reveal any old style users. Sam