Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2133646rdb; Mon, 9 Oct 2023 13:53:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0cxsUav7+HPm89KAWaXEevFY4OqdZC5JMeKraUis/HBdj6YFrwCQfEhgeB3k4oZMxsl0L X-Received: by 2002:a17:90a:e98c:b0:268:414c:ff3 with SMTP id v12-20020a17090ae98c00b00268414c0ff3mr14265313pjy.23.1696884826279; Mon, 09 Oct 2023 13:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696884826; cv=none; d=google.com; s=arc-20160816; b=boZqs+uHVRF/a2MnNbqCeXSYnzP2vZcxtIbxW3RNgoRJIQPVwZDF6IfADCmW/az1G0 HODfyd82BfVHL35dj9IYQ/dl4eT1bIMu0I2Uu35PEhfJm6ieTnosHQcDhuVQI4+/B6aQ iK63MIBmvyILR8SDHZcoKavYb/lwDhi523f1ydqsBANc8Ozak2uDT03DrJKl3pFFPSCE dqiipUw7v6nSQnIsIG92BI6b4uzmAhnlyqR6Ft7OvcUQS4KWpWCo4WLQekKVJnfGxd07 CubuQtrTso95U5B3p0A1OSPpPi56rwdgIE55eYH2zlrDq0EdFhx5wVH6IlopFvtFD5TE Ja0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=59tO/iIlQ73UqQX7Kk8ekqFEIp7s2Jv+HxK9i4t6u3Q=; fh=qPErRk33Z8WDeCceZ37jlTsqYf7VAzKLZJQGhZH2zj4=; b=GQ2PS7bIG6zqMeaBU48aZztrz4zRPOVpD507LmXOMmfQPYWeHKY2rKikMY0Llu8ct5 mflRba7JYJkCsrhr+/NBchCXj1/aQ8ojA4X/d0/s/0HNBHeID38MAHlbAPBsUQcve01C EKarqt+3x8FuCwCkgtDFyBms5gfWnaauhNGd8+LCn/CVdW+aV0J84ve/O3Z5F6CD7jqM gJ3UF+NHZzkwcx643iOsOAusDIB73fgZE+5G8MYweTeqg7jgrBF3TlDSkYGVprLbrKak oSkJQupm13Yy4R0qKsIx0jJEQnS8NB/1o2JGTPpiLt9g9JuOLoUDZctIdMxKu7GHaXGr 4PDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4PAbeZeQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id oj3-20020a17090b4d8300b002792c288cc3si11157372pjb.169.2023.10.09.13.53.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 13:53:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4PAbeZeQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 942158046CBD; Mon, 9 Oct 2023 13:53:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377979AbjJIUxc (ORCPT + 99 others); Mon, 9 Oct 2023 16:53:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377082AbjJIUxb (ORCPT ); Mon, 9 Oct 2023 16:53:31 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B6BA92 for ; Mon, 9 Oct 2023 13:53:28 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-405459d9a96so143425e9.0 for ; Mon, 09 Oct 2023 13:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1696884807; x=1697489607; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=59tO/iIlQ73UqQX7Kk8ekqFEIp7s2Jv+HxK9i4t6u3Q=; b=4PAbeZeQOmiEMgjmxfj2C2RZ90qgO4DgR1wDrauJS5k77bR0M9C1Ua7XcDtRTbisUB u8CJndvzycWIGDaMHOdfP/rUVshbnFBETF4Vv553OCQhqrkvPdzjQwZtng/WB7UA/Nbc MWyhOcXiYQoRWnHzfuVfri2hoiNzWDbB5ryCdqzsdn/loTXVa3jhcxazP9vO+LKkF1oN 4BTAvlRYRkEYTSTBA7oi5o9xaTeqKmqxMC2tkMrK8RH7HaBX8Tj/bM61DatMOye/jl2M tC3HE0+qNDApHDR5bQDVlzb8IfdV+cFvLeq/RjOQYRJ5RE1Z5wvO9yuCGnJ/OMPjDAyt PPwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696884807; x=1697489607; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=59tO/iIlQ73UqQX7Kk8ekqFEIp7s2Jv+HxK9i4t6u3Q=; b=cnQmCNSb8KiIjjcJr0IFxbxRvsUlnh4h7RJ/m106X9x/wVB5UySqnjOB6XS9sUhNZU gpmNsYFxO3AQy1g8Dm3w18QiQXhA1vBtMwVgiwhlVznjkh7X6q2AUpzudCwhQuXxFRku yhroEIOe8FsA/cHmWph9tQKryQN35n1F09UKGXaHKDq9y8nfoRIoagUaqJffoLncxdLV G/XYPzv5Z16N8rEqFTc7odF1oTRpD0kPBFR8nLZPmBq+q6Mka8LUU3Lm3xbcOeJ7LbJ1 HMj6ZXWYDVib4dQfUM3y8O97fVWQiXt/lJifaA+XAbdc8K5QBxY40xbPReq824R7Wbmz 1Ywg== X-Gm-Message-State: AOJu0YwCUWbhVOTcTJRuHNmh3ib+4sUJLGkPgSZdKxOKgf4TmO+SWhjc IlzuvwTqXpUvjYYhSOBjG1X2xvmvlf8Gu2fU3GiIJQ== X-Received: by 2002:a7b:c3d8:0:b0:400:c6de:6a20 with SMTP id t24-20020a7bc3d8000000b00400c6de6a20mr385036wmj.3.1696884806574; Mon, 09 Oct 2023 13:53:26 -0700 (PDT) MIME-Version: 1.0 References: <20231007060639.725350-1-yangcong5@huaqin.corp-partner.google.com> In-Reply-To: From: Doug Anderson Date: Mon, 9 Oct 2023 13:53:14 -0700 Message-ID: Subject: Re: [v1 0/2] Break out as separate driver from boe-tv101wum-nl6 panel driver To: Linus Walleij Cc: Cong Yang , sam@ravnborg.org, neil.armstrong@linaro.org, daniel@ffwll.ch, hsinyi@google.com, swboyd@chromium.org, airlied@gmail.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.8 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 09 Oct 2023 13:53:41 -0700 (PDT) Hi, On Sun, Oct 8, 2023 at 12:33=E2=80=AFPM Linus Walleij wrote: > > On Sat, Oct 7, 2023 at 8:06=E2=80=AFAM Cong Yang > wrote: > > > Linus series proposed to break out ili9882t as separate driver, > > but he didn't have time for that extensive rework of the driver. > > As discussed by Linus and Doug [1], keep macro using the "struct panel_= init_cmd" > > until we get some resolution about the binary size issue. > > OK works for me: > Reviewed-by: Linus Walleij > > Dough, if it looks OK to you too, can you apply the patches? Thanks for the review. I had a few small comments so I'd expect a v2. I suspect it would look a little weird to add your Reviewed-by to patch #1 since the way Cong has it you're the direct patch author. :-P Cong, I suspect you may want to change the tagging on patch #1. I'd suggest setting yourself as the patch author (git commit --amend --reset-author), then tag the first patch like this (I put "x-" first to make it obvious to any bots reading this that these are not tags to actually apply--remove that when you tag your patch): x-Co-developed-by: Linus Walleij x-Signed-off-by: Linus Walleij x-Reviewed-by: Linus Walleij x-Signed-off-by: Cong Yang Also: just as a heads up, Hsin-Yi measured the impact of removing the "command table" for init and replacing it with a whole pile of direct function calls. She found that it added over 100K to the driver (!!!). I believe it went from a 45K driver to a 152K driver. Something to keep in mind. ;-) -Doug