Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29624215rwd; Wed, 5 Jul 2023 15:00:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4FD2URuh0hz56qs4HK6Ettm1vuy/mDQCQAxxjYRbEXobCudJIasdmJyZTtRzkbhtQtapFV X-Received: by 2002:a05:6808:210d:b0:3a0:41d4:b144 with SMTP id r13-20020a056808210d00b003a041d4b144mr17286376oiw.1.1688594458329; Wed, 05 Jul 2023 15:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688594458; cv=none; d=google.com; s=arc-20160816; b=QLGJo4VQHJoR+ksxKrNevof7QLkb/8VPMuwS6tuxXDW99PFiLzpIn2IyP+A3QS/OhN OKbitV3JuSH1pd0Ni331s1XYQT5pmhQAuF0GvMBktdwcIyiWOKY2XYscEVNnT6jK5ZGN 0tpEdchl8l377bVJfXtrG4MnO0eGsnrW9wFgDIfZsDneGbBKk7TeTHo4izaqc1KXwcLm TbMgNZmwCbSSojl/QASwf2JbPFEU3oye0crbYTZ1gKLK3UgqZs8I3gGruxMUY3QkuM++ WAOLBPQMXF/DQ8KX3I6oqroYfyKft7mE+JhEWWwVX8uAXlWhiyxqh208CryVQFQcK36I Id/g== 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=UE29626+fp7ISBXnEldsyeFHc3tUv6LaexgBH92ZUjk=; fh=N7MpUiJCyOb8l80VsCWVqK2KP/gKI68rdN/umZcGLrY=; b=FRyuD2kv3Cg6VkgrPJWylI0ip8t3Q0Jk6cO04zFcqZib+uO5GGTudmlFdU/djs37SR tTkyXg5tqZ8gKjcn/iqpBuhACK3hRx5pHbYUrSqEycwyg6az1/LLcBTspNcLjq0J4X1G qBUSBBRQvxui0ey3T5RFn4L2+Ki8+f0Ae2NtPR6b1yjsOmnxfgi6vhPLf3bvskYEKjwJ 6SGHR1i3hoBiKpbplbaMmpjlGkeQXzG7XYh85EJpBrS2UfoEnI7VThOUucvtecH+I1NR lgN0k6ci/K+U9m9tKuN5Ec2OcnhZRDaJASgBxmY93WLCVEOZQ1P5neMYxhYspYxG797w PG6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AkVoQmpO; 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 k7-20020a635a47000000b0055baf9fc385si73720pgm.302.2023.07.05.15.00.45; Wed, 05 Jul 2023 15:00:58 -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=AkVoQmpO; 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 S232185AbjGEVv1 (ORCPT + 99 others); Wed, 5 Jul 2023 17:51:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232133AbjGEVv0 (ORCPT ); Wed, 5 Jul 2023 17:51:26 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9D6819A2; Wed, 5 Jul 2023 14:51:20 -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 365LcXdL021329; Wed, 5 Jul 2023 21:51:15 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=UE29626+fp7ISBXnEldsyeFHc3tUv6LaexgBH92ZUjk=; b=AkVoQmpONp3uNjRnxQMzfAhs818rO8WQRhbnPZpclCPG9SL9wW3un+RvNlRcEabv53KY ybZYypoYTyv1hrkev7NsfXPd5UXmpvQgbuGuI5t2JdLCnTenL6ZW6lz/4cRdu4zG1uCp B7gal/B4oTst6pFZDGw6aaS2hGhoak7qbhYAaMA6Z48vpQieIUE38VGfvpBGlsz64fXV Xo/chfMSxmkOXwL/tAjB2ejAHBEIXKT8qjEx8Dd4DQyThIkdP8f90425DFGB83N6Kmd3 iV1l/3vWhKU5ESw5jAJMUcDIHjy9d64UlIq6j+VIdITsnvM2UD2Xww1Q6SfG0P6Ck7k7 Gw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rn5mfsncy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jul 2023 21:51:14 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 365LpDgw010971 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Jul 2023 21:51:13 GMT Received: from [10.110.19.132] (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.30; Wed, 5 Jul 2023 14:51:13 -0700 Message-ID: <233a70fe-f619-3840-cbd9-bb6857d7b5a8@quicinc.com> Date: Wed, 5 Jul 2023 14:51:12 -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 v2 4/5] drm/msm/dpu: Remove redundant prefix/suffix in name of sub-blocks Content-Language: en-US To: Ryan McCann , Rob Clark , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter CC: Rob Clark , , , , , References: <20230622-devcoredump_patch-v2-0-9e90a87d393f@quicinc.com> <20230622-devcoredump_patch-v2-4-9e90a87d393f@quicinc.com> From: Abhinav Kumar In-Reply-To: <20230622-devcoredump_patch-v2-4-9e90a87d393f@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: 1PDDC_4xK1yaPSH54MAo9vjhJbE9TkWq X-Proofpoint-ORIG-GUID: 1PDDC_4xK1yaPSH54MAo9vjhJbE9TkWq 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-07-05_11,2023-07-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 malwarescore=0 spamscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 bulkscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307050198 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 7/5/2023 12:30 PM, Ryan McCann wrote: > For a device core dump, the registers of sub-blocks are printed under a > title formatted as . For example, the csc sub-block > for an SSPP main block "sspp_0" would be printed "sspp_0_sspp_csc0". The > title is clearly redundant due to the duplicate "sspp" and "0" that exist > in both the mainBlkName and sblkName. To eliminate this redundancy, remove > the secondary "sspp" and "0" that exist in the sub-block name by > elimanting the "sspp_" prefix and the concatenation of "num" that results > in the redundant "0" suffix. Remove num parameter altogether from relevant > macros as a consequence of it no longer being used. > > Signed-off-by: Ryan McCann > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 50 +++++++++++++------------- > 1 file changed, 25 insertions(+), 25 deletions(-) > Reviewed-by: Abhinav Kumar