Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5300915rdb; Sat, 16 Sep 2023 10:37:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLUFv1BN6nCgWz8flzbSdkYIb5WC5kk0dZVsc9Va0M7fFsLlpJz4ZGkZINYy8N0CbuN/Ph X-Received: by 2002:a05:6a20:440d:b0:15a:3285:e834 with SMTP id ce13-20020a056a20440d00b0015a3285e834mr6408917pzb.4.1694885839873; Sat, 16 Sep 2023 10:37:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694885839; cv=none; d=google.com; s=arc-20160816; b=lkZhORif7oJB59rs9CscB5InxBPhJJobHno7BWT9XL71rmp+1BXiZ2QRK9sghxMYaK 52Reh3Md/0uZqOVuwKRwubD/oxyGMoMGMdRnQ+zZgLfvf7Uz+/Nqs1/m/7kGU7390Dcn JRlm8xJdTwFsYUTgq68LAwhiz99SyMW3aIi8IgpZqF+Nerky7jFjD6y8sjeyeQrc7eDG 6WjE+hHKC5mTg5U/nb2By0LzJLPpz43zGrUHFypfu5cU2BfK8ZwxC4BpMbq5chR3a+av w/WT1sM8s0ASM2Rrmb8GHE6tKjGUh+AEusmLhIeN7SbBjjG9Kaan47GkklHVD+r3tlx/ 7yLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=csdRelKfaDXqcZhgkZqpANLqD87tkq2pL9dztAw3FcY=; fh=9ryIVpgiLHMZHlxXS53gKajrm9abI7lBzX2AzlvDxbg=; b=xDW1QPsxvud6eofJUWFVGIrtnvbWJJ90Rg0fngVSIBWCPn8nAtsDpk5ql5Pa7mpdW7 lPc0sV6RtyLz/qmT3AZ3zlTTiiyf10nJIK2Ind7LUhwKm7kegBNkRUfEcnVgSw8cC/ZX /vU32R1NJ9Z3oq70dBsbTP1wK7YRiEo9HciKsGo4b3U5dVyLUan84CHCjZnKrQ1LPidQ XDvWzW6a+ghn9GsJuininJ3CP9uYw1Y09D78WwKWkHbeFpwk6z9uVaxbLrDJvfXWvBBG TMqxZfX8Kg2SzKTAE3LF4n9FY3a2aEQHzy7kXhBQtfO3kUiF74VppREVT8NlB+rsJqI0 cZFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RE6ZEuM1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id az1-20020a056a02004100b00565eee2d0fesi5172085pgb.324.2023.09.16.10.37.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 10:37:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RE6ZEuM1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id EA70C82FABFD; Thu, 14 Sep 2023 13:23:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229501AbjINUXI (ORCPT + 99 others); Thu, 14 Sep 2023 16:23:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjINUXH (ORCPT ); Thu, 14 Sep 2023 16:23:07 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 078D226BC; Thu, 14 Sep 2023 13:23:02 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38EKEMgW026050; Thu, 14 Sep 2023 20:22:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=csdRelKfaDXqcZhgkZqpANLqD87tkq2pL9dztAw3FcY=; b=RE6ZEuM1hWblVrFzEPZj3BkBkT5iEcuslUxpHncaLELlXK+rL+5jQNTm+oK7XsqXwvag YqX+x+vKIhfH+ASp+eapYoBQuIinjuISP7Mx/j/Z5OBknnT5wn1t4IbuvKtS1J181qkO gLiWrJV1b65TdfXofURMsM375ZCT0vz5WgL8cZ1w6OQH4sxD/pRjeAXGQIftyTf03G3S scxnJIXxelYmIYjbx8OlmrC1pWA+KBpKqi1xSLGeh8lbGJNu5p8iY8fRFnS8D3OCTHnw NaaaKbaiMb/Qrg7g1pWlo09l+OnoEqJiKog03WDcOLDCncJd63NTztSo+bnOSMzGiMBN hg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t3re32t3s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 20:22:51 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38EKMoiA011937 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 20:22:50 GMT Received: from [10.71.110.254] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Thu, 14 Sep 2023 13:22:50 -0700 Message-ID: <00e791f2-ee77-018d-275f-29793d6eb136@quicinc.com> Date: Thu, 14 Sep 2023 13:22:37 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 5/8] drm/panel: nv3052c: Allow specifying registers per panel Content-Language: en-US To: John Watts CC: , Neil Armstrong , Conor Dooley , , Sam Ravnborg , Chris Morgan , , Jagan Teki , Rob Herring , Krzysztof Kozlowski , Shawn Guo References: <20230911090206.3121440-1-contact@jookia.org> <20230911090206.3121440-6-contact@jookia.org> From: Jessica Zhang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: KPDkt9EDQx8A0Kx3USw1mPiColUdJjZc X-Proofpoint-ORIG-GUID: KPDkt9EDQx8A0Kx3USw1mPiColUdJjZc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-14_12,2023-09-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 mlxlogscore=691 lowpriorityscore=0 spamscore=0 clxscore=1015 suspectscore=0 impostorscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309140177 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 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 13:23:06 -0700 (PDT) On 9/13/2023 9:09 PM, John Watts wrote: > On Wed, Sep 13, 2023 at 02:34:38PM -0700, Jessica Zhang wrote: >> Hi John, >> >> Having a separate panel_regs_len field seems a bit unnecessary to me. >> >> Looks like it's only being called in the panel prepare() and I don't seen >> any reason why we shouldn't just call the ARRAY_SIZE() macro there. > > Can you call ARRAY_SIZE on an an array pointer? Ah, I'd missed the array pointer declaration. This field is fine then. Thanks, Jessica Zhang > >> >> Thanks, >> >> Jessica Zhang > > John.