Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21651914rwd; Thu, 29 Jun 2023 20:23:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlHTSZjfHDEyWorGW7AXc7D3G9wEXAhSyhk7rlVw3ve9KbqiQ2z57HHmT9NXcbR0UjZ/ZgLq X-Received: by 2002:a05:6a00:1791:b0:681:d5c4:4973 with SMTP id s17-20020a056a00179100b00681d5c44973mr2207401pfg.22.1688095395070; Thu, 29 Jun 2023 20:23:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688095395; cv=none; d=google.com; s=arc-20160816; b=faK5ssIdNVywEq2CtRMXWFWVksOWMymjTIc2Nw39XrB0U73j1/0XjrBrpBayQN/yuf WHnX76O6Qn9Hk36ogoqWguL/lJ8W5izzctYAKmDp0o7WpXEok6NsnUFbaMoVgtglfsCJ cBtHt+SDDt5buuaDLcTPONn0XGhfYzY1tq8Y6ysHsaXHdGzSMB6WCixH3GCdUS5j9yDA /wZO6sXFZEGGB5MTjycjTt25CQWhLZQNEfjBd/EqIlxzDE5q45DkbNixW3a94qRZBbo6 MjlXaf+e1ftq/cAyDvGCOlHq7kNgVQmFJe0eSNsG5/3D11geWWfPlUUrmjoDj35Gj4I4 GPwA== 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=ppRpzLjCmaBGpK95I3wujTHujrzMpJsGutWS5vZ6WNU=; fh=3FX7EvRlPtvqUctnlehbCbZH3TcLcL0IkbRUPCyZVxc=; b=Lz7nFYtqGu+WKFz0IChUqztN8t0gVoozLyc6XONjVeEmXPvndydvltRFT6yr/GwY50 EvHlHLMMgolfyzmFXsHpxHGk2jwhEB9c2jHRRphRhozg4F83VsOMDwEbgsllbub9B6Z1 21pqDRRN33c9zAR+S/JyyWbHKRAujajmPNbzlel9uooH6oF5sYMBZSIHfq6Jv3Pt88VR BvE5wyqH3KB56LF+ON/tBRjB8S5Y2LSswMYIZJfX7lNSPaItvDfw+wE/x7JRkw2hCdyR j7Uuew2pSqILB+70VGZymmjxXrsAzVMTeyjHZqGWOUK2hYjoGseomjdTxWFbEWyXYI7m sHNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZUgbe7g1; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 37-20020a631665000000b00543d0bf8632si11665219pgw.866.2023.06.29.20.23.02; Thu, 29 Jun 2023 20:23:15 -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=@quicinc.com header.s=qcppdkim1 header.b=ZUgbe7g1; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230474AbjF3DTE (ORCPT + 99 others); Thu, 29 Jun 2023 23:19:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbjF3DS1 (ORCPT ); Thu, 29 Jun 2023 23:18:27 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8033735B7; Thu, 29 Jun 2023 20:18:08 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35U2gpw7022282; Fri, 30 Jun 2023 03:17:59 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=ppRpzLjCmaBGpK95I3wujTHujrzMpJsGutWS5vZ6WNU=; b=ZUgbe7g1yDc2kgNFhxw2hS9wZ7xqlTcLmg4Y9STVlFyh6yVZprJI67uyOAAapMyPGG7L MbqUY8HSJCw8yCiYtENguLlMkDpXez/mbdUmCYxzvtiODx5NKpopjP63Tq8zsXiZ/DDL JTISEemhgE4NYBQly0Jx+XwwMDN8M/nJzoTere2AAFspCSaLSz/iYycX2PNbJMpE6fet AiWdXAc+by/nCRxSQp/h/slo28vkxld1Q0XDsRY1pusIyyKQ8apD6l8udHqazW7BHhF5 dLQn39h+YLbb7LikqHDr9a/IKRZPkXtpzvAybiJiAlBuq1KhrQ/XQ/eKwpaZCG97da/2 UA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rhnt0r3ru-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Jun 2023 03:17:59 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35U3HwSK012559 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Jun 2023 03:17:58 GMT Received: from [10.110.33.67] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.7; Thu, 29 Jun 2023 20:17:56 -0700 Message-ID: <060b6125-f08c-f8a4-e28f-f3d12b971c79@quicinc.com> Date: Thu, 29 Jun 2023 20:17:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v3 1/3] drm/msm/dpu: re-introduce dpu core revision to the catalog Content-Language: en-US To: Dmitry Baryshkov , , Rob Clark , Sean Paul , Marijn Suijten , "David Airlie" , Daniel Vetter CC: , , , , References: <20230629193001.22618-1-quic_abhinavk@quicinc.com> From: Abhinav Kumar In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: rbIR2KXDjcBIKYOnAhq1U9b_KXmK91Jy X-Proofpoint-ORIG-GUID: rbIR2KXDjcBIKYOnAhq1U9b_KXmK91Jy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-29_10,2023-06-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 phishscore=0 suspectscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 clxscore=1015 impostorscore=0 mlxscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306300025 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 6/29/2023 5:24 PM, Dmitry Baryshkov wrote: > On 29/06/2023 22:29, Abhinav Kumar wrote: >> With [1] dpu core revision was dropped in favor of using the >> compatible string from the device tree to select the dpu catalog >> being used in the device. >> >> This approach works well however also necessitates adding catalog >> entries for small register level details as dpu capabilities and/or >> features bloating the catalog unnecessarily. Examples include but >> are not limited to data_compress, interrupt register set, widebus etc. > > Generic note: this description can be moved to the cover letter, it > covers the series intent. > I kept it here as I didnt really have a cover letter but I can add one and move this there. >> Introduce the dpu core revision back as an entry to the catalog so that >> we can just use dpu revision checks and enable those bits which >> should be enabled unconditionally and not controlled by a catalog >> and also simplify the changes to do something like: >> >> if (dpu_core_revision > xxxxx && dpu_core_revision < xxxxx) >>     enable the bit; >> >> Since dpu's major and minor versions are now separate fields, lets >> drop all the DPU_HW_VER macros. >> >> [1]: https://patchwork.freedesktop.org/patch/530891/?series=113910&rev=4 > > Please use `commit aabbcc ("do this and that")' in the commit messages. > Ack. >> >> changes in v3: >>     - drop DPU step version as features are not changing across steps >>     - add core_major_version / core_minor_version to avoid conflicts >>     - update the commit text to drop references to the dpu macros >> >> Signed-off-by: Abhinav Kumar >