Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3982959iog; Tue, 21 Jun 2022 09:39:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sh3qIdsNygL5jWCpW0eLx4XUgjciawDqGgrk0elKmCfhq2NVQ1X2SqlHCR7I/muqQEszaI X-Received: by 2002:a17:902:ce8c:b0:16a:3492:2062 with SMTP id f12-20020a170902ce8c00b0016a34922062mr5731358plg.51.1655829573682; Tue, 21 Jun 2022 09:39:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655829573; cv=none; d=google.com; s=arc-20160816; b=KfutwlBMp7SM4OGUEgU8FaRSvwZKpokbF6Ste23i1k7eYXT3EYepfBz+8ZuyLBH2+F Yetz1dUGQUsQcuyUdR2JnAyoVIdk6zI/eTeHIE6cfGoOhTOVsmAyERoJb6T2QOe41h3L IfJc9mPKhG8iv5wV2tXmZQhjIAq2pWwoM9RBdQ1BcOLpS3u5XsWQUgrcp4ShHa+ZYxMy I5kPpnsij+rfhQuwg9xEF38kZpgqI4McYfrRfvsfJI8KfGvGSikIlP6agh7/JNjGVvaq i9iBHlg1hIISksMUUcvVw5bnrxQKOJDKzCnEFBf2nPQM0b1dQy25TBOEIJDwz8AW4Rb2 3wBQ== 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:dkim-signature; bh=TVa9EIh+i5Q6XRan1FynNxbsWTmgds0/W/AATBRzizk=; b=Na8varuBJWCj66ZuT9lG7K/mXydCdkBKjOU+dzotaRcDX4JZ2sHLEB5HIUsoRJNyjJ CTmOp20u7nP1O8BBiEXE32asK96SnDHhxdvknr/jlym0mr1+RJ04DsYHn5zhHwZRrnX8 5/fQmmcLU1h2mSuG4OhgzXuLUmCswWmQHoxnGYk0EBWjXNmiXoF0HTK2Mn5QqM0Uzdmr QCJwc4rZ8XeGkncylr4q1D3UgR/wueFctPWa1mRMjQaf7iLdh/H2LNAZ9i0Y0iSLwpey xcKstMl9TPzR2I5iLnnuYwbjcfy1wsSgxNIeRLvSQQTojv3WVU+QvmcPfmDfKBuIA++I uzHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hsfOBPue; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i35-20020a635423000000b003c64016568dsi19386513pgb.429.2022.06.21.09.39.20; Tue, 21 Jun 2022 09:39:33 -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=@chromium.org header.s=google header.b=hsfOBPue; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353246AbiFUQFd (ORCPT + 99 others); Tue, 21 Jun 2022 12:05:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352817AbiFUQF2 (ORCPT ); Tue, 21 Jun 2022 12:05:28 -0400 Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B52D211 for ; Tue, 21 Jun 2022 09:05:26 -0700 (PDT) Received: by mail-il1-x12a.google.com with SMTP id o4so2871331ilm.9 for ; Tue, 21 Jun 2022 09:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TVa9EIh+i5Q6XRan1FynNxbsWTmgds0/W/AATBRzizk=; b=hsfOBPueNuYUDJ4ySSjM5CFNwSHVz1OsdRwtih7AsUeN9l0hqX9tPC8OKcaaW+LFgz A80pod35uNbA0Zzg1htq2cfLvyFPl2Ku5Y/UfWuoAPgwaz5FO6m4F9UuSpmz43XASrmK GEAng3UvqAmTqgzGWPsKKcbpLlYI185+xCFNE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TVa9EIh+i5Q6XRan1FynNxbsWTmgds0/W/AATBRzizk=; b=FMrYiu5B4jToNCRZ60n0+7T5nmLTPp00sTeCGI/WFz4KUIrbMw/Lz9PVcIEirZc/PV fv15HZQ5JLJePPizg761uhtYY8L3wcvZCH3IQbPAxnj4Zn9io9AVsmDgFyJkSGMkzs9Q iSl29nPeQA29vPqg3l8Wd7jin56T9nivg2IpVODbgFtS0gbhZ4HMXsOAONqs0rsxJ2D1 obSpA+EnjBbawuNTnjTakIQuMRyRFoAnyZXIC4dA0yu0T4+oxuFaaN4Ebx1/G4hVkCrT BxFbrWD3FfAaQHSn1i9AbJbyHhZXJ6u1UzoHmyFFTJF7/Zghx6s1b7HjUjB7LrBbXIgN dpxA== X-Gm-Message-State: AJIora+RGmFruQoNHJdrdQofvWJ++aCclwzfL3Fd7L9pKcqSMaM/JO8V RLeZxwABdbCT9rsZdlQgp8rF/TWBO7jBSQ== X-Received: by 2002:a05:6e02:1c42:b0:2d1:aaac:ecc2 with SMTP id d2-20020a056e021c4200b002d1aaacecc2mr16125367ilg.128.1655827525808; Tue, 21 Jun 2022 09:05:25 -0700 (PDT) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com. [209.85.166.41]) by smtp.gmail.com with ESMTPSA id y12-20020a92d80c000000b002d9243911d5sm1538847ilm.78.2022.06.21.09.05.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jun 2022 09:05:25 -0700 (PDT) Received: by mail-io1-f41.google.com with SMTP id r5so14729789iod.5 for ; Tue, 21 Jun 2022 09:05:25 -0700 (PDT) X-Received: by 2002:a05:6e02:1e0b:b0:2d1:b5e8:38a0 with SMTP id g11-20020a056e021e0b00b002d1b5e838a0mr17149386ila.296.1655827099263; Tue, 21 Jun 2022 08:58:19 -0700 (PDT) MIME-Version: 1.0 References: <20220609072722.3488207-1-hsinyi@chromium.org> In-Reply-To: From: Doug Anderson Date: Tue, 21 Jun 2022 08:58:03 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 0/8] Add a panel API to set orientation properly To: Hsin-Yi Wang Cc: Hans de Goede , Sam Ravnborg , Stephen Boyd , Thierry Reding , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Philipp Zabel , David Airlie , Daniel Vetter , dri-devel , Rob Clark , Rob Herring , Linux ARM , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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, On Wed, Jun 15, 2022 at 6:36 AM Doug Anderson wrote: > > Hi, > > On Tue, Jun 14, 2022 at 10:50 PM Hsin-Yi Wang wrote: > > > > On Thu, Jun 9, 2022 at 3:27 PM Hsin-Yi Wang wrote: > > > > > > Panels usually call drm_connector_set_panel_orientation(), which is > > > later than drm/kms driver calling drm_dev_register(). This leads to a > > > WARN()[1]. > > > > > > The orientation property is known earlier. For example, some panels > > > parse the property through device tree during probe. > > > > > > The series add a panel API drm_connector_set_orientation_from_panel() > > > for drm/kms drivers. The drivers can call the API to set panel's > > > orientation before drm_dev_register(). > > > > > > Panel needs to implement .get_orientation callback to return the property. > > > > > > [1] https://patchwork.kernel.org/project/linux-mediatek/patch/20220530081910.3947168-2-hsinyi@chromium.org/ > > > > > > Hsin-Yi Wang (8): > > > drm/panel: Add an API to allow drm to set orientation from panel > > > drm/panel: boe-tv101wum-nl6: Implement .get_orientation callback > > > drm/panel: panel-edp: Implement .get_orientation callback > > > drm/panel: lvds: Implement .get_orientation callback > > > drm/panel: panel-simple: Implement .get_orientation callback > > > drm/panel: ili9881c: Implement .get_orientation callback > > > drm/panel: elida-kd35t133: Implement .get_orientation callback > > > drm: Config orientation property if panel provides it > > > > > hi Maintainers, > > > > All the patches are reviewed. If there's no other comments, will this > > series be picked? Thanks. > > Unless someone beat me to it or yells, my plan was to land them to > drm-misc-next next week. Since it touches core code I wanted to give a > little extra time. Also at the moment patch #8 is all Chromium (all > author and reviewers are chromium.org) at the moment so that's another > reason to make sure it has sufficient time on the lists. As promised, I've pushed to drm-misc-next. Note: I had to fix whitespace problems in almost every patch. Please run checkpatch on your patches. 15b9ca1641f0 drm: Config orientation property if panel provides it a64af136771a drm/panel: elida-kd35t133: Implement .get_orientation callback db9b4ffbfa82 drm/panel: ili9881c: Implement .get_orientation callback a960e35ac011 drm/panel: panel-simple: Implement .get_orientation callback c0398df2a195 drm/panel: lvds: Implement .get_orientation callback 47bef230225b drm/panel: panel-edp: Implement .get_orientation callback 3fa214eea43a drm/panel: boe-tv101wum-nl6: Implement .get_orientation callback 5e41b01a7808 drm/panel: Add an API to allow drm to set orientation from panel -Doug